Extension:HierarchyBuilder/en

From Linux Web Expert

MediaWiki extensions manual
HierarchyBuilder
Release status: unmaintained
Implementation Tag , Parser extension
Description Manages a hierarchy of pages with hierarchy links stored external to the pages themselves. Provides form renderers the ability to build a hierarchy of pages in a given category as well as to allow selection of individual pages from a hierarchy.
Author(s)
Latest version 5.0 (2016-12-06)
Compatibility policy Master maintains backward compatibility.
MediaWiki 1.25+
PHP 5.3+
Database changes No
License No license specified
Download
hierarchy
Quarterly downloads Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin').
Public wikis using Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin').
Translate the HierarchyBuilder extension if it is available at translatewiki.net
Issues Open tasks · Report a bug

The HierarchyBuilder extension introduces a tag, <hierarchy>, two Semantic Form input types, hierarchySelect and hierarchy, and three parser functions #hierarchyChildren, #hierarchyParent, #hierarchySectionNumber.

Installation

This extension requires Semantic MediaWiki to be installed first.
  • <translate> [[<tvar name=2>Special:ExtensionDistributor/HierarchyBuilder</tvar>|Download]] and move the extracted <tvar name=name>HierarchyBuilder</tvar> folder to your <tvar name=ext>extensions/</tvar> directory.</translate>
    <translate> Developers and code contributors should install the extension [[<tvar name=git>Special:MyLanguage/Download from Git</tvar>|from Git]] instead, using:</translate>cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/HierarchyBuilder
  • <translate> Add the following code at the bottom of your <tvar name=1>LocalSettings.php </tvar> file:</translate>
    wfLoadExtension( 'HierarchyBuilder' );
    
  • File:OOjs UI icon check-constructive.svg <translate> Done</translate> – <translate> Navigate to <tvar name=special>Special:Version</tvar> on your wiki to verify that the extension is successfully installed.</translate>

Usage

Usage documentation and live examples are provided at our extensions documentation site.

Version history

Version 5.0
  • Switched from Semantic Forms to Page Forms
  • Requires MediaWiki 1.25+
Version 4.0.1
  • Updated forms to support MW 1.26 and fixed static invocation warnings.
Version 4.0.0
  • Removed SelectFromHierarchy legacy mode support.
Version 3.2.2
  • Removed inline JS.
Version 3.2.1
  • Increased editHierarchy page limit to 2000.
Version 3.2.0
  • Added ability to specify pages by property value for HierarchyFormInput.
Version 3.1.0
  • Added titleicon support to hierarchySelect.
Version 3.0.1
  • Corrected collapsed flag and ampersand defects.
Version 3.0.0
  • Restructured code to comply with new code standards. Various minor code quality improvements.
Version 2.0.0
  • Reimplemented display names without displaynameproperty argument.
Version 1.10.0
  • Added TitleIcon support in editHierarchy.
Version 1.9.4
  • Resolved displaynameproperty and collapsed defects in hierarchySelected parser function.
Version 1.9.3
  • Improved robustness of property retrieval.
Version 1.9.2
  • Fixed titleicon size and resolution issues.
Version 1.9.1
  • Reimplemented titleicon support to be more efficient.

Acknowledgements

This extension is implemented using jsTree and nestedSortable libraries.