Tags:
create new tag
, view all tags

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

TopicSummary:
CurrentState:
CommittedDeveloper:
ReasonForDecision:
DateOfCommitment:   Format: YYYY-MM-DD
ConcernRaisedBy:
BugTracking:
OutstandingIssues:
RelatedTopics:
InterestedParties:
ProposedFor:
TWikiContributors:
 

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
 
  • Learn about TWiki  
  • Download TWiki
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-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.