Page MenuHomePhabricator

Provide semi-automated edit summaries for ZObject edits
Open, HighPublic

Description

As an editor, and edit-triager, I would like edit summaries in Wikifunctions to be more useful, more often.

WikiLambda currently use the standard MediaWiki practice of a single, optional, edit summary, which could encompass a diversity of changes.
This means that most history entries are ambiguous, or empty. (e.g. most of RecentChanges for the Main namespace)

As an idea:
I like the way that Wikidata has auto-filled details for everything that happens, due to the modular nature of editing content within each entity. (e.g. a random new lexeme's history)
(However, I am also sometimes frustrated when editing Wikidata, as I cannot suffix the automated edit-summary with a custom comment. e.g. "reverting vandalism" or "see talkpage". cf. T47224 for their related task)

Event Timeline

To automatically describe what changed, we'd need to implement something like Wikibase's change tree diff modeller and implement labels for such things. We're going to want to do this for T275940: Split out the nature of different edits to check against different rights too, which is part of Theta.

Notes: Wikidata does an approximation of this by adding codes into the human-written commit messages and then regexing them out – compare https://www.wikidata.org/w/index.php?title=Special:ApiSandbox#action=query&format=json&prop=info%7Crevisions&titles=Q42&formatversion=2&rvslots= and https://www.wikidata.org/w/index.php?title=Q42&action=history&uselang=qqx – which we could do, but is messy, poor to scale, and harder for us (as single edits can make multiple changes at once more readily on WikiLambda than on Wikibase).