Special properties (optional)

From Linux Web Expert

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 MDAT
Creation date Holds a fixed value that corresponds to the date of the first revision of each page help page 1.7.0 CDAT
Is a new page Holds a value marking a page as being new or not help page 1.7.1 NEWP
Last editor is Holds the page name of the user who created the last page revision help page 1.7.1 LEDT
Has query Links a page to the subobject created by a query recording its profile help page 1.8.0 ASK
Query depth Holds the value of the property depth of a query help page 1.8.0 ASKDE
Query format Holds the name of the result format used in a query help page 1.8.0 ASKFO
Query size Holds the value of the number of conditions in a query help page 1.8.0 ASKSI
Query string Holds the conditions of the query as a string help page 1.8.0 ASKST
Query duration Holds the value of the duration a query took to execute help page 1.9.0 ASKDU
MIME type Holds the MIME type of an uploaded file help page 1.9.1 MIME
Media type Holds the Media type of an uploaded file help page 1.9.1 MEDIA
Allows pattern Pattern to match a permissible value help page 2.4.0 PVAP
Display title of Holds a specific denote title for an entity help page 2.4.0 DTITLE
Has uniqueness constraint Allows to restrict value annotation to be unique help page 2.4.0 PVUC
Language code Handles BCP47 conform language codes specifying the language of the annotated text help page 2.4.0 LCODE
Query parameters Holds the parameters a query used to select its output help page 2.5.0 ASKPA
Query source Holds the identifier of an alternative (e.g. remote) query source help page 2.5.0 ASKSC
Is property group Marks a category for holding properties belonging to a property group help page 3.0.0 PPGR
Query state Holds the status code a query uses to define its internal state help page 3.0.0 ASKCO
Attachment link Holds the links to files embedded on a page help page 3.1.0 ATTCH LINK

Conversely all special properties not listed here are mandatory.

Remember to run maintenance script "setupStore.php"No description was provided. followed by maintenance script "rebuildData.php"No description was provided. when disabling or enabling a special property. Further information is available on the respective configuration parameter's documentation page.

See also

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