Index: trunk/phase3/includes/specials/SpecialImport.php |
— | — | @@ -350,15 +350,13 @@ |
351 | 351 | $args = func_get_args(); |
352 | 352 | call_user_func_array( $this->mOriginalPageOutCallback, $args ); |
353 | 353 | |
354 | | - $skin = $wgUser->getSkin(); |
355 | | - |
356 | 354 | $this->mPageCount++; |
357 | 355 | |
358 | 356 | $localCount = $wgLang->formatNum( $successCount ); |
359 | 357 | $contentCount = $wgContLang->formatNum( $successCount ); |
360 | 358 | |
361 | 359 | if( $successCount > 0 ) { |
362 | | - $wgOut->addHTML( "<li>" . $skin->linkKnown( $title ) . " " . |
| 360 | + $wgOut->addHTML( "<li>" . Linker::linkKnown( $title ) . " " . |
363 | 361 | wfMsgExt( 'import-revision-count', array( 'parsemag', 'escape' ), $localCount ) . |
364 | 362 | "</li>\n" |
365 | 363 | ); |
— | — | @@ -392,7 +390,7 @@ |
393 | 391 | $article->updateRevisionOn( $dbw, $nullRevision ); |
394 | 392 | wfRunHooks( 'NewRevisionFromEditComplete', array($article, $nullRevision, $latest, $wgUser) ); |
395 | 393 | } else { |
396 | | - $wgOut->addHTML( "<li>" . $skin->linkKnown( $title ) . " " . |
| 394 | + $wgOut->addHTML( "<li>" . Linker::linkKnown( $title ) . " " . |
397 | 395 | wfMsgHtml( 'import-nonewrevisions' ) . "</li>\n" ); |
398 | 396 | } |
399 | 397 | } |