Last modified: 2014-03-19 11:06:42 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 T64754, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 62754 - Failed to map interlanguage prefix ca to a global site ID
Failed to map interlanguage prefix ca to a global site ID
Status: VERIFIED FIXED
Product: MediaWiki extensions
Classification: Unclassified
WikidataClient (Other open bugs)
master
All All
: Unprioritized normal (vote)
: ---
Assigned To: Wikidata bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-03-17 22:18 UTC by Aude
Modified: 2014-03-19 11:06 UTC (History)
2 users (show)

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


Attachments

Description Aude 2014-03-17 22:18:09 UTC
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
Comment 1 Gerrit Notification Bot 2014-03-18 15:11:43 UTC
Change 119207 had a related patch set uploaded by Aude:
Put SiteList navigation ids into cache

https://gerrit.wikimedia.org/r/119207
Comment 2 Gerrit Notification Bot 2014-03-18 15:51:28 UTC
Change 119207 merged by jenkins-bot:
Put SiteList navigation ids into cache

https://gerrit.wikimedia.org/r/119207

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


Navigation
Links