Last modified: 2014-06-19 23:11:38 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T68695, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 66695 - MWExceptions; Invalid Magic Words
MWExceptions; Invalid Magic Words
Status: RESOLVED INVALID
Product: MediaWiki
Classification: Unclassified
Internationalization (Other open bugs)
1.23.0
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-06-16 23:05 UTC by John F. Lewis
Modified: 2014-06-19 23:11 UTC (History)
10 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description John F. Lewis 2014-06-16 23:05:23 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]
Comment 1 John F. Lewis 2014-06-19 23:11:38 UTC
Seems to be a result of a conflicting/poor commit to the Echo extension so, RESOLVED -> INVALID

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links