Feature Proposals » Save script not to update if there is no change

Summary

Current State: Developer: Reason: Date: Concerns By: Bug Tracking: Proposed For:
UnderInvestigation None KampalaRelease

Edit Form

CurrentState:
ReasonForDecision:
DateOfCommitment: Format: YYYY-MM-DD
ProposedFor:

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

WhatDoesItAffect: Usability

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日

Edit | Attach | (削除) Watch (削除ここまで) | Print version | History : r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2016年03月10日 - PeterThoeny
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.

AltStyle によって変換されたページ (->オリジナル) /