From: Brion Vibber Date: Sun, 10 Oct 2004 09:44:00 +0000 (+0000) Subject: fix for bug 149: Special:Recentchanges: Link that adds &from= to URL discards &limit... X-Git-Tag: 1.5.0alpha1~1615 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/ajouter.php?a=commitdiff_plain;h=e211341459226f108e94dbd96c73ebb77afbfc44;p=lhc%2Fweb%2Fwiklou.git fix for bug 149: Special:Recentchanges: Link that adds &from= to URL discards &limit= and vice-versa --- 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' ),