https://bugzilla.wikimedia.org/show_bug.cgi?id=45277
--- Comment #1 from Daniel Kinzler <[email protected]> --- After several discussions with Wikibase and MediaWiki core developers, it seems that for the use case of bots, unlocalized, hard coded error messages are preferred. However, when showing an error in the UI, we want a localized message. Suggestion: * For all errors arising from the client not conforming to the requirements of the API module (missing or malformed parameters, etc), use hard coded english messages. * For errors resulting from user input or system state (edit conflict, db is read only, etc), use a localized message. These will usually come from a Status object. ApiWikibase::handleStatus() implements this logic. -- 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
