From 461ef632c087d7fb518ae676399a3ce823ca76bc Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Sat, 19 Feb 2011 19:15:45 +0000 Subject: [PATCH] Follow-up r82452: need to transform entries sinces some wiki like to use variables or parser functions in the sidebar --- includes/Skin.php | 1 + 1 file changed, 1 insertion(+) diff --git a/includes/Skin.php b/includes/Skin.php index 4679a2432d..ceb8cb1c8b 100644 --- a/includes/Skin.php +++ b/includes/Skin.php @@ -1386,6 +1386,7 @@ abstract class Skin extends Linker { $line = trim( $line, '* ' ); if ( strpos( $line, '|' ) !== false ) { // sanity check + $line = MessageCache::singleton()->transform( $line, false, null, $this->mTitle ); $line = array_map( 'trim', explode( '|', $line, 2 ) ); $link = wfMsgForContent( $line[0] ); -- 2.20.1