https://bugzilla.wikimedia.org/show_bug.cgi?id=73258
Bug ID: 73258
Summary: API modules should report null-edits as such
Product: MediaWiki extensions
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: WikidataRepo
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Web browser: ---
Mobile Platform: ---
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).
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l