From: Rob Church Date: Sun, 7 Jan 2007 01:58:40 +0000 (+0000) Subject: On second thoughts, remove it altogether...if asking the user is really so hard,... X-Git-Tag: 1.31.0-rc.0~54624 X-Git-Url: http://git.cyclocoop.org//%22%22.str_replace%28%27%22%27%2C?a=commitdiff_plain;h=74d1526b1dab6a5f49d3973b2f91e4017502385d;p=lhc%2Fweb%2Fwiklou.git On second thoughts, remove it altogether...if asking the user is really so hard, then look at the JavaScript globals at the top of the page. --- diff --git a/RELEASE-NOTES b/RELEASE-NOTES index d0ebb1d790..322c387fc1 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -470,8 +470,6 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN * (bug 8417) Handle EXIF unknown dates * (bug 8372) Return nothing on empty tags. * New maintenance script to show the cached statistics : showStats.php. -* Emit content language information in a comment in Special:Version, for - debugging/support purposes * New special page to list available interwikis [[Special:Listinterwikis]] * Count deleted edits when regenerating total edits in maintenance/initStats.php diff --git a/includes/SpecialVersion.php b/includes/SpecialVersion.php index 668ab94f8b..2634cf0b5b 100644 --- a/includes/SpecialVersion.php +++ b/includes/SpecialVersion.php @@ -33,7 +33,6 @@ class SpecialVersion { $this->extensionCredits() . $this->wgHooks() ); - $wgOut->addHtml( self::getLanguageInfo() ); $wgOut->addHTML( $this->IPInfo() ); $wgOut->addHTML( '' ); } @@ -291,18 +290,6 @@ class SpecialVersion { return intval( $content[3] ); } } - - /** - * Get the content language name and code, for debugging/support purposes - * - * @return string - */ - private static function getLanguageInfo() { - global $wgContLang; - $code = $wgContLang->getCode(); - $name = Language::getLanguageName( $code ); - return ''; - } /**#@-*/ }