| Anomie created this task. Anomie added a project: MediaWiki-extensions-WikibaseRepository. Herald added a subscriber: Aklapper. Herald added a project: Wikidata. |
TASK DESCRIPTION
rMW4e6810e4a2c1: API: i18n for warnings and errors deprecated several things in the API. The relevant deprecations here are:
- ApiBase::dieUsage() replaced with ApiBase::dieWithError()
- ApiBase::setWarning() replaced with ApiBase::addWarning()
- ApiBase::getErrorFromStatus() replaced with ApiErrorFormatter::arrayFromStatus()
- UsageException replaced with ApiUsageException (Gerrit change 327545 seems to be working on this one)
Gerrit change 321464 has some more details on possible replacements for the use of the ApiBase methods in your ApiErrorReporter class. The interface being added in Gerrit change 325984 might also be handy.
TASK DETAIL
EMAIL PREFERENCES
To: Anomie
Cc: thiemowmde, Anomie, Aklapper, D3r1ck01, Izno, Wikidata-bugs, aude, Mbch331
Cc: thiemowmde, Anomie, Aklapper, D3r1ck01, Izno, Wikidata-bugs, aude, Mbch331
_______________________________________________ Wikidata-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
