* Fix visible regression and let the plural finally work properly
authorNiklas Laxström <nikerabbit@users.mediawiki.org>
Wed, 28 Jan 2009 19:58:41 +0000 (19:58 +0000)
committerNiklas Laxström <nikerabbit@users.mediawiki.org>
Wed, 28 Jan 2009 19:58:41 +0000 (19:58 +0000)
* Reported by saper at mediawiki-i18n

includes/CategoryPage.php

index a5bdc05..71b8c4b 100644 (file)
@@ -449,12 +449,12 @@ class CategoryViewer {
                $sk = $this->getSkin();
                $limitText = $wgLang->formatNum( $limit );
 
-               $prevLink = wfMsgExt( 'prevn', array( 'escape' ), $limitText );
+               $prevLink = wfMsgExt( 'prevn', array( 'escape', 'parsemag' ), $limitText );
                if( $first != '' ) {
                        $prevLink = $sk->makeLinkObj( $title, $prevLink,
                                wfArrayToCGI( $query + array( 'until' => $first ) ) );
                }
-               $nextLink = wfMsgExt( 'nextn', array( 'escape' ), $limitText );
+               $nextLink = wfMsgExt( 'nextn', array( 'escape', 'parsemag' ), $limitText );
                if( $last != '' ) {
                        $nextLink = $sk->makeLinkObj( $title, $nextLink,
                                wfArrayToCGI( $query + array( 'from' => $last ) ) );