Extension:BlueSpicePageVersion

From mediawiki.org
MediaWiki extensions manual
BlueSpicePageVersion
Release status: unmaintained
Implementation Variable
Description Adds new WikiText variables that contain information about the revision history of the current page
Author(s) Hallo Welt! GmbH (Osnardtalk)
Latest version 2.27.1-alpha
MediaWiki 1.27+
Database changes No
Composer mediawiki/blue-spice-page-version
License GNU General Public License 2.0 or later
Download
README
Quarterly downloads 0
Translate the BlueSpicePageVersion extension if it is available at translatewiki.net

The BlueSpicePageVersion extension adds some functionality regarding the revision history of a page:

  • New variable {{PAGEVERSION}}: Shows a formated version number of the current page. e.g. "2.6" when there are two major revisions and after the last major revision six minor revisions
  • New variable {{PAGEREVISIONS}}: Shows the number of revisions of the current page
  • New variable {{PAGEMAJORREVISIONS}}: Shows the number of major revisions of the current page
  • Prepends each revision entry on action=history with a version number

Installation[edit]

  • Download and move the extracted BlueSpicePageVersion folder to your extensions/ directory.
    Developers and code contributors should install the extension from Git instead, using:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/BlueSpicePageVersion
  • Add the following code at the bottom of your LocalSettings.php file:
    wfLoadExtension( 'BlueSpicePageVersion' );
    
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.