Last modified: 2013-08-01 09:58:16 UTC
ApiBase::dieUsage takes an error code. In the WIkibase API modules, we often include the module name in that code. This is redundant: ApiBase::dieUsage already attaches the module name to the code. So we should not do this again, but use the same code to indicate the same problem in different modules. This also eases code reuse between modules.
Change 72528 had a related patch set uploaded by Addshore: Standardising many errors throught the api https://gerrit.wikimedia.org/r/72528
Change 72528 had a related patch set (by Addshore) published: Standardising the api errors and methods https://gerrit.wikimedia.org/r/72528
Change 72528 merged by Addshore: Standardising the api errors and methods https://gerrit.wikimedia.org/r/72528
Change 72958 had a related patch set uploaded by Addshore: Revert Revert + Standardising the api errors https://gerrit.wikimedia.org/r/72958
Change 72958 merged by Addshore: Revert Revert + Standardising the api errors https://gerrit.wikimedia.org/r/72958
https://gerrit.wikimedia.org/r/#/c/73966/
Verified in Wikidata demo July 31th.