https://bugzilla.wikimedia.org/show_bug.cgi?id=65386

            Bug ID: 65386
           Summary: Error: invalid magic word 'ns'
           Product: MediaWiki extensions
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: UploadWizard
          Assignee: wikibugs-l@lists.wikimedia.org
          Reporter: gti...@wikimedia.org
                CC: aarcos.w...@gmail.com, bawolff...@gmail.com,
                    fflo...@wikimedia.org, gti...@wikimedia.org,
                    mtrac...@member.fsf.org, nischay...@gmail.com,
                    steinsplit...@wikipedia.de
       Web browser: ---
   Mobile Platform: ---

When enabling the UploadWizard role in Vagrant and opening the QUnit test page,
I get:

[31cbf2e2] /wiki/Special:JavaScriptTest/qunit?debug=true Exception from line
340 of /vagrant/mediawiki/includes/MagicWord.php: Error: invalid magic word
'ns'

Backtrace:

#0 /vagrant/mediawiki/includes/MagicWord.php(263): MagicWord->load(string)
#1 /vagrant/mediawiki/includes/parser/Parser.php(5108): MagicWord::get(string)
#2 /vagrant/mediawiki/includes/parser/CoreParserFunctions.php(60):
Parser->setFunctionHook(string, array, integer)
#3 /vagrant/mediawiki/includes/parser/Parser.php(276):
CoreParserFunctions::register(Parser)
#4 [internal function]: Parser->firstCallInit()
#5 /vagrant/mediawiki/includes/StubObject.php(105): call_user_func_array(array,
array)
#6 /vagrant/mediawiki/includes/StubObject.php(125): StubObject->_call(string,
array)
#7 /vagrant/mediawiki/includes/cache/MessageCache.php(1025):
StubObject->__call(string, array)
#8 /vagrant/mediawiki/includes/cache/MessageCache.php(1025):
StubObject->firstCallInit()
#9 /vagrant/mediawiki/includes/cache/MessageCache.php(1002):
MessageCache->getParser()
#10 /vagrant/mediawiki/includes/Message.php(986):
MessageCache->transform(string, boolean, Language, Title)
#11 /vagrant/mediawiki/includes/Message.php(666):
Message->transformText(string)
#12 /vagrant/mediawiki/includes/Message.php(729): Message->toString()
#13 /vagrant/mediawiki/includes/OutputPage.php(897): Message->text()
#14 /vagrant/mediawiki/includes/OutputPage.php(945):
OutputPage->setHTMLTitle(Message)
#15 /vagrant/mediawiki/includes/specialpage/SpecialPage.php(357):
OutputPage->setPageTitle(string)
#16 /vagrant/mediawiki/includes/specials/SpecialJavaScriptTest.php(44):
SpecialPage->setHeaders()
#17 /vagrant/mediawiki/includes/specialpage/SpecialPage.php(379):
SpecialJavaScriptTest->execute(string)
#18 /vagrant/mediawiki/includes/specialpage/SpecialPageFactory.php(510):
SpecialPage->run(string)
#19 /vagrant/mediawiki/includes/Wiki.php(288):
SpecialPageFactory::executePath(Title, RequestContext)
#20 /vagrant/mediawiki/includes/Wiki.php(599): MediaWiki->performRequest()
#21 /vagrant/mediawiki/includes/Wiki.php(451): MediaWiki->main()
#22 /vagrant/mediawiki/index.php(46): MediaWiki->run()
#23 {main}

----

This is presumably caused by the grouppage-upwizcampeditors and
mwe-upwiz-help-desk-url messages which contain {{ns:project}} (which is valid
though as far as I code - not sure if this is an UW error or an error in the
core i18n code).

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to