Extension:GetPageInfo

From MediaWiki.org
Jump to navigation Jump to search
MediaWiki extensions manual
Crystal Clear action run.svg
GetPageInfo
Release status: beta
Implementation Parser function
Description Extension for allowing getting some common MediaWiki page data in a convenient way
Author(s) User:Toniher
Latest version 0.1 (2014-09-10)
MediaWiki 1.19+
Composer mediawiki/get-page-info
License GPLv3+
Download GitHub
Hooks used
ParserFirstCallInit
Translate the GetPageInfo extension if it is available at translatewiki.net
Check usage and version matrix.

This extensions allows to print out some data and information related to wiki pages. It's conveniently used in Semantic MediaWiki ask templates, for instance.

Examples[edit]

  • {{#getTitle:FULLTITLE|link|revid|text to show in link}} -> returns link to FULLTITLE page
  • {{#getNS:FULLTITLE}} -> Return NS of FULLTITLE page
  • {{#getSummary:revID}} -> Returns summary associated to a revision