r66848 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r66847‎ | r66848 | r66849 >
Date:20:15, 24 May 2010
Author:platonides
Status:reverted
Tags:
Comment:
MFT r66846
Modified paths:
  • /branches/REL1_16/phase3/includes/Skin.php (modified) (history)

Diff [purge]

Index: branches/REL1_16/phase3/includes/Skin.php
@@ -2114,6 +2114,9 @@
21152115 }
21162116 } else {
21172117 if( strpos( $line, '|' ) !== false ) { // sanity check
 2118+ global $wgMessageCache;
 2119+ $line = $wgMessageCache->transform( $line );
 2120+
21182121 $line = array_map( 'trim', explode( '|', trim( $line, '* ' ), 2 ) );
21192122 $link = wfMsgForContent( $line[0] );
21202123 if( $link == '-' ) {

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r66846Follow up r66835. Some people use direct urls in MediaWiki:Sidebar instead of...platonides20:01, 24 May 2010

Status & tagging log