From mediawiki.org
MediaWiki extensions manual
Release status: unmaintained
Implementation Special page
Description Allow adjustment of what information Special:Version shows
Author(s) Greg Sabino Mullane (turnsteptalk)
Latest version 1.6 (2017-11-08)
Database changes No
License MIT License
Download http://bucardo.org/downloads/ControlSpecialVersion.mw.extension.tar.gz
  • $wgControlSpecialVersion_mediawiki_show
  • $wgControlSpecialVersion_mediawiki_show_rcs
  • $wgControlSpecialVersion_php_show
  • $wgControlSpecialVersion_postgres_rename
  • $wgControlSpecialVersion_postgres_norevision
  • $wgControlSpecialVersion_mysql_norevision
  • $wgControlSpecialVersion_extension_show_versions
  • $wgControlSpecialVersion_extensions_hidden

The ControlSpecialVersion extension allows control of some items on the Special:Version. For example, it can prevent showing what version of PHP you are using.


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

Configuration parameters[edit]

Whether to show the version of MediaWiki being used: defaults to true
Whether to show the revision and date information for the MediaWiki version
Whether to show the version of PHP being used: defaults to false
Rename PostgreSQL to Postgres. Defaults to true
Show the major version of Postgres, not the revision. Defaults to true
Show the major version of MySQL, not the revision. Defaults to true
Show the version number of all extensions. Defaults to true
Array of extensions that should be completely hidden. Defaults to none

PHP Version Hiding[edit]

Note that the PHP version may also be exposed in your HTTP header. To prevent the PHP version from showing via Apache, edit the Apache config file and set the "ServerTokens" to "ProductOnly". To prevent PHP from adding verison information when it is serving pages, edit the PHP config file (php.ini) and set "expose_php" to Off.