Jump to content
MediaWiki

Extension:HierarchyBuilder

From mediawiki.org
Languages:

This extension is currently not actively maintained! Although it may still work, any bug reports or feature requests will more than likely be ignored.

If you are interested in taking on the task of developing and maintaining this extension, you can request repository ownership. As a courtesy, you may want to contact the author. You should also remove this template and list yourself as maintaining the extension in the page's {{Extension }} infobox.

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 MIT License
Download
hierarchy
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

[edit ]
This extension requires Semantic MediaWiki to be installed first.
  • Download and move the extracted HierarchyBuilder folder to your extensions/ directory.
    Developers and code contributors should install the extension from Git instead, using:
    cdextensions/
    gitclonehttps://gerrit.wikimedia.org/r/mediawiki/extensions/HierarchyBuilder
    
  • Add the following code at the bottom of your LocalSettings.php file:
    wfLoadExtension( 'HierarchyBuilder' );
    
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

Usage

[edit ]

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

Version history

[edit ]
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

[edit ]

This extension is implemented using jsTree and nestedSortable libraries.

AltStyle によって変換されたページ (->オリジナル) /