r83385 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r83384‎ | r83385 | r83386 >
Date:16:17, 6 March 2011
Author:siebrand
Status:ok
Tags:
Comment:
Revert r82967 per http://www.mediawiki.org/wiki/Special:Code/MediaWiki/82967#c14529 by RobertL: If you insist on having this, please can you make it subject to a configuration option? I believe this as it is will result in users receiving the header in a seemingly random language due to page caching.
Modified paths:
  • /trunk/extensions/Babel/Babel.class.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Babel/Babel.class.php
@@ -59,7 +59,7 @@
6060 $cellpadding = ' cellpadding="'.$cellpadding.'"';
6161 }
6262
63 - $top = wfMsgExt( 'babel', array( 'parsemag' ), self::$title->getDBkey() );
 63+ $top = wfMsgExt( 'babel', array( 'parsemag', 'content' ), self::$title->getDBkey() );
6464 if ( strlen( $top ) == 0 ) {
6565 $top = '';
6666 } else {

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r82967bug 27793 - Babel box header shows link anchor text in user language, and lin...purodha21:33, 28 February 2011

Status & tagging log