https://www.mediawiki.org/wiki/Special:Code/MediaWiki/112475

Revision: 112475
Author:   hashar
Date:     2012-02-27 10:22:19 +0000 (Mon, 27 Feb 2012)
Log Message:
-----------
MFT to 1.19wmf1 r112474
(bug 34736) empty limit on special pages causes navigation issues

Modified Paths:
--------------
    branches/wmf/1.19wmf1/includes/Pager.php

Modified: branches/wmf/1.19wmf1/includes/Pager.php
===================================================================
--- branches/wmf/1.19wmf1/includes/Pager.php    2012-02-27 10:17:01 UTC (rev 
112474)
+++ branches/wmf/1.19wmf1/includes/Pager.php    2012-02-27 10:22:19 UTC (rev 
112475)
@@ -472,7 +472,7 @@
                }
 
                # Don't announce the limit everywhere if it's the default
-               $urlLimit = $this->mLimit == $this->mDefaultLimit ? '' : 
$this->mLimit;
+               $urlLimit = $this->mLimit == $this->mDefaultLimit ? null : 
$this->mLimit;
 
                if ( $this->mIsFirst ) {
                        $prev = false;


_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to