From e211341459226f108e94dbd96c73ebb77afbfc44 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Sun, 10 Oct 2004 09:44:00 +0000 Subject: [PATCH] fix for bug 149: Special:Recentchanges: Link that adds &from= to URL discards &limit= and vice-versa --- includes/SpecialRecentchanges.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/includes/SpecialRecentchanges.php b/includes/SpecialRecentchanges.php index 2f360478ae..75a4bfc060 100644 --- a/includes/SpecialRecentchanges.php +++ b/includes/SpecialRecentchanges.php @@ -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' ), -- 2.20.1