Special property "Modification date"

From semantic-mediawiki.org
Special property "Modification date"特殊属性“Modification date”
Modification date
Holds a fixed value that corresponds to the date of the last modification of each page
Further Information
Provided by: extension "Semantic MediaWiki "Allows to store and query data annotated to pages
Added: 1.4.0
Removed: still in use
Alias: has no alias
Optional: yes
Visible: no
Annotable: no
Declarative: no
Setting: not specified
Focus: page information
In this wiki: Property:Modification date
Table of Contents

The Modification date property is a special property in Semantic MediaWiki with a built-in meaning: it holds a fixed value that corresponds to the date of the last modification of each page. This special property is available since Semantic MediaWiki 1.4.0. As of Semantic MediaWiki 1.7.0 it is possible to control if this special property is used or not. It is enabled by default. See the help page on the configuration setting $smwgPageSpecialProperties for details on configuring SMW for special page related properties including "Modification date".

This property can be used to refer to page modification dates in inline queries, where it can be used like any other property of datatype "Date". This special property should never be set manually, since SMW will take care of updating its value. Starting with Semantic MediaWiki 2.2.0 it is no longer possible to manually add values for this special property.1

The time stored in this property is based on the internal time reckoning of the wiki server, and it may not agree with the time in the timezone of a certain user. Since this value is stored in the database, it is not adjusted based on the current user's timezone preferences. It is recommended to set the server's timezone to UTC to avoid problems that may arise from changes of the local time, e.g. relocation of the wiki to another server.

See the property page "Modification date" to see which pages use this special property on this wiki.


  1. ^  Semantic MediaWiki: GitHub pull request gh:smw:914