Extension:ControlSpecialVersion

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.

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_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.