Extension:VikiSemanticTitle
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. |
![]() Release status: unmaintained |
|
---|---|
Implementation | API |
Description | Extension to VIKI to handle semantic page naming |
Author(s) | Jason Ji (jjitalk) |
Latest version | 1.4.0 (2017-08-16) |
Compatibility policy | Master maintains backward compatibility. |
MediaWiki | 1.23+ |
PHP | 5.3+ |
Database changes | No |
License | MIT License |
Download | |
Quarterly downloads | 1 (Ranked 175th) |
Translate the VikiSemanticTitle extension if it is available at translatewiki.net | |
Issues | Open tasks · Report a bug |
VikiSemanticTitle is an extension to the VIKI extension to handle pages which use semantic page naming. In semantic page naming, the name of a page is not a human-readable title, but rather something of a systematic format (e.g. "Item:1"), and the title of the page is set via a semantic property. Because VikiJS shows page titles for nodes, this extension ensures that the proper page display title is used rather than the systematic title.
See also the Semantic Title extension for more details on semantic page naming. See also MITRE's extensions documentation site.
As of version 1.2, VikiSemanticTitle does not require Semantic Title to be installed, and will work for any pages that make use of the DISPLAYTITLE magic word. See also the MediaWiki documentation regarding magic words.
InstallationEdit
Note: This extension requires Semantic MediaWiki as well as VIKI to be installed and invoked first.
Note: We encourage users of our extensions to download the latest version from the master branch on Gerrit, rather than the most recent MediaWiki release branch. All MITRE extensions on master are production-ready to the best of our knowledge and reflect the versions we run on our own servers internally.
Note: If you are using Semantic Title, note that VikiSemanticTitle 1.2 only works with Semantic Title 3.0 or later.
- Download and place the file(s) in a directory called
VikiSemanticTitle
in yourextensions/
folder. - Add the following code at the bottom of your
LocalSettings.php
:require_once "$IP/extensions/VikiSemanticTitle/VikiSemanticTitle.php";
- Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.