Page MenuHomePhabricator

Improve edit summary for calls to `wbeditentity` with the `clear` parameter set
Open, MediumPublic

Description

Problem:
Currently, the edit summary generated from an API call to wbeditentity when the clear parameter is set reads "Cleared an Item" which is misleading, as the Item is not cleared, but in fact, overridden with new data in most cases. See the following diff as an example: https://wikidata.beta.wmflabs.org/w/index.php?title=Q522318&diff=1309601&oldid=1113678

Therefore, we would like to update this edit summary message to read: "Overwrote an Item"

Acceptance Criteria:

  • Edit summaries for API changes from wbeditentity with the clear parameter read "Overwrote an Item"

Event Timeline

Addshore raised the priority of this task from to Low.
Addshore updated the task description. (Show Details)
Addshore added subscribers: Addshore, Bene, daniel.

I guess the best option is to just ignore the clear parameter in the summary. The entity mostly doesn't get cleared but only some data is added and some is removed. If a lot of stuff gets removed that is indicated by the byte difference.

JanZerebecki renamed this task from When using wbeditentity and the clear parameter the summary should be improved to say "Setting entity" or just "editing entity" to [Story] When using wbeditentity and the clear parameter the summary should be improved to say "Setting entity" or just "editing entity".Sep 10 2015, 6:15 PM
JanZerebecki moved this task from incoming to ready to go on the Wikidata board.

Should we just go and change that line?

Should we just go and change that line?

Yes

Addshore changed the task status from Open to Stalled.Feb 28 2018, 12:51 PM
Aklapper changed the task status from Stalled to Open.May 10 2020, 8:35 PM

The previous comments don't explain what/who exactly this task is stalled on ("If a report is waiting for further input (e.g. from its reporter or a third party) and can currently not be acted on"). Hence resetting task status.

ItamarWMDE renamed this task from [Story] When using wbeditentity and the clear parameter the summary should be improved to say "Setting entity" or just "editing entity" to Improve edit summary for calls to `wbeditentities` with the `clear` paramter set.Aug 4 2022, 2:20 PM
ItamarWMDE renamed this task from Improve edit summary for calls to `wbeditentities` with the `clear` paramter set to Improve edit summary for calls to `wbeditentity` with the `clear` paramter set.
ItamarWMDE updated the task description. (Show Details)
ItamarWMDE updated the task description. (Show Details)
ItamarWMDE added a subscriber: Lydia_Pintscher.
matej_suchanek renamed this task from Improve edit summary for calls to `wbeditentity` with the `clear` paramter set to Improve edit summary for calls to `wbeditentity` with the `clear` parameter set.Aug 5 2022, 3:27 PM
Lydia_Pintscher raised the priority of this task from Low to Medium.Aug 10 2022, 10:12 AM