r98023 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r98022‎ | r98023 | r98024 >
Date:20:22, 24 September 2011
Author:nikerabbit
Status:ok
Tags:
Comment:
Followup r97726 - this should not depend on user language
Modified paths:
  • /trunk/extensions/Babel/Babel.class.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Babel/Babel.class.php
@@ -199,7 +199,7 @@
200200 */
201201 protected static function mGenerateBox( $code, $level ) {
202202 $lang = wfBCP47( $code );
203 - $portal = wfMessage( 'babel-portal', $code )->plain();
 203+ $portal = wfMessage( 'babel-portal', $code )->inContentLanguage()->plain();
204204 if ( $portal !== '' ) {
205205 $portal = "[[$portal|$lang]]";
206206 } else {

Follow-up revisions

RevisionCommit summaryAuthorDate
r981441.17wmf1: MFT r97606, r97609, r97644, r97793, r97804, r97962, r98006, r98023catrope17:21, 26 September 2011

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r97726If babel-portal is empty, don't make a link. Made it empty by default.nikerabbit13:03, 21 September 2011

Status & tagging log