Page MenuHomePhabricator

Provide a default edit summary when restoring an old revision of page
Open, LowPublic

Description

Author: stanley

Description:
Just like deleting, it would be nice if there is default edit summary when reverting article (editing old revision). The default edit summary would be "Revert to last version by old_version_username".

Notes:
+ old_revision_username : username who edit the old revision
+ This default edit summary can be made new system message for allowing localisation (Revert to last version by $1)

See also

Details

Reference
bz4765

Event Timeline

bzimport raised the priority of this task from to Low.Nov 21 2014, 9:04 PM
bzimport set Reference to bz4765.
bzimport added a subscriber: Unknown Object (MLST).
bzimport created this task.Jan 27 2006, 2:11 AM
brion added a comment.Jan 27 2006, 2:13 AM

'last version' is probably not wise as it may not be the last one. :)
Popping in a specific date/time might be good though.

stanley wrote:

Good point. Another approach is to make date/time as variable which can be
supressed.

  • Revert to revision $2 by $1

$1 : oldrevision_user_name
$2 : oldrevision_datetime

lupin.wp wrote:

Won't this lead to misleading edit summaries when people edit an old revision
and change it but forget to change the summary?

brion added a comment.Feb 2 2006, 6:31 AM

A more generic message would be better ('based on version by Blah at XX:YY:ZZ')

stanley wrote:

Another alternatif:

+In diff view, add new link "Rollback to this version" to the old revision title.

"Revision as of 21:44, 2 Februariy 2006" [Rollback to this version]
The proposed new system message in #2 can be used by this action without
compromising comment #3

robchur wrote:

(In reply to comment #5)

I'd state that that's a whole other kettle of fish.

See also bug 38382.

He7d3r added a subscriber: He7d3r.Nov 24 2015, 3:49 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptNov 24 2015, 3:49 PM
He7d3r updated the task description. (Show Details)Nov 24 2015, 3:51 PM
He7d3r set Security to None.
MGChecker updated the task description. (Show Details)
Krinkle renamed this task from Default edit summary when editing old revision to Provide a default edit summary when restoring an old revision of page.Feb 9 2019, 9:01 PM