From: Niklas Laxström Date: Thu, 22 Nov 2012 10:56:16 +0000 (+0000) Subject: Allow all rc options in feeds X-Git-Tag: 1.31.0-rc.0~21541^2 X-Git-Url: http://git.cyclocoop.org/%22.%24info%5B?a=commitdiff_plain;h=52b59f06859c337a56b10bb0171d199b19688773;p=lhc%2Fweb%2Fwiklou.git Allow all rc options in feeds The comment seems outdated given the following code in ChangesFeed: $optionsHash = md5( serialize( $opts->getAllValues() ) ) . $wgRenderHashAppend; Change-Id: I6f7ac3badf14eef8d193053c4788d7d7f5eb03f3 --- diff --git a/includes/specials/SpecialRecentchanges.php b/includes/specials/SpecialRecentchanges.php index f542640252..14f9c8de83 100644 --- a/includes/specials/SpecialRecentchanges.php +++ b/includes/specials/SpecialRecentchanges.php @@ -109,8 +109,7 @@ class SpecialRecentChanges extends IncludableSpecialPage { public function feedSetup() { global $wgFeedLimit; $opts = $this->getDefaultOptions(); - # Feed is cached on limit,hideminor,namespace; other params would randomly not work - $opts->fetchValuesFromRequest( $this->getRequest(), array( 'limit', 'hideminor', 'namespace' ) ); + $opts->fetchValuesFromRequest( $this->getRequest() ); $opts->validateIntBounds( 'limit', 0, $wgFeedLimit ); return $opts; }