<h3>Explanation of How Revisions are Managed</h3>
Every time you edit a page a new revision is created. To view all revisions of a page simply click on the
<u>View other revisions</u>
link below each page. You can always go back to a previous revision by simply choosing that revision, edit it and save it.
Looking at the address bar of your browser you can see the name of this
<ow:link name="WikiPage" href="ow.asp?WikiPage" date="2005-05-02T12:00:00+01:00">Wiki Page</ow:link>
. When viewing a previous revision of this page you'll see the URL looks something like this:
<a href="http://openwiki.com/ow.asp?p=HelpOnRevisions&revision=2" class="external" target="_blank">http://openwiki.com/ow.asp?p=HelpOnRevisions&revision=2</a>
</pre>
clicking on this link would show revision 2 of the page Help On Revisions.
To show the changes between revisions of a page you can use the following parameters to control the output:
a : must have value
</li>
<li>difffrom : the first revision to consider (default is 0)</li>
<li>diffto : the last revision to consider (default is the current revision)</li>
<li>diff : type of difference (default is 0)</li>
<li>0 = show difference of previous major revision relative to diffto</li>
<li>1 = show difference of previous minor revision relative to diffto</li>
<li>2 = show difference of previous author edit relative to diffto</li>
</ul>
</ul>
E.g.:
<a href="http://openwiki.com/ow.asp?p=OpenWiki&a=diff" class="external" target="_blank">http://openwiki.com/ow.asp?p=OpenWiki&a=diff</a>
</li>
shows the difference from prior major revision relative to the current revision.
<a href="http://openwiki.com/ow.asp?p=OpenWiki&a=diff&diff=2&difffrom=3&diffto=9" class="external" target="_blank">http://openwiki.com/ow.asp?p=OpenWiki&a=diff&diff=2&difffrom=3&diffto=9</a>
</li>
shows the difference from prior author revision where only revisions 3 to 9 are taken into account.
</ul>
When editing a page you can use a checkbox labeled "Include page in
<ow:link name="RecentChanges" href="ow.asp?RecentChanges" date="2005-05-02T12:00:00+01:00">Recent Changes</ow:link>
list.".
If you check this box and save the page then the page will be marked as a "major" revision and will show up in the default listing of
<ow:link name="RecentChanges" href="ow.asp?RecentChanges" date="2005-05-02T12:00:00+01:00">Recent Changes</ow:link>
.
If you uncheck this box and save the page then the page will be marked as a "minor" revision and not show up in the default listing of
<ow:link name="RecentChanges" href="ow.asp?RecentChanges" date="2005-05-02T12:00:00+01:00">Recent Changes</ow:link>
.
It is possible to view all recent changes including minor edits, or even to view only minor edits and no major edits. The parameter
is used to control this aspect:
<li>filter=1 : show only major edits (is the default)</li>
<li>filter=2 : show only minor edits</li>
<li>filter=3 : show major and minor edits</li>
</ul>
Other parameters to control the recent changes output are:
days : show only recentchanges of the last
</li>
max : show a maximum of
recent changes
</li>
</ul>
E.g.
<a href="http://openwiki.com/ow.asp?p=RecentChanges&days=60&max=30&filter=3" class="external" target="_blank">http://openwiki.com/ow.asp?p=RecentChanges&days=60&max=30&filter=3</a>
shows a maximum of 30 recent changes in the last 60 days, showing major and minor edits.
</ow:body>