Page MenuHomePhabricator

Newly created message bundles don't appear in the message group selector.
Closed, ResolvedPublic2 Estimated Story PointsBUG REPORT

Description

A new message bundle was created on Meta-Wiki but searching for that on Special:Translate group selector does not display any message groups for translations.

Reviewing Logstash shows the UpdateMessageBundleJob triggered and the message groups were re-cached but the group still does not appear on Special:Translate

See Logstash.

Event Timeline

Change 858593 had a related patch set uploaded (by Abijeet Patro; author: Abijeet Patro):

[mediawiki/extensions/Translate@master] MessageBundleMessageGroupLoader: Use proper database server index

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

abi_ triaged this task as Medium priority.
abi_ moved this task from Backlog to message bundles on the MediaWiki-extensions-Translate board.
abi_ set the point value for this task to 2.
abi_ added a project: Unplanned-Sprint-Work.

Could this be the same root cause as T319485 and/or T320220?

Change 858593 merged by jenkins-bot:

[mediawiki/extensions/Translate@master] MessageBundleMessageGroupLoader: Use proper database server index

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

Could this be the same root cause as T319485 and/or T320220?

My hunch is that, that is indeed the case. Those are TranslatablePages though and TranslateUtils::getSafeReadDB should be returning a proper database index.

For message bundle we were not passing the correct database index. Using TranslateUtils::getSafeReadDB when loading the message bundle message group appears to have fixed the issue. I tested the fix on Meta-Wiki by null editing 5 different message bundles and all of them immediately appeared on the group selector.