From 52b59f06859c337a56b10bb0171d199b19688773 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Niklas=20Laxstr=C3=B6m?= Date: Thu, 22 Nov 2012 10:56:16 +0000 Subject: [PATCH] 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 --- includes/specials/SpecialRecentchanges.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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; } -- 2.20.1