Extension:Semantic Extra Special Properties

From MediaWiki.org
Jump to: navigation, search
MediaWiki extensions manualManual:Extensions
Crystal Clear action run.png
Semantic Extra Special Properties

Release status:Extension status stable

ImplementationTemplate:Extension#type Data extraction
DescriptionTemplate:Extension#description Adds extra special properties to Semantic MediaWiki
Author(s)Template:Extension#username Leo Wallentin, James Hong Kong, Jeroen De Dauw
Latest versionTemplate:Extension#version 1.5.0 (2017-06-07)
MediaWikiTemplate:Extension#mediawiki 1.25+
PHPTemplate:Extension#php 5.3+
Database changesTemplate:Extension#needs-updatephp Yes
ComposerComposer mediawiki/semantic-extra-special-properties
LicenseTemplate:Extension#license GNU General Public License 2.0 or later
ExampleTemplate:Extension#example WikiAPIary.com
  • $sespSpecialProperties
  • $sespUseAsFixedTables
  • $wgSESPExcludeBots
Hooks usedTemplate:Extension#hook

Translate the Semantic Extra Special Properties extension if it is available at translatewiki.net

Check usage and version matrix.

The Semantic Extra Special Properties extension adds some extra special properties to all content pages in the wiki. See the README file for detailed instructions on how to install, configure and use this extension.

Having Semantic MediaWiki installed is a precondition for this extension to work.

Special properties[edit]

For an up-to-date overview, see the configuration file

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 who first created a page
  • _REVID: Current revision ID
  • _PAGEID: Page ID
  • _PAGELGTH: Page length
  • _MEDIATYPE or _MIMETYPE: Media or mime type data (namespace "file" only)
  • _NREV: Estimated number of total revisions
  • _NTREV: Estimated number of total revisions for the talk page
  • _SUBP: Subpages to a page
  • _USERREG: Date the user registered (namespace "user" only)
  • _USEREDITCNT: adds a property to user pages with the user's edit count
  • _EXIFDATA: Exif data (namespace "file" only)
  • _SHORTURL: Short URL from the ShortUrl extension, if present
  • _VIEWS: Number of page views from the HitCounters extension, if present (MediaWiki 1.25+)