From: Alexandre Emsenhuber Date: Sat, 19 Feb 2011 19:15:45 +0000 (+0000) Subject: Follow-up r82452: need to transform entries sinces some wiki like to use variables... X-Git-Tag: 1.31.0-rc.0~31887 X-Git-Url: http://git.cyclocoop.org/url?a=commitdiff_plain;h=461ef632c087d7fb518ae676399a3ce823ca76bc;p=lhc%2Fweb%2Fwiklou.git Follow-up r82452: need to transform entries sinces some wiki like to use variables or parser functions in the sidebar --- 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] );