Page MenuHomePhabricator

Allow custom user summaries to be added to Wikibase edits
Closed, DuplicatePublic


Per user request, it is often important for the editors to be able to add custom edit summary message in addition to the automatically generated one. Yet there doesn't seem to be any way for the wikidata users to add that right before hitting save.

The Wikibase API already supports it (e.g. I was able to add an extra summary parameter right before the setClaim call, producing this summary text), so this change would only be needed in javascript, possibly as a gadget (at first).

Proposed implementation

On save link mouse-over, show a drop down, and do not hide it unless user clicks outside of the box. Any entered text should be preserved even if the dropbox is closed. Other save links on the same page would not be affected. For mobile, we may have to have a separate edit box.

The first step should make it easy to implement via Gadgets (e.g. by providing some sort of a pre-save hook) so that a Gadget would 1) handle the mouseovers on save to show the popup, and 2) handle pre-save hook to add an extra summary parameter to the post (and be able to examine parameters are being sent.

Event Timeline

Yurik created this task.Mar 8 2019, 12:32 AM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptMar 8 2019, 12:32 AM
Yurik updated the task description. (Show Details)Mar 8 2019, 12:35 AM
Yurik updated the task description. (Show Details)
mxn added a subscriber: mxn.Mar 9 2019, 2:21 AM