User "Krinkle" posted a comment on MediaWiki.r100243.

Full URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/100243#c24583
Commit summary:

Api module for marking translations as reviewed.
Internationalization/#128

Comment:

It's not an ideal situation but that's how it's done so far. We could create a 
convention that every error code should have an entry in i18n that modules can 
use (at least for the plain English one).

For example, now several gadgets, extensions as well as core features duplicate 
messages for generic errors that the API might throw (the kind of errors that 
aren't module-specific). Having generic messages for "ajax request failed", 
"api error foo bar", ... would be nice.

Back to the present, yeah. Create whatever messages needed. Usually this means 
not informing the user about what exactly went wrong (in most cases it's not of 
interest wether the request failed because of a missing edittoken or because 
the request required POST)

_______________________________________________
MediaWiki-CodeReview mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview

Reply via email to