Page MenuHomePhabricator

wikibase-api-not-recognized-language should include the invalid language code
Open, Needs TriagePublic


My bot tried to edit , but failed:

not-recognized-language: The supplied language code was not recognized. [messages:[{u'html': {u'*': u'The supplied language code was not recognized.'}, u'name': u'wikibase-api-not-recognized-language', u'parameters': []}]; help:See for API usage. Subscribe to the mediawiki-api-announce mailing list at <> for notice of API deprecations and breaking changes.]
<class 'pywikibot.exceptions.OtherPageSaveError'>

Besides the fact it's weird that an invalid language is already in use, the message should return the language code of the offending language.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptDec 6 2018, 8:34 PM