r65750 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r65749‎ | r65750 | r65751 >
Date:17:28, 1 May 2010
Author:siebrand
Status:deferred
Tags:
Comment:
Add nicer title
Modified paths:
  • /trunk/extensions/Translate/SpecialSupportedLanguages.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Translate/SpecialSupportedLanguages.php
@@ -59,13 +59,17 @@
6060 $lb->execute();
6161 global $wgUser;
6262 $skin = $wgUser->getSkin();
 63+ $portalText = wfMsg( 'portal' );
6364
6465 foreach ( array_keys( $users ) as $code ) {
6566 $portalTitle = Title::makeTitleSafe( NS_PORTAL, $code );
6667 $portalLink = $skin->link(
6768 $portalTitle,
6869 wfMsg( 'supportedlanguages-portallink', $code, $locals[$code], $natives[$code] ),
69 - array( 'id' => $code ),
 70+ array(
 71+ 'id' => $code
 72+ 'title' => $portalText . ' ' . $locals[$code]
 73+ ),
7074 array(),
7175 array( 'known', 'noclasses' )
7276 );

Follow-up revisions

RevisionCommit summaryAuthorDate
r65751Fix syntax error in r65750siebrand17:29, 1 May 2010

Status & tagging log