dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c04d685
)
Follow up r66835. Some people use direct urls in MediaWiki:Sidebar instead of -url...
author
Platonides
<platonides@users.mediawiki.org>
Mon, 24 May 2010 20:01:40 +0000
(20:01 +0000)
committer
Platonides
<platonides@users.mediawiki.org>
Mon, 24 May 2010 20:01:40 +0000
(20:01 +0000)
includes/Skin.php
patch
|
blob
|
history
diff --git
a/includes/Skin.php
b/includes/Skin.php
index
aa0dc24
..
afb0fab
100644
(file)
--- a/
includes/Skin.php
+++ b/
includes/Skin.php
@@
-2136,6
+2136,9
@@
CSS;
}
} else {
if( strpos( $line, '|' ) !== false ) { // sanity check
+ global $wgMessageCache;
+ $line = $wgMessageCache->transform( $line );
+
$line = array_map( 'trim', explode( '|', trim( $line, '* ' ), 2 ) );
$link = wfMsgForContent( $line[0] );
if( $link == '-' ) {