On second thoughts, remove it altogether...if asking the user is really so hard,...
authorRob Church <robchurch@users.mediawiki.org>
Sun, 7 Jan 2007 01:58:40 +0000 (01:58 +0000)
committerRob Church <robchurch@users.mediawiki.org>
Sun, 7 Jan 2007 01:58:40 +0000 (01:58 +0000)
RELEASE-NOTES
includes/SpecialVersion.php

index d0ebb1d..322c387 100644 (file)
@@ -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 <math> 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
 
index 668ab94..2634cf0 100644 (file)
@@ -33,7 +33,6 @@ class SpecialVersion {
                        $this->extensionCredits() .
                        $this->wgHooks()
                );
-               $wgOut->addHtml( self::getLanguageInfo() );
                $wgOut->addHTML( $this->IPInfo() );
                $wgOut->addHTML( '</div>' );
        }
@@ -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 '<!-- ' . htmlspecialchars( "Content Language: {$name} [{$code}]" ) . ' -->';
-       }
 
        /**#@-*/
 }