This page is a translated version of the page Extension:HierarchyBuilder and the translation is 50% complete.
MediaWiki 拡張機能マニュアル
リリースの状態: 保守されていない
実装 タグ , パーサー拡張機能
説明 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.
最新バージョン 5.0 (2016-12-06)
互換性の方針 master は後方互換性を維持しています。
MediaWiki 1.25+
PHP 5.3+
データベースの変更 いいえ
ライセンス MIT ライセンス
Quarterly downloads 9 (Ranked 145th)
translatewiki.net で翻訳を利用できる場合は、HierarchyBuilder 拡張機能の翻訳にご協力ください
問題点 未解決のタスク · バグを報告

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


This extension requires Semantic MediaWiki to be installed first.
  • ダウンロードして、ファイルをextensions/フォルダー内のHierarchyBuilderという名前のディレクトリ内に配置します。
    Developers and code contributors should install the extension from Git instead, using:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/HierarchyBuilder
  • 以下のコードを LocalSettings.php ファイルの末尾に追加します:
    wfLoadExtension( 'HierarchyBuilder' );
  •   完了 – ウィキの「Special:Version」に移動して、拡張機能が正しくインストールされたことを確認します。


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


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.


This extension is implemented using jsTree and nestedSortable libraries.