Last modified: 2013-08-01 09:58:16 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T47276, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 45276 - Fix error codes returned by the API.
Fix error codes returned by the API.
Status: VERIFIED FIXED
Product: MediaWiki extensions
Classification: Unclassified
WikidataRepo (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Wikidata bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-02-22 13:29 UTC by Daniel Kinzler
Modified: 2013-08-01 09:58 UTC (History)
4 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Daniel Kinzler 2013-02-22 13:29:06 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.
Comment 1 Gerrit Notification Bot 2013-07-08 15:14:09 UTC
Change 72528 had a related patch set uploaded by Addshore:
Standardising many errors throught the api

https://gerrit.wikimedia.org/r/72528
Comment 2 Gerrit Notification Bot 2013-07-10 13:18:48 UTC
Change 72528 had a related patch set (by Addshore) published:
Standardising the api errors and methods

https://gerrit.wikimedia.org/r/72528
Comment 3 Gerrit Notification Bot 2013-07-10 13:24:39 UTC
Change 72528 merged by Addshore:
Standardising the api errors and methods

https://gerrit.wikimedia.org/r/72528
Comment 4 Gerrit Notification Bot 2013-07-10 14:29:44 UTC
Change 72958 had a related patch set uploaded by Addshore:
Revert Revert + Standardising the api errors

https://gerrit.wikimedia.org/r/72958
Comment 5 Gerrit Notification Bot 2013-07-10 14:34:46 UTC
Change 72958 merged by Addshore:
Revert Revert + Standardising the api errors

https://gerrit.wikimedia.org/r/72958
Comment 6 Addshore 2013-07-16 15:13:17 UTC
https://gerrit.wikimedia.org/r/#/c/73966/
Comment 7 abraham.taherivand 2013-08-01 09:58:16 UTC
Verified in Wikidata demo July 31th.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links