Index: trunk/phase3/includes/specials/SpecialUserlogin.php |
— | — | @@ -1162,7 +1162,7 @@ |
1163 | 1163 | $lang = trim( $lang, '* ' ); |
1164 | 1164 | $parts = explode( '|', $lang ); |
1165 | 1165 | if ( count( $parts ) >= 2 ) { |
1166 | | - $links[] = $this->makeLanguageSelectorLink( $parts[0], $parts[1] ); |
| 1166 | + $links[] = $this->makeLanguageSelectorLink( $parts[0], trim( $parts[1] ) ); |
1167 | 1167 | } |
1168 | 1168 | } |
1169 | 1169 | return count( $links ) > 0 ? wfMsgHtml( 'loginlanguagelabel', $wgLang->pipeList( $links ) ) : ''; |
— | — | @@ -1187,8 +1187,7 @@ |
1188 | 1188 | if( $this->mReturnTo ) { |
1189 | 1189 | $attr['returnto'] = $this->mReturnTo; |
1190 | 1190 | } |
1191 | | - $skin = $this->getSkin(); |
1192 | | - return $skin->linkKnown( |
| 1191 | + return Linker::linkKnown( |
1193 | 1192 | $self, |
1194 | 1193 | htmlspecialchars( $text ), |
1195 | 1194 | array(), |