Last modified: 2014-06-19 23:11:38 UTC
Recently we updated our wiki farm to MediaWiki 1.23. Everything was good for 2-3 after and then (unprovoked) all extensions with Magic Words (from what I can recall) began giving MWExceptions as a result of the magic words they were registering. Below is the backtrace for LiquidThreads (poor example probably but meh): #0 /usr/share/nginx/.orain.org/w/includes/MagicWord.php(241): MagicWord->load(string) #1 /usr/share/nginx/.orain.org/w/includes/parser/Parser.php(4984): MagicWord::get(string) #2 /usr/share/nginx/.orain.org/w/extensions/LiquidThreads/classes/Hooks.php(860): Parser->setFunctionHook(string, array) #3 [internal function]: LqtHooks::onParserFirstCallInit(Parser) #4 /usr/share/nginx/.orain.org/w/includes/Hooks.php(206): call_user_func_array(string, array) #5 /usr/share/nginx/.orain.org/w/includes/GlobalFunctions.php(4004): Hooks::run(string, array, NULL) #6 /usr/share/nginx/.orain.org/w/includes/parser/Parser.php(275): wfRunHooks(string, array) #7 [internal function]: Parser->firstCallInit() #8 /usr/share/nginx/.orain.org/w/includes/StubObject.php(99): call_user_func_array(array, array) #9 /usr/share/nginx/.orain.org/w/includes/StubObject.php(119): StubObject->_call(string, array) #10 /usr/share/nginx/.orain.org/w/includes/cache/MessageCache.php(1023): StubObject->__call(string, array) #11 /usr/share/nginx/.orain.org/w/includes/cache/MessageCache.php(1023): StubObject->firstCallInit() #12 /usr/share/nginx/.orain.org/w/includes/cache/MessageCache.php(1000): MessageCache->getParser() #13 /usr/share/nginx/.orain.org/w/includes/Message.php(977): MessageCache->transform(string, boolean, Language, NULL) #14 /usr/share/nginx/.orain.org/w/includes/Message.php(669): Message->transformText(string) #15 /usr/share/nginx/.orain.org/w/includes/Message.php(732): Message->toString() #16 /usr/share/nginx/.orain.org/w/extensions/Echo/Hooks.php(35): Message->text() #17 [internal function]: EchoHooks::initEchoExtension() #18 /usr/share/nginx/.orain.org/w/includes/Setup.php(601): call_user_func(string) #19 /usr/share/nginx/.orain.org/w/includes/WebStart.php(156): require_once(string) #20 /usr/share/nginx/.orain.org/w/index.php(43): require(string) #21 {main} This also applies to several other extensions we have installed on the farm such as; DPLforum, CSS, HeaderTabs, VoteNY, Comments, Disambiguator, RegexFun and Arrays. This seem weird as they were working then just stopped. For reference; I have ran 'php rebuildLocalisationCache.php --force' but to no avail. From what I can see; all the magicwords are registered correctly by the extensions, dependencies are met etc. there seems to be no obvious reason for this. Then again, knowing me I probably missed the obvious solution. [CC'd Reedy as Greg says he has backtrace zen ability]
Seems to be a result of a conflicting/poor commit to the Echo extension so, RESOLVED -> INVALID