Special property "Creation date"

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

The Creation 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 first revision of each page. This special property is available since Semantic MediaWiki 1.7.0 and it is possible to control if this special property is used or not. It is disabled by default. See the help page on the configuration setting $smwgPageSpecialProperties for details on configuring SMW for special page related properties including "Creation date".

This property can be used to refer to page creation 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 setting 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 "Creation date" to see which pages use this special property on this wiki.


References

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