r18900 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r18899‎ | r18900 | r18901 >
Date:01:58, 7 January 2007
Author:robchurch
Status:old
Tags:
Comment:
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.
Modified paths:
  • /trunk/phase3/RELEASE-NOTES (modified) (history)
  • /trunk/phase3/includes/SpecialVersion.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/SpecialVersion.php
@@ -33,7 +33,6 @@
3434 $this->extensionCredits() .
3535 $this->wgHooks()
3636 );
37 - $wgOut->addHtml( self::getLanguageInfo() );
3837 $wgOut->addHTML( $this->IPInfo() );
3938 $wgOut->addHTML( '</div>' );
4039 }
@@ -291,18 +290,6 @@
292291 return intval( $content[3] );
293292 }
294293 }
295 -
296 - /**
297 - * Get the content language name and code, for debugging/support purposes
298 - *
299 - * @return string
300 - */
301 - private static function getLanguageInfo() {
302 - global $wgContLang;
303 - $code = $wgContLang->getCode();
304 - $name = Language::getLanguageName( $code );
305 - return '<!-- ' . htmlspecialchars( "Content Language: {$name} [{$code}]" ) . ' -->';
306 - }
307294
308295 /**#@-*/
309296 }
Index: trunk/phase3/RELEASE-NOTES
@@ -470,8 +470,6 @@
471471 * (bug 8417) Handle EXIF unknown dates
472472 * (bug 8372) Return nothing on empty <math> tags.
473473 * New maintenance script to show the cached statistics : showStats.php.
474 -* Emit content language information in a comment in Special:Version, for
475 - debugging/support purposes
476474 * New special page to list available interwikis [[Special:Listinterwikis]]
477475 * Count deleted edits when regenerating total edits in maintenance/initStats.php
478476