Apply live hack from Wikimedia code base -- remove unused commented-out checker patte...
[lhc/web/wiklou.git] / includes / SpecialCategories.php
index 596569e..efe65a7 100644 (file)
@@ -9,7 +9,7 @@ function wfSpecialCategories() {
 
        $cap = new CategoryPager();
        $wgOut->addHTML( 
-               wfMsgWikiHtml( 'categoriespagetext' ) .
+               wfMsgExt( 'categoriespagetext', array( 'parse' ) ) .
                $cap->getNavigationBar()
                . '<ul>' . $cap->getBody() . '</ul>' .
                $cap->getNavigationBar()
@@ -54,7 +54,7 @@ class CategoryPager extends AlphabeticPager {
                global $wgLang;
                $title = Title::makeTitle( NS_CATEGORY, $result->cl_to );
                $titleText = $this->getSkin()->makeLinkObj( $title, htmlspecialchars( $title->getText() ) );
-               $count = wfMsgExt( 'nmembers', array( 'parsemag', 'escape'),
+               $count = wfMsgExt( 'nmembers', array( 'parsemag', 'escape' ),
                                $wgLang->formatNum( $result->count ) );
                return Xml::tags('li', null, "$titleText ($count)" ) . "\n";
        }