https://bugzilla.wikimedia.org/show_bug.cgi?id=50623
Alex Monk <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected], | |[email protected] | |e --- Comment #1 from Alex Monk <[email protected]> --- Chrome messed up the text of the exception being thrown so I tried to make it trigger again from the console with an identical request: ( new mw.Api ).post( { action: 'articlefeedbackv5', found: '1', comment: 'asd', anontoken: 'I1FwW4QHH7nnq0bFCw0zsfXTM9P5Uzzc', pageid: '6270', revid: '57949', bucket: '6', cta: '4', link: 'X' } ).fail( function ( code, result ) { console.log( result.error.info ); console.log( result.error['*'] ); } ); Object {abort: function, state: function, always: function, then: function, promise: function…} Exception Caught: Unable to resolve site ID 'enwiki'! #0 /data/project/apache/common-local/php-master/extensions/Wikibase/client/includes/LangLinkHandler.php(396): Wikibase\LangLinkHandler->getSiteGroup() #1 /data/project/apache/common-local/php-master/extensions/Wikibase/client/includes/LangLinkHandler.php(428): Wikibase\LangLinkHandler->getEffectiveRepoLinks(Object(Title), Object(ParserOutput)) #2 /data/project/apache/common-local/php-master/extensions/Wikibase/client/WikibaseClient.hooks.php(370): Wikibase\LangLinkHandler->addLinksFromRepository(Object(Title), Object(ParserOutput)) #3 [internal function]: Wikibase\ClientHooks::onParserAfterParse(Object(Parser), 'asd', Object(StripState)) #4 /data/project/apache/common-local/php-master/includes/Hooks.php(199): call_user_func_array('\Wikibase\Clien...', Array) #5 /data/project/apache/common-local/php-master/includes/GlobalFunctions.php(3829): Hooks::run('ParserAfterPars...', Array) #6 /data/project/apache/common-local/php-master/includes/parser/Parser.php(387): wfRunHooks('ParserAfterPars...', Array) #7 /data/project/apache/common-local/php-master/extensions/SpamBlacklist/SpamBlacklist_body.php(55): Parser->parse('asd', Object(Title), Object(ParserOptions)) #8 /data/project/apache/common-local/php-master/extensions/ArticleFeedbackv5/ArticleFeedbackv5.utils.php(359): SpamBlacklist->filter(Object(Title), 'asd', '') #9 /data/project/apache/common-local/php-master/extensions/ArticleFeedbackv5/api/ApiArticleFeedbackv5.php(121): ArticleFeedbackv5Utils::validateSpamBlacklist('asd', 6270) #10 /data/project/apache/common-local/php-master/includes/api/ApiMain.php(840): ApiArticleFeedbackv5->execute() #11 /data/project/apache/common-local/php-master/includes/api/ApiMain.php(380): ApiMain->executeAction() #12 /data/project/apache/common-local/php-master/includes/api/ApiMain.php(351): ApiMain->executeActionWithErrorHandling() #13 /data/project/apache/common-local/php-master/api.php(73): ApiMain->execute() #14 /data/project/apache/common-local/w/api.php(3): require('/data/project/a...') #15 {main} -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
