Last modified: 2013-03-20 17:51:55 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 T47098, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 45098 - Refactor API classes to consolidate error handling
Refactor API classes to consolidate error handling
Status: VERIFIED FIXED
Product: MediaWiki extensions
Classification: Unclassified
WikidataRepo (Other open bugs)
unspecified
All All
: High enhancement (vote)
: ---
Assigned To: Wikidata bugs
:
Depends on:
Blocks: 45099
  Show dependency treegraph
 
Reported: 2013-02-17 15:46 UTC by Daniel Kinzler
Modified: 2013-03-20 17:51 UTC (History)
4 users (show)

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


Attachments

Description Daniel Kinzler 2013-02-17 15:46:48 UTC
The API classes that modify entities have diverged quite a bit, using similar but slightly different code to generate summaries, handle errors, load entities (or parts of entities), etc. A refactoring would allow improved error handling and more flexible and consistent generation of summaries. It would also remove several hundred lines of redundant code.
Comment 1 Daniel Kinzler 2013-02-20 11:06:41 UTC
I4094feee1
Comment 2 Daniel Kinzler 2013-02-20 11:07:36 UTC
I4094feee1, requires core patch I8ee9da40
Comment 3 abraham.taherivand 2013-03-20 17:51:55 UTC
Verified in Wikidata demo sprint 35-2

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


Navigation
Links