Index: trunk/phase3/includes/ChangesFeed.php |
— | — | @@ -18,7 +18,7 @@ |
19 | 19 | $feedTitle, htmlspecialchars( $description ), $wgTitle->getFullUrl() ); |
20 | 20 | } |
21 | 21 | |
22 | | - public function execute( $feed, $rows, $limit=0, $hideminor=false, $namespace='', $lastmod=false, $target='' ) { |
| 22 | + public function execute( $feed, $rows, $limit=0, $hideminor=false, $lastmod=false, $target='', $namespace='' ) { |
23 | 23 | global $messageMemc, $wgFeedCacheTimeout; |
24 | 24 | global $wgSitename, $wgLang; |
25 | 25 | |
— | — | @@ -27,7 +27,7 @@ |
28 | 28 | } |
29 | 29 | |
30 | 30 | $timekey = wfMemcKey( $this->type, $this->format, 'timestamp' ); |
31 | | - $key = wfMemcKey( $this->type, $this->format, $limit, $hideminor, $namespace, $target, $wgLang->getCode() ); |
| 31 | + $key = wfMemcKey( $this->type, $this->format, $limit, $hideminor, $target, $wgLang->getCode(), $namespace ); |
32 | 32 | |
33 | 33 | FeedUtils::checkPurge($timekey, $key); |
34 | 34 | |
Index: trunk/phase3/includes/specials/SpecialRecentchanges.php |
— | — | @@ -117,7 +117,7 @@ |
118 | 118 | $target = isset($opts['target']) ? $opts['target'] : ''; // RCL has targets |
119 | 119 | if( $feedFormat ) { |
120 | 120 | list( $feed, $feedObj ) = $this->getFeedObject( $feedFormat ); |
121 | | - $feed->execute( $feedObj, $rows, $opts['limit'], $opts['hideminor'], $opts['namespace'], $lastmod, $target ); |
| 121 | + $feed->execute( $feedObj, $rows, $opts['limit'], $opts['hideminor'], $lastmod, $target, $opts['namespace'] ); |
122 | 122 | } else { |
123 | 123 | $this->webOutput( $rows, $opts ); |
124 | 124 | } |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -685,6 +685,8 @@ |
686 | 686 | * (bug 21814) Message shown when rolling back an edit with a deleted username |
687 | 687 | now shows '(username deleted)' instead of broken user tool links |
688 | 688 | * (bug 21536) Fixed JavaScript error on Special:Search caused by an incorrect ID |
| 689 | +* (bug 21535) RecentChanges RSS feed now always recognises the namespace filter, |
| 690 | + previously it sometimes didn't due to caching. |
689 | 691 | |
690 | 692 | == API changes in 1.16 == |
691 | 693 | |