Index: trunk/extensions/Babel/Babel.class.php |
— | — | @@ -259,7 +259,7 @@ |
260 | 260 | |
261 | 261 | // Generate the text displayed on the left hand side of the |
262 | 262 | // box. |
263 | | - $header = "[[{$this->_addFixes( $code,'portal' )}|$code]]<span class=\"mw-babel-box-level-$level\">-$level</span>"; |
| 263 | + $header = "[[{$this->_addFixes( $code,'portal' )}|" . wfBCP47( $code ) . "]]<span class=\"mw-babel-box-level-$level\">-$level</span>"; |
264 | 264 | |
265 | 265 | // Get MediaWiki supported language codes\names. |
266 | 266 | $nativeNames = Language::getLanguageNames(); |