TobiasWeller / SemanticHierarchy

Extension for Semantic MediaWiki, which allows for manipulating Categories and Properties

Home Page:https://www.mediawiki.org/wiki/Extension:Semantic_Hierarchy

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Semantic Hierarchy

Semantic Hierarchy

The repository contains the Semantic Hierarchy extension for Semantic MediaWiki. The extension provides a plugin for capturing Text Annotations of wiki articles.

Table of content

Prerequisites

Installation

  • Download and extract the repository
  • Place the extracted folder in your extension folder of MediaWiki
  • Add the following code at the bottom of your LocalSettings.php:
    wfLoadExtension( 'SemanticHierarchy' );
  • To users running MediaWiki 1.24 or earlier: Add the folloding at the bottom of your LocalSettings.php:
    require_once "$IP/extensions/SemanticHierarchy/SemanticHierarchy.php";

Semantic Hierarchy Setup

  • Go to Special Pages and Click on Semantic Hierarchy under the Group Semantic MediaWiki
    • Remark: Only Users with sysops rights are allowed to access the page.

Usage

Create Categories and Properties

  • Mark and right click on the corresponding Category/Property, for which you would like to create a subcategory/subproperty. A Context Menu appears.
  • Click on Add.
  • A Form appears, which allows for adding a new Node Name.
  • Click on Submit
  • The new node appears in the tree and a corresponding wiki page is create
    Context Menu

    Form

Edit Categories and Properties

  • Drag & Drop the Category/Property to the desired position in order to change the Hierarchy of Properties/Categories.
  • Drag & Drop of a Category to the Property tree and vice versa is not possible.

Delete Categories and Properties

  • Mark and right click on the corresponding Category/Property, which you would like to delete. A Context Menu appears.
  • Click on Delete.
  • The corresponding Wiki Page will be deleted and the node dissapears in the tree.

License

The Semantic Hierarchy is currently under the MIT License.

Acknowledgements

For the Semantic Hierarchy is the JS Library zTree used.

Links

About

Extension for Semantic MediaWiki, which allows for manipulating Categories and Properties

https://www.mediawiki.org/wiki/Extension:Semantic_Hierarchy

License:MIT License


Languages

Language:CSS 54.5%Language:JavaScript 38.7%Language:PHP 6.8%