Motivation
There are users who click "edit" to view the raw text and then "save" to quit editing. Even if nothing is changed, this action makes an update.
Description and Documentation
If nothing is changed, the "save" script is to do nothing.
Examples
Impact
Implementation
--
Contributors:
Hideyo Imazu - 2016-03-09
Discussion
Makes sense for 99% of use cases.
I think there should be an exception. The
HeadlinesPlugin has a
touch="Topic1, Topic2" parameter to "touch" topics without changes. This is to trigger The
MailerContrib to send an e-mail with a newsletter containing newsfeed update. The plugin specifies
forcenewrevision => '1' for
TWiki::Func::saveTopic(). We could use that flag as an exception, e.g. create a new no-diff revision as the name implies. Not sure if another flag should be created for this case. My hunch is that
forcenewrevision is descriptive enough, and if a user checks that box it is OK to create a new (possibly empty diff) revision.
--
Peter Thoeny - 2016-03-10