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

            Bug ID: 62754
           Summary: Failed to map interlanguage prefix ca to a global site
                    ID
           Product: MediaWiki extensions
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: WikidataClient
          Assignee: wikidata-b...@lists.wikimedia.org
          Reporter: aude.w...@gmail.com
                CC: wikidata-b...@lists.wikimedia.org
       Web browser: ---
   Mobile Platform: ---

I am getting notices when saving a page in the client with local interwiki
links (e.g. [[it:Roma]]) This causes me to be unable to save the page.

I think this is because of cached SiteList data which is missing navigation
ids.  I can't reproduce on test2 or on beta wikipedia.

[17-Mar-2014 23:06:31] PHP Notice:  Failed to map interlanguage prefix ca to a
global site ID. [Called from Wikibase\LangLinkHandler::localLinksToArray in
/Library/WebServer/Documents/php-master/extensions/Wikibase/client/includes/LangLinkHandler.php
at line 303] in
/Library/WebServer/Documents/php-master/includes/debug/Debug.php on line 303
[17-Mar-2014 23:06:31] PHP Stack trace:                                         
[17-Mar-2014 23:06:31] PHP   1. {main}()
/Library/WebServer/Documents/php-master/api.php:0             
[17-Mar-2014 23:06:31] PHP   2. ApiMain->execute()
/Library/WebServer/Documents/php-master/api.php:86
[17-Mar-2014 23:06:31] PHP   3. ApiMain->executeActionWithErrorHandling()
/Library/WebServer/Documents/php-master/includes/api/ApiMain.php:335
[17-Mar-2014 23:06:31] PHP   4. ApiMain->executeAction()
/Library/WebServer/Documents/php-master/includes/api/ApiMain.php:364
[17-Mar-2014 23:06:31] PHP   5. ApiRunJobs->execute()
/Library/WebServer/Documents/php-master/includes/api/ApiMain.php:900
[17-Mar-2014 23:06:31] PHP   6. ApiRunJobs::executeJobs()
/Library/WebServer/Documents/php-master/includes/api/ApiRunJobs.php:68
[17-Mar-2014 23:06:31] PHP   7. CirrusSearch\Job->run()
/Library/WebServer/Documents/php-master/includes/api/ApiRunJobs.php:109
[17-Mar-2014 23:06:31] PHP   8. CirrusSearch\LinksUpdateJob->doJob()
/Library/WebServer/Documents/php-master/extensions/CirrusSearch/includes/Job.php:52
[17-Mar-2014 23:06:31] PHP   9. CirrusSearch\Updater->updateFromTitle()
/Library/WebServer/Documents/php-master/extensions/CirrusSearch/includes/LinksUpdateJob.php:46
[17-Mar-2014 23:06:31] PHP  10. CirrusSearch\Updater->updatePages()
/Library/WebServer/Documents/php-master/extensions/CirrusSearch/includes/Updater.php:62
[17-Mar-2014 23:06:31] PHP  11. CirrusSearch\Updater->buildDocumentsForPages()
/Library/WebServer/Documents/php-master/extensions/CirrusSearch/includes/Updater.php:168[17-Mar-2014
23:06:31] PHP  12. CirrusSearch\Updater->getContentAndParserOutput()
/Library/WebServer/Documents/php-master/extensions/CirrusSearch/includes/Updater.php:311
[17-Mar-2014 23:06:31] PHP  13. WikitextContent->getParserOutput()
/Library/WebServer/Documents/php-master/extensions/CirrusSearch/includes/Updater.php:357[17-Mar-2014
23:06:31] PHP  14. StubObject->parse()
/Library/WebServer/Documents/php-master/includes/content/WikitextContent.php:334
[17-Mar-2014 23:06:31] PHP  15. StubObject->__call()
/Library/WebServer/Documents/php-master/includes/content/WikitextContent.php:334
[17-Mar-2014 23:06:31] PHP  16. StubObject->_call()
/Library/WebServer/Documents/php-master/includes/StubObject.php:119
[17-Mar-2014 23:06:31] PHP  17.
call_user_func_array:{/Library/WebServer/Documents/php-master/includes/StubObject.php:99}()
/Library/WebServer/Documents/php-master/includes/StubObject.php:99
[17-Mar-2014 23:06:31] PHP  18. Parser->parse()
/Library/WebServer/Documents/php-master/includes/StubObject.php:99[17-Mar-2014
23:06:31] PHP  19. wfRunHooks()
/Library/WebServer/Documents/php-master/includes/parser/Parser.php:396
[17-Mar-2014 23:06:31] PHP  20. Hooks::run()
/Library/WebServer/Documents/php-master/includes/GlobalFunctions.php:4011
[17-Mar-2014 23:06:31] PHP  21.
call_user_func_array:{/Library/WebServer/Documents/php-master/includes/Hooks.php:206}()
/Library/WebServer/Documents/php-master/includes/Hooks.php:206[17-Mar-2014
23:06:31] PHP  22. Wikibase\ClientHooks::onParserAfterParse()
/Library/WebServer/Documents/php-master/includes/Hooks.php:206
[17-Mar-2014 23:06:31] PHP  23.
Wikibase\LangLinkHandler->addLinksFromRepository()
/Library/WebServer/Documents/php-master/extensions/Wikibase/client/WikibaseClient.hooks.php:383[17-Mar-2014
23:06:31] PHP  24. Wikibase\LangLinkHandler->getEffectiveRepoLinks()
/Library/WebServer/Documents/php-master/extensions/Wikibase/client/includes/LangLinkHandler.php:396
[17-Mar-2014 23:06:31] PHP  25. Wikibase\LangLinkHandler->localLinksToArray()
/Library/WebServer/Documents/php-master/extensions/Wikibase/client/includes/LangLinkHandler.php:367[17-Mar-2014
23:06:31] PHP  26. wfWarn()
/Library/WebServer/Documents/php-master/extensions/Wikibase/client/includes/LangLinkHandler.php:303[17-Mar-2014
23:06:31] PHP  27. MWDebug::warning()
/Library/WebServer/Documents/php-master/includes/GlobalFunctions.php:1145
[17-Mar-2014 23:06:31] PHP  28. MWDebug::sendMessage()
/Library/WebServer/Documents/php-master/includes/debug/Debug.php:157

-- 
You are receiving this mail because:
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