Page MenuHomePhabricator

rebuildLocalisationCache demands a localisation cache
Closed, InvalidPublic

Description

MW 1.29.

hhvm -d hhvm.jit=0 maintenance/rebuildLocalisationCache.php --lang=en,ru

Fatal error: Uncaught exception 'MWException' with message 'No localisation cache found for English. Please run maintenance/rebuildLocalisationCache.php.' in /var/www/wiki/w/includes/cache/localisation/LocalisationCache.php:479

Are you kidding?

Event Timeline

--force doesn't help.

This is caused by some extensions that set up a parser function with Parser->setFunctionHook() which calls MagicWord::get().

Krinkle subscribed.

Which extension? That seems like a bug in the extension, not something we can fix from the side of the rebuildLocalisationCache.php maintenance script.