Purging cache timestamps should be sufficient since it won't allow cached versions to be used.
Also fix some errors in docs/memcached.txt.
Based on a patch by Jidanni - http://bug-attachment.wikimedia.org/attachment.cgi?id=6187
Special:RevisionDelete are no more displayed when when doing log suppression
* (bug 8143) Localised parser function names are now correctly case insensitive
if they contain non-ASCII characters
+* (bug 19055) maintenance/rebuildrecentchanges.php now purges
+ Special:Recentchanges's RSS and Atom feed cache
== API changes in 1.16 ==
Special:Recentchanges (feed):
stored in: $messageMemc
- key: $wgDBname:rcfeed:$format:limit:$imit:minor:$hideminor and
+ key: $wgDBname:rcfeed:$format:$limit:$hideminor:$target and
rcfeed:$format:timestamp
- ex: wikidb:rcfeed:rss:limit:50:minor:0 and rcfeed:rss:timestamp
+ ex: wikidb:rcfeed:rss:50:: and rcfeed:rss:timestamp
stores: xml output of feed
expiry: one day
- clear by: calling Special:Recentchanges?action=purge
+ clear by: maintenance/rebuildrecentchanges.php script, or
+ calling Special:Recentchanges?action=purge&feed=rss,
+ Special:Recentchanges?action=purge&feed=atom,
+ but note need $wgGroupPermissions[...]['purge'] permission.
Statistics:
controlled by: $wgStatsMethod
$this->rebuildRecentChangesTablePass2();
$this->rebuildRecentChangesTablePass3();
$this->rebuildRecentChangesTablePass4();
+ $this->purgeFeeds();
$this->output( "Done.\n" );
}
$dbw->freeResult( $res );
}
+
+ /**
+ * Purge cached feeds in $messageMemc
+ */
+ private function purgeFeeds() {
+ global $wgFeedClasses, $messageMemc;
+
+ $this->output( "Deleting feed timestamps.\n" );
+
+ foreach( $wgFeedClasses as $feed => $className ) {
+ $messageMemc->delete( wfMemcKey( 'rcfeed', $feed, 'timestamp' ) ); # Good enough for now.
+ }
+ }
+
}
$maintClass = "RebuildRecentchanges";