Extension:Semantic Extra Special Properties

The Semantic Extra Special Properties extension, when used with Semantic MediaWiki, adds some extra special properties to all content pages in the wiki. Having Semantic MediaWiki installed is a precondition for the SemanticExtraSpecialProperties extension; the code will not work without it. It was tested and is working with MW 1.18 and SMW 1.7.

Usage
This is a list of extra special properties that can be enabled. If enabled, they will be applied to all pages
 * EUSER: Contributing users
 * CUSER: User that first created a page
 * REVID: Current revision ID
 * VIEWS: Number of page views. Note that depending on local settings this value might not be very up to date. In case $wgDisableCounters is set to true this property will not be set
 * NREV: Estimated number of total revisions
 * TNREV: Estimated number of total revisions for the talk page, i.e. showing how much discussion is going on around this page
 * SUBP: subpages
 * MEDIATYPE:
 * MIMETYPE: Mimetype and mediatype for files
 * SHORTURL: Short url from the ShortUrl extension, if present
 * METADATA: Adding some porperties based om image metadata (exif data), when available

Installation

 * 1) Download the files from GitHub as tar.gz or zip
 * 2) Create a directory   in your   directory.
 * 3) Extract the files to this   directory.
 * 4) Add   to the bottom of LocalSettings.php. By default, they are all turned off.
 * 5) Enable whatever properties you want to use in you wiki (see below)
 * 6) Installation can now be verified through Special:Version of your wiki.
 * 7) Run the database upgrade script on Special:SMWAdmin to apply new properties, without having to  wait for all pages to be edited by someone.

Configuration
Use  in LocalSettings.php to enable properties offered, like this:

...or to enable them all in one line:

Add  to LocalSettings.php to ignore all users with bot flag when creating the article author properties. This does not affect the article creator property.

Change log
See README.TXT