Index: trunk/phase3/includes/Skin.php |
— | — | @@ -1357,7 +1357,7 @@ |
1358 | 1358 | * @param $message String |
1359 | 1359 | */ |
1360 | 1360 | function addToSidebar( &$bar, $message ) { |
1361 | | - $this->addToSidebarPlain( $bar, wfMsgForContent( $message ) ); |
| 1361 | + $this->addToSidebarPlain( $bar, wfMsgForContentNoTrans( $message ) ); |
1362 | 1362 | } |
1363 | 1363 | |
1364 | 1364 | /** |
— | — | @@ -1423,14 +1423,14 @@ |
1424 | 1424 | 'active' => false |
1425 | 1425 | ); |
1426 | 1426 | } else if ( ( substr( $line, 0, 2 ) == '{{' ) && ( substr( $line, -2 ) == '}}' ) ) { |
1427 | | - global $wgParser, $wgTitle; |
| 1427 | + global $wgParser; |
1428 | 1428 | |
1429 | 1429 | $line = substr( $line, 2, strlen( $line ) - 4 ); |
1430 | 1430 | |
1431 | 1431 | $options = new ParserOptions(); |
1432 | 1432 | $options->setEditSection( false ); |
1433 | 1433 | $options->setInterfaceMessage( true ); |
1434 | | - $wikiBar[$heading] = $wgParser->parse( wfMsgForContentNoTrans( $line ) , $wgTitle, $options )->getText(); |
| 1434 | + $wikiBar[$heading] = $wgParser->parse( wfMsgForContentNoTrans( $line ) , $this->mTitle, $options )->getText(); |
1435 | 1435 | } else { |
1436 | 1436 | continue; |
1437 | 1437 | } |