Extension:ControlSpecialVersion

Category:Unmaintained extensions#ControlSpecialVersion Category:Extensions without an imageCategory:Extensions without a compatibility policyCategory:MIT licensed extensions
MediaWiki extensions manual
ControlSpecialVersion
Release status: unmaintainedCategory:Unmaintained extensions
Implementation Special page Category:Special page extensions
Description Allow adjustment of what information Special:Version shows
Author(s) Greg Sabino Mullane (turnsteptalk)
Latest version 1.6 (2017-11-08)
MediaWiki Category:Extensions without MediaWiki version
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
Category:All extensionsCategory:Extensions not in ExtensionJson

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.

Installation

Configuration parameters

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

PHP Version Hiding

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.

Category:APIQuerySiteInfoGeneralInfo extensions Category:All extensions Category:ExtensionTypes extensions Category:Extensions not in ExtensionJson Category:Extensions not using extension registration Category:Extensions without MediaWiki version Category:Extensions without a compatibility policy Category:Extensions without an image Category:MIT licensed extensions Category:SoftwareInfo extensions Category:Special page extensions Category:Unmaintained extensions