Extension:BlueSpicePageVersion

From Linux Web Expert

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 Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin').
Public wikis using Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin').
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

  • <translate> [[<tvar name=2>Special:ExtensionDistributor/BlueSpicePageVersion</tvar>|Download]] and move the extracted <tvar name=name>BlueSpicePageVersion</tvar> folder to your <tvar name=ext>extensions/</tvar> directory.</translate>
    <translate> Developers and code contributors should install the extension [[<tvar name=git>Special:MyLanguage/Download from Git</tvar>|from Git]] instead, using:</translate>cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/BlueSpicePageVersion
  • <translate> Add the following code at the bottom of your <tvar name=1>LocalSettings.php </tvar> file:</translate>
    wfLoadExtension( 'BlueSpicePageVersion' );
    
  • File:OOjs UI icon check-constructive.svg <translate> Done</translate> – <translate> Navigate to <tvar name=special>Special:Version</tvar> on your wiki to verify that the extension is successfully installed.</translate>