Jump to content

Extension:NamespaceData

From mediawiki.org
MediaWiki extensions manual
NamespaceData
Release status: stable
Implementation User interface
Description Add a data tab for main pages and user pages besides Subject and Talk
Author(s) Karima Rafes (Karima Rafestalk)
Latest version 2.0.1 (2021-10-04)
MediaWiki 1.33.1+ (1.39 ok)
PHP 7.3+
License GNU General Public License 2.0 or later
Download

The NamespaceData extension provides a way to define a data tab for main pages and user pages besides Subject and Talk tabs. Only users in the new Data user group can see this tab and can change the pages in the Data and UserData namespaces.

This extension is a fork of the NamespaceRelations extension. This extension is maintained at the same time as the LinkedWiki extension.

Use case

[edit]

LinkedWiki extension allows the tag rdf to write with RDF/Turtle directly in a page (their ontology or their SHACL rules, for example) but people prefer to separate natural language from RDF/Turtle in their wiki.

Installation

[edit]

In your LocalSettings.php , the following line inserts a new tab Data on all main pages and user pages. you can give the right to users to see or not this tab by inserting a user in the Data user group.

wfLoadExtension( 'NamespaceData' );

See also

[edit]