Skip to content

Commit

Permalink
Item10121: Revision scheme that allows jumping the revisions numbers
Browse files Browse the repository at this point in the history
No sain person will ever do this to our users.
It is utterly mad. And totally unacceptable. And unnecessary.


git-svn-id: http://svn.foswiki.org/trunk@10224 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
  • Loading branch information
KennethLavrsen authored and KennethLavrsen committed Dec 8, 2010
1 parent b45fbd0 commit 2bc9d36
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion core/data/System/CommandAndCGIScripts.txt
Expand Up @@ -53,7 +53,7 @@ All the scripts accept a number of common parameters. The first two components o
| =user= | Command-line only; set the name of the user performing the action. Note: this usage is inherently insecure, as it bypasses webserver login constraints. For this reason only authorised users should be allowed to execute scripts from the command line. | |
| =validation_key= | part of cross-site scripting protection. Any request sent from browsers that might change data stored on the server must carry a key that indentifies the source of the request. | |

Where revision parameters are required, individual versions are identified by positive, non-zero integers. Older revisions always have lower numbers, but numbers cannot be assumed to be sequential, nor can the first version of a topic be assumed to be version 1. For compatibility reasons, Some scripts accept revision numbers with '1.' (or even 'r1.') prepended to the number, but this usage is deprecated and should be corrected when encountered.
Where revision parameters are required, individual versions are identified by positive, non-zero integers. Versions start with 1 and are sequencial. For compatibility reasons, Some scripts accept revision numbers with '1.' (or even 'r1.') prepended to the number, but this usage is deprecated and should be corrected when encountered.

---+++ =attach=
Despite the name, this script doesn't actually attach a file to a topic - for that, use =upload=. This script is part of the transactions sequence executed when a file is uploaded from the browser. it just generates the "new attachment" page for a topic.
Expand Down
6 changes: 1 addition & 5 deletions core/data/System/TopicsAndWebs.txt
Expand Up @@ -92,11 +92,7 @@ Note that if you use the [[WebCreateNewTopic][Topic Creator]], WikiWord rules ar
<blockquote class="foswikiHelp">%I% The naming rules may be different for your installation; ask the [[mailto:%WIKIWEBMASTER%][wiki administrator]] who may have customised the ={NameFilter}= expert option under =Security and Authentication= in [[%SCRIPTURLPATH{"configure"}%#Environment$SecurityAndAuthentication][configure]]</blockquote>

---+++ Revision numbers
Topic and attachment versions are identified by positive, non-zero, integer numbers. Older revisions always have smaller numbers, but numbers cannot be assumed to be sequential, nor can you assume that the first revision of a topic will be revision 1. For example, you might have a topic history that runs like this:

=84 > 95 > 1001 > 7690=

where 84 is the first version and 7690 the most recent.
Topic and attachment versions are identified by positive, non-zero, integer numbers. Versions start with 1 and are sequencial.

#RenamingTopics
#RevisionRollback
Expand Down

0 comments on commit 2bc9d36

Please sign in to comment.