Open main menu

Extension:BlueSpicePageVersion

MediaWiki extensions manual
OOjs UI icon advanced.svg
BlueSpicePageVersion
Release status: stable
Implementation Variable
Description Adds new WikiText variables that contain information about the revision history of the current page
Author(s) (Osnardtalk)
Latest version 2.27.1-alpha
MediaWiki 1.27+
Database changes No
License GNU General Public License 2.0 or later
Download
README
Hooks used
MagicWordwgVariableIDs
ParserGetVariableValueSwitch
PageHistoryLineEnding
Translate the BlueSpicePageVersion extension if it is available at translatewiki.net
Check usage and version matrix.

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

InstallationEdit

  • Download and place the file(s) in a directory called BlueSpicePageVersion in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php:
    wfLoadExtension( 'BlueSpicePageVersion' );
    
  •   Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.