Page MenuHomePhabricator

zh.wikivoyage not accepted in MassMessage
Closed, ResolvedPublic

Description

zh.wikivoyage has recently been created (bug 59077), but still not accepted by {{#target: function


Version: unspecified
Severity: major
URL: https://meta.wikimedia.org/wiki/Distribution_list/Global_message_delivery/zh

Details

Reference
bz60075

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 2:55 AM
bzimport added a project: MassMessage.
bzimport set Reference to bz60075.
bzimport added a subscriber: Unknown Object (MLST).

The MassMessage::getDBName function is cached for a week, which means that when a new site is added, until the cache expires, the site won't exist.

Reedy, can we add a $wgMemc->delete('massmessage:urltodb') call to addWiki.php?

We may also want to consider lowering the cache duration.

Change 108292 had a related patch set uploaded by Legoktm:
Lower caching time on MassMessage::getDBName

https://gerrit.wikimedia.org/r/108292

Change 108293 had a related patch set uploaded by Legoktm:
Clear MassMessage cache when creating a new wiki

https://gerrit.wikimedia.org/r/108293

Change 108292 merged by jenkins-bot:
Lower caching time on MassMessage::getDBName

https://gerrit.wikimedia.org/r/108292

Change 108293 merged by jenkins-bot:
Clear MassMessage cache when creating a new wiki

https://gerrit.wikimedia.org/r/108293

We lowered the caching time to an hour, and it should invalidate the cache when creating a new wiki.