By running extensions/Echo/maintenance/backfillUnreadWikis.php on all wikis where Echo is installed and $wmgEchoUseCrossWikiTrackingTable is true.
Description
Description
| Status | Subtype | Assigned | Task | ||
|---|---|---|---|---|---|
| Resolved | Catrope | T124233 Populate echo_unread_wikis table on all wikis | |||
| Resolved | Catrope | T124232 Enable Echo tracking table on all wikis |
Event Timeline
Comment Actions
Ran successfully on test2wiki:
catrope@terbium:/srv/mediawiki/php-1.27.0-wmf.11$ mwscript extensions/Echo/maintenance/backfillUnreadWikis.php test2wiki Updated 300 users. Updated 600 users. Updated 900 users. Updated 1200 users. Updated 1500 users. Updated 1800 users. Updated 2100 users. Updated 2400 users. Updated 2700 users. Updated 3000 users. Updated 3300 users. Updated 3600 users. Updated 3900 users. Updated 4200 users. Updated 4500 users. Updated 4800 users. Updated 5100 users. Updated 5400 users. Updated 5635 users.
Comment Actions
Whoever does this on the remaining wikis, please do what I didn't and measure how long it takes. I'd like to have that information for future reference.
Comment Actions
I've done this on the list of wikis that are about to get cross-wiki notifications. I didn't write down the duration for each wiki, but what I remember is it took 30 hours on mediawikiwiki, about 25 hours on Commons, and 13 hours on Wikidata.
Comment Actions
I just started a cluster-wide run with catrope@terbium:/srv/mediawiki/php-1.27.0-wmf.15$ foreachwiki extensions/Echo/maintenance/backfillUnreadWikis.php