Index: trunk/extensions/Translate/tag/PageTranslationHooks.php |
— | — | @@ -209,7 +209,6 @@ |
210 | 210 | |
211 | 211 | $options = $parser->getOptions(); |
212 | 212 | |
213 | | - $sk = $options->getSkin(); |
214 | 213 | if ( method_exists( $options, 'getUserLang' ) ) { |
215 | 214 | $userLangCode = $options->getUserLang(); |
216 | 215 | } else { |
— | — | @@ -246,9 +245,9 @@ |
247 | 246 | if ( $parser->getTitle()->getText() === $_title->getText() ) { |
248 | 247 | $languages[] = Html::rawElement( 'b', null, "*$name* $percent" ); |
249 | 248 | } elseif ( $code === $userLangCode ) { |
250 | | - $languages[] = $sk->linkKnown( $_title, Html::rawElement( 'b', null, "$name $percent" ) ); |
| 249 | + $languages[] = Linker::linkKnown( $_title, Html::rawElement( 'b', null, "$name $percent" ) ); |
251 | 250 | } else { |
252 | | - $languages[] = $sk->linkKnown( $_title, "$name $percent" ); |
| 251 | + $languages[] = Linker::linkKnown( $_title, "$name $percent" ); |
253 | 252 | } |
254 | 253 | } |
255 | 254 | |