r66459 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r66458‎ | r66459 | r66460 >
Date:23:44, 14 May 2010
Author:siebrand
Status:deferred
Tags:
Comment:
Fix growing link title
Modified paths:
  • /trunk/extensions/Translate/SpecialSupportedLanguages.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Translate/SpecialSupportedLanguages.php
@@ -70,7 +70,7 @@
7171 $lb->execute();
7272 global $wgUser;
7373 $skin = $wgUser->getSkin();
74 - $portalText = wfMsg( 'portal' );
 74+ $portalBaseText = wfMsg( 'portal' );
7575
7676 // Information to be used inside the foreach loop
7777 $linkInfo['rc']['title'] = SpecialPage::getTitleFor( 'Recentchanges' );
@@ -81,6 +81,8 @@
8282 foreach ( array_keys( $users ) as $code ) {
8383 $portalTitle = Title::makeTitleSafe( NS_PORTAL, $code );
8484
 85+ $portalText = $portalBaseText;
 86+
8587 // If CLDR is installed, add localised header and link title.
8688 if( $cldrInstalled ) {
8789 $headerText = wfMsg( 'supportedlanguages-portallink', $code, $locals[$code], $natives[$code] );

Status & tagging log