Extension:Semantic TreeView
From MediaWiki.org
![]() |
The author of this extension is no longer maintaining it! Meaning any reports for additional features and/or bugfixes will more than likely be ignored. Volunteers are encouraged to take on the task of developing and maintaining it. 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. |
Semantic TreeView Release status: unmaintained |
|
---|---|
Implementation | Parser function |
Description | Create trees to browse the contents of the wiki, either by hand, or in combination with Semantic MediaWiki. |
Author(s) | Stephan Robotta (Sterotalk) |
Latest version | 2.1.0 (2012-04-25) |
MediaWiki | 1.17.x |
PHP | 5.2.10 |
License | GPL |
Download | direct download |
Translate the Semantic TreeView extension if possible |
|
Check usage and version matrix; code metrics |
The Semantic Treeview extension adds a graphical navigation tree to the wiki. Editors create trees using the new #tree and #generateTree parser functions.
Usage[edit | edit source]
To create a tree, add something similar to this:
{{#tree:root=My list of cities| * London ** Heathrow ** City of Westminster ** Kensington and Chelsea }}
If you have Semantic MediaWiki installed, you can create dynamic trees based on the contents of your wiki using the #generateTree parser function with something like this:
{{#tree:root=My Ontology| {{#generateTree:property=is a}} }}
This will create a navigable tree of the 'is a' relationships between the pages in your wiki.
Installation[edit | edit source]
- Download and extract the files in a directory called
Treeview
in yourextensions/
folder. If you're a developer and this extension is in a Git repository, then instead you should clone the repository. - Add the following code at the bottom of your LocalSettings.php:
require_once( "$IP/extensions/Treeview/Treeview.php" );
- Done! Navigate to "Special:Version" on your wiki to verify that the extension is successfully installed.