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:
parent
efb075268d
commit
52b59f0685
1 changed files with 1 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue