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
This commit is contained in:
Niklas Laxström 2012-11-22 10:56:16 +00:00
parent efb075268d
commit 52b59f0685

View file

@ -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;
}