From: Niklas Laxström Date: Mon, 22 Oct 2007 19:36:46 +0000 (+0000) Subject: * Support magic words in categoriespagetext X-Git-Tag: 1.31.0-rc.0~51101 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/exercices/modifier.php?a=commitdiff_plain;h=3082ffc9eb9a68ab99eeff4cb845768f0bf99031;p=lhc%2Fweb%2Fwiklou.git * Support magic words in categoriespagetext --- diff --git a/includes/SpecialCategories.php b/includes/SpecialCategories.php index 596569ed17..efe65a78cc 100644 --- a/includes/SpecialCategories.php +++ b/includes/SpecialCategories.php @@ -9,7 +9,7 @@ function wfSpecialCategories() { $cap = new CategoryPager(); $wgOut->addHTML( - wfMsgWikiHtml( 'categoriespagetext' ) . + wfMsgExt( 'categoriespagetext', array( 'parse' ) ) . $cap->getNavigationBar() . '' . $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"; }