Index: trunk/phase3/includes/Skin.php |
— | — | @@ -2136,6 +2136,9 @@ |
2137 | 2137 | } |
2138 | 2138 | } else { |
2139 | 2139 | if( strpos( $line, '|' ) !== false ) { // sanity check |
| 2140 | + global $wgMessageCache; |
| 2141 | + $line = $wgMessageCache->transform( $line ); |
| 2142 | + |
2140 | 2143 | $line = array_map( 'trim', explode( '|', trim( $line, '* ' ), 2 ) ); |
2141 | 2144 | $link = wfMsgForContent( $line[0] ); |
2142 | 2145 | if( $link == '-' ) { |