fix for bug 149: Special:Recentchanges: Link that adds &from= to URL discards &limit...
authorBrion Vibber <brion@users.mediawiki.org>
Sun, 10 Oct 2004 09:44:00 +0000 (09:44 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Sun, 10 Oct 2004 09:44:00 +0000 (09:44 +0000)
includes/SpecialRecentchanges.php

index 2f36047..75a4bfc 100644 (file)
@@ -83,7 +83,8 @@ function wfSpecialRecentchanges( $par ) {
        $hidem .= ( $hidepatrolled )? ' AND rc_patrolled=0' : '';
 
        $urlparams = array( 'hideminor' => $hideminor,  'hideliu'       => $hideliu,
-                           'hidebots'  => $hidebots,   'hidepatrolled' => $hidepatrolled);
+                           'hidebots'  => $hidebots,   'hidepatrolled' => $hidepatrolled,
+                           'limit'     => $limit );
        $hideparams = wfArrayToCGI( $urlparams );
 
        $minorLink = $sk->makeKnownLink( $wgContLang->specialPage( 'Recentchanges' ),