Last modified: 2014-11-11 11:22:01 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 T75258, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 73258 - API modules should report null-edits as such
API modules should report null-edits as such
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
WikidataRepo (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Wikidata bugs
u=dev c=backend p=
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-11-11 10:12 UTC by Daniel Kinzler
Modified: 2014-11-11 11:22 UTC (History)
3 users (show)

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


Attachments

Description Daniel Kinzler 2014-11-11 10:12:03 UTC
Our API modules currently report null-edits as if they actually caused the entity to change (the result contains the new value). API modules could detect null edits by comparing the new revision ID reported by EditEntity (from EntityStore) with the base revision id. If they are the name, the edit did not have any effect. This should be reported by not including a ("new") value in the result, and possibly by providing a special flag ("unchanged" or some such).

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


Navigation
Links