Index: branches/REL1_18/phase3/includes/specials/SpecialUserlogin.php |
— | — | @@ -1156,7 +1156,7 @@ |
1157 | 1157 | $lang = trim( $lang, '* ' ); |
1158 | 1158 | $parts = explode( '|', $lang ); |
1159 | 1159 | if ( count( $parts ) >= 2 ) { |
1160 | | - $links[] = $this->makeLanguageSelectorLink( $parts[0], $parts[1] ); |
| 1160 | + $links[] = $this->makeLanguageSelectorLink( $parts[0], trim( $parts[1] ) ); |
1161 | 1161 | } |
1162 | 1162 | } |
1163 | 1163 | return count( $links ) > 0 ? wfMsgHtml( 'loginlanguagelabel', $wgLang->pipeList( $links ) ) : ''; |