Index: trunk/extensions/Babel/Babel.class.php |
— | — | @@ -199,7 +199,7 @@ |
200 | 200 | */ |
201 | 201 | protected static function mGenerateBox( $code, $level ) { |
202 | 202 | $lang = wfBCP47( $code ); |
203 | | - $portal = wfMessage( 'babel-portal', $code )->plain(); |
| 203 | + $portal = wfMessage( 'babel-portal', $code )->inContentLanguage()->plain(); |
204 | 204 | if ( $portal !== '' ) { |
205 | 205 | $portal = "[[$portal|$lang]]"; |
206 | 206 | } else { |