Page MenuHomePhabricator
Authored By
bzimport
Nov 21 2014, 10:40 PM
Size
1 KB
Referenced Files
None
Subscribers
None
Index: maintenance/rebuildrecentchanges.php
===================================================================
--- maintenance/rebuildrecentchanges.php (revision 51373)
+++ maintenance/rebuildrecentchanges.php (working copy)
@@ -19,6 +19,13 @@
rebuildRecentChangesTable();
print "Done.\n";
-exit(0);
+/* Must also purge feeds! */
+print "Deleting feed timestamps.\n";//because I don't know how to delete all matching rcfeed:*
+foreach( array( 'rss', 'atom' ) as $feed ) {
+ $messageMemc->delete(wfMemcKey('rcfeed').":{$feed}:timestamp" ); # Good enough for now.
+}
+
+print "Done.\n";
+exit(0);
\ No newline at end of file
Index: docs/memcached.txt
===================================================================
--- docs/memcached.txt (revision 51373)
+++ docs/memcached.txt (working copy)
@@ -219,12 +219,15 @@
Special:Recentchanges (feed):
stored in: $messageMemc
- key: $wgDBname:rcfeed:$format:limit:$imit:minor:$hideminor and
+ key: $wgDBname:rcfeed:$format:$limit:$hideminor: 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

File Metadata

Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5342
Default Alt Text
RC2.txt (1 KB)

Event Timeline