Special properties (optional)

From semantic-mediawiki.org

This help page lists the optional special properties. Optional special properties are provided by Semantic MediaWiki but may be disabled or enabled via a configuration parameter. The respective configuration parameters are noted on the corresponding special property's documentation page.

The following table gives an overview of all 21 optional special properties provided by Semantic MediaWiki:

Name Description Help Added Key
Modification date Holds a fixed value that corresponds to the date of the last modification of each page help page 1.4.0
Creation date Holds a fixed value that corresponds to the date of the first revision of each page help page 1.7.0
Is a new page Holds a value marking a page as being new or not help page 1.7.1
Last editor is Holds the page name of the user who created the last page revision help page 1.7.1
Has query Links a page to the subobject created by a query recording its profile help page 1.8.0
Query depth Holds the value of the property depth of a query help page 1.8.0
Query format Holds the name of the result format used in a query help page 1.8.0
Query size Holds the value of the number of conditions in a query help page 1.8.0
Query string Holds the conditions of the query as a string help page 1.8.0
Query duration Holds the value of the duration a query took to execute help page 1.9.0
MIME type Holds the MIME type of an uploaded file help page 1.9.1
Media type Holds the Media type of an uploaded file help page 1.9.1
Allows pattern Pattern to match a permissible value help page 2.4.0
Display title of Holds a specific denote title for an entity help page 2.4.0
Has uniqueness constraint Allows to restrict value annotation to be unique help page 2.4.0
Language code Handles BCP47 conform language codes specifying the language of the annotated text help page 2.4.0
Query parameters Holds the parameters a query used to select its output help page 2.5.0
Query source Holds the identifier of an alternative (e.g. remote) query source help page 2.5.0
Is property group Marks a category for holding properties belonging to a property group help page 3.0.0
Query state Holds the status code a query uses to define its internal state help page 3.0.0
Attachment link Holds the links to files embedded on a page help page 3.1.0

Conversely all special properties not listed here are mandatory.

Remember to run maintenance script "setupStore.php"Allows to set up the data backend/store followed by maintenance script "rebuildData.php"Allows to rebuild all the semantic data for a selected data backend/store when disabling or enabling a special property. Further information is available on the respective configuration parameter's documentation page.

See also[edit]

Octocat.png"TypesRegistry.php" – The general characteristics of a special property are defined here.