Semantic MediaWiki and related extensions
Configuration

Properties that are planned to be included need to be specified in the "LocalSettings.php" file using the $sespgEnabledPropertyList array. By default the array is empty, i.e. no special property is being annotated to a page.

$sespgEnabledPropertyList = [
'_EUSER',
'_CUSER',
...
];

Property definitions

Property identifiers (see "definitions.json" file) are used to specify which of the properties are enabled. An identifier is an internal ID which is not to be used during user interaction (e.g. handling in #ask queries) instead the property label should be used as reference.

Labels

Property labels differ according to the language the wiki was set up. An easy way to identify those used labels is to navigate to the "Special:Properies" page that lists all available properties including properties provided by this extension.

Identifiers

Identifiers with further dependencies

Additional configuration

Fixed tables

Setting $sespgUseFixedTables to "true" enables to setup properties as fixed properties in order to improve data access. Doing so is recommended. Note that you have to run the "update.php" maintenance script from your wiki's base directory after setting this parameter for the required tables to be created.

Running the data refresh afterwards is recommended as well and should be done every time a special property is added to the $sespgEnabledPropertyList array.

Bot edits

Setting $sespgExcludeBotEdits to "true" causes bot edits via user accounts in usergroup "bot" to be ignored when storing data for the special properties activated. However this does not affect the page creator property (_CUSER).

Property definitions

Details about available properties can be found in the "definitions.json" file. The file also contains information about the visibility (display in the Factbox etc.) of a property, to alter the characterisctics of non-subobject related properties one can set show to true for each definition.

Cache usage

Setting $sespgLabelCacheVersion to "false" will cease to use the special property label cache at all. Otherwise this is used as an internal modifier to allow resetting the cache with an arbitrary version.

Privacy

Please note that users that are otherwise hidden to some usergroup might be revealed by this extension, as the _EUSER property will list all authors for everyone.

The Exchangeable image file format (and thereof its Exif tags) can contain metadata about a location which can pose a privacy issue.

← README | 01-extension.md "Extension" | migration-to-200.md "Migration to 2.0.0" →


About | General disclaimer | Privacy policy