| Index: trunk/phase3/includes/specials/SpecialWantedcategories.php |
| — | — | @@ -54,14 +54,14 @@ |
| 55 | 55 | * @return string |
| 56 | 56 | */ |
| 57 | 57 | function formatResult( $skin, $result ) { |
| 58 | | - global $wgLang, $wgContLang; |
| | 58 | + global $wgContLang; |
| 59 | 59 | |
| 60 | 60 | $nt = Title::makeTitle( $result->namespace, $result->title ); |
| 61 | 61 | $text = htmlspecialchars( $wgContLang->convert( $nt->getText() ) ); |
| 62 | 62 | |
| 63 | 63 | $plink = $this->isCached() ? |
| 64 | | - $skin->link( $nt, $text ) : |
| 65 | | - $skin->link( |
| | 64 | + Linker::link( $nt, $text ) : |
| | 65 | + Linker::link( |
| 66 | 66 | $nt, |
| 67 | 67 | $text, |
| 68 | 68 | array(), |
| — | — | @@ -69,8 +69,8 @@ |
| 70 | 70 | array( 'broken' ) |
| 71 | 71 | ); |
| 72 | 72 | |
| 73 | | - $nlinks = wfMsgExt( 'nmembers', array( 'parsemag', 'escape'), |
| 74 | | - $wgLang->formatNum( $result->value ) ); |
| 75 | | - return wfSpecialList($plink, $nlinks); |
| | 73 | + $nlinks = wfMsgExt( 'nmembers', array( 'parsemag', 'escape' ), |
| | 74 | + $this->getLang()->formatNum( $result->value ) ); |
| | 75 | + return wfSpecialList( $plink, $nlinks ); |
| 76 | 76 | } |
| 77 | 77 | } |