convert "::1" and other pseudo-IPv6 addresses that Apache may throw at us to their...
[lhc/web/wiklou.git] / includes / SpecialCategories.php
index 5bcb97e..89cff20 100644 (file)
@@ -44,10 +44,10 @@ class CategoriesPage extends QueryPage {
                return false;
        }
 
-       function formatResult( $result ) {
+       function formatResult( $skin, $result ) {
                global $wgLang;
                $title = Title::makeTitle( NS_CATEGORY, $result->title );
-               $plink = Linker::makeLinkObj( $title, $title->getText() );
+               $plink = $skin->makeLinkObj( $title, $title->getText() );
                $nlinks = wfMsgExt( 'nmembers', array( 'parsemag', 'escape'),
                        $wgLang->formatNum( $result->count ) );
                return wfSpecialList($plink, $nlinks);