Index: trunk/phase3/includes/SpecialVersion.php |
— | — | @@ -1,6 +1,6 @@ |
2 | 2 | <?php |
3 | 3 | /**#@+ |
4 | | - * Give information about the version of MediaWiki, PHP, server software, the DB and extensions |
| 4 | + * Give information about the version of MediaWiki, PHP, the DB and extensions |
5 | 5 | * |
6 | 6 | * @package MediaWiki |
7 | 7 | * @subpackage SpecialPage |
— | — | @@ -29,7 +29,7 @@ |
30 | 30 | * Constructor |
31 | 31 | */ |
32 | 32 | function SpecialVersion() { |
33 | | - # Force to English language |
| 33 | + // English motherfucker, do you speak it? |
34 | 34 | $this->langObj = setupLangObj( 'LanguageEn' ); |
35 | 35 | $this->langObj->initEncoding(); |
36 | 36 | } |
— | — | @@ -84,24 +84,12 @@ |
85 | 85 | |
86 | 86 | * [http://www.mediawiki.org/ MediaWiki]: $wgVersion |
87 | 87 | * [http://www.php.net/ PHP]: " . phpversion() . " (" . php_sapi_name() . ") |
88 | | - " . $this->getServerSoftware() . " |
89 | 88 | * " . $dbr->getSoftwareLink() . ": " . $dbr->getServerVersion() . " |
90 | 89 | </div>"; |
91 | 90 | |
92 | 91 | return str_replace( "\t\t", '', $ret ); |
93 | 92 | } |
94 | 93 | |
95 | | - function getServerSoftware() { |
96 | | - # Return tweaked version of $_SERVER['SERVER_SOFTWARE'] |
97 | | - if( isset( $_SERVER['SERVER_SOFTWARE'] ) ) { |
98 | | - $osver = explode( ' ', $_SERVER['SERVER_SOFTWARE'] ); |
99 | | - $ssoft = "* " . ( count( $osver ) > 1 ? $osver[0] . ' ' . $osver[1] : $osver[0] ); |
100 | | - } else { |
101 | | - $ssoft = ""; |
102 | | - } |
103 | | - return( $ssoft ); |
104 | | - } |
105 | | - |
106 | 94 | function extensionCredits() { |
107 | 95 | global $wgExtensionCredits, $wgExtensionFunctions, $wgSkinExtensionFunction; |
108 | 96 | |