Page MenuHomePhabricator

Link to Special:Diff in default undo edit summary
Closed, ResolvedPublic

Description

The default edit summary for an undo edit (determined by message undo) specifies the revision number that is being reverted, but that number is shown as plain text in the edit summary and page history.

It would be convenient to have this number be a wikilink to [[Special:Diff/<revid>]], so it could be clicked afterwards to navigate to the original edit (e.g. to see the author, date, or other metadata).

This should be done by editing the undo-summary key in languages/i18n/en.json.

Event Timeline

Change 921485 had a related patch set uploaded (by Albertoleoncio; author: Albertoleoncio):

[mediawiki/core@master] Link to Special:Diff in default undo edit summary

https://gerrit.wikimedia.org/r/921485

Thanks @Albertoleoncio for taking this on :) for reference, he had already done the same change in ptwiki, so it's a natural progression to make this the default by editing the English source of this message.

Change 921485 merged by jenkins-bot:

[mediawiki/core@master] Link to Special:Diff in default undo edit summary

https://gerrit.wikimedia.org/r/921485

Dreamy_Jazz subscribed.

Marking as resolved as this seems to be complete.