diff options
author | Aaron Schulz <aaron@users.mediawiki.org> | 2009-01-17 18:44:28 +0000 |
---|---|---|
committer | Aaron Schulz <aaron@users.mediawiki.org> | 2009-01-17 18:44:28 +0000 |
commit | c4b92206fc61177725c548b8ffc7f13aa1fc5e71 (patch) | |
tree | 10dfb0b4c17b37d247cfdd472a2b1e276a470897 /includes/ChangesFeed.php | |
parent | e0f5bb41790b90d442d1438bf6c807b51489c5b3 (diff) | |
download | mediawikicore-c4b92206fc61177725c548b8ffc7f13aa1fc5e71.tar.gz mediawikicore-c4b92206fc61177725c548b8ffc7f13aa1fc5e71.zip |
* Added 'target' param to changesfeed to fix total breakage of RCL feed. They were all using the same cache so the feed for page X sometimes showed the feed for page Y.
* Removed extra constant cache key params
* Added feed comments
* Fixed tab space
Notes
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/45844
Diffstat (limited to 'includes/ChangesFeed.php')
-rw-r--r-- | includes/ChangesFeed.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/ChangesFeed.php b/includes/ChangesFeed.php index f3c3e4294f52..33a1f05f596a 100644 --- a/includes/ChangesFeed.php +++ b/includes/ChangesFeed.php @@ -18,7 +18,7 @@ class ChangesFeed { $feedTitle, htmlspecialchars( $description ), $wgTitle->getFullUrl() ); } - public function execute( $feed, $rows, $limit = 0 , $hideminor = false, $lastmod = false ) { + public function execute( $feed, $rows, $limit=0, $hideminor=false, $lastmod=false, $target='' ) { global $messageMemc, $wgFeedCacheTimeout; global $wgFeedClasses, $wgSitename, $wgContLanguageCode; @@ -27,7 +27,7 @@ class ChangesFeed { } $timekey = wfMemcKey( $this->type, $this->format, 'timestamp' ); - $key = wfMemcKey( $this->type, $this->format, 'limit', $limit, 'minor', $hideminor ); + $key = wfMemcKey( $this->type, $this->format, $limit, $hideminor, $target ); FeedUtils::checkPurge($timekey, $key); |