https://bugzilla.wikimedia.org/show_bug.cgi?id=50729
Web browser: ---
Bug ID: 50729
Summary: Handle exception in LangLinkHandler when sites not
found
Product: MediaWiki extensions
Version: master
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: WikidataClient
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Classification: Unclassified
Mobile Platform: ---
Currently, the client fails hard with an exception if the sites table is empty
or a site not found.
Exception from line 463 of
/data/project/apache/common-local/php-master/extensions/Wikibase/client/includes/LangLinkHandler.php:
Unable to resolve site ID 'enwiki'!
We need to handle this more gracefully and at the same time log it in a
prominent way that we are sure to be notified and aware.
An unknown site id could happen, for example, if there is a new wikipedia added
and the sites data is not synched fully yet across the clients and repo, among
other plausible scenarios.
--
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