ApproveChanges

Annotated pages/HelpOnApproveChanges

24:bb4e763711e9
2011-10-16 Paul Boddie Added tag rel-0-1 for changeset 598a4562d7f3
paul@19 1
##master-page:HelpTemplate
paul@19 2
##master-date:Unknown-Date
paul@19 3
#format wiki
paul@19 4
#language en
paul@19 5
paul@19 6
== ApproveChanges ==
paul@19 7
paul@20 8
The !ApproveChanges action for !MoinMoin permits the approval of page changes made by untrusted users. Such changes are queued on a separate subpage of each page edited by untrusted users, so if such a user edits !FrontPage, the edited version will be saved as a revision of !FrontPage/ApprovalQueue. By using the !ApproveChanges action, reviewers can approve acceptable changes and incorporate them into the original (parent) page. The !ApprovalQueue subpage is never seen by anyone other than reviewers.
paul@19 9
paul@19 10
<<TableOfContents(3)>>
paul@19 11
paul@19 12
== Finding Queued Changes ==
paul@19 13
paul@19 14
Since changes queued for review are typically written to subpages called !ApprovalQueue, a search for such pages should yield a list of queued changes pages where changes are waiting to be reviewed. The ChangesToReview page provides such a search and could therefore be a useful interface for page reviewers.
paul@19 15
paul@19 16
== Navigating Queued Changes ==
paul@19 17
paul@19 18
Once a queued changes page has been found, the contents of the page will reflect the most recent queued change. However, there may be several queued revisions of the page, and it may be the case that one of these revisions is more appropriate than the others. By using the info action on a queued changes page, the different revisions may be browsed and the most suitable revision displayed.
paul@19 19
paul@19 20
When choosing the !ApproveChanges action on a particular revision of a page, that particular revision will be the one approved for incorporation into the proper page itself. When choosing the action on the default view of a page (without any revision being specified), the current revision will be the one approved.
paul@19 21
paul@19 22
It should be noted that revisions of the queued changes page are independent of each other: unless an untrusted user has saved a page more than once, refining their edits over time, all edits will have been made with only the knowledge of the contents of the parent page. Thus, it can be necessary to approve more than one revision of the queued changes page if all suitable changes are to be incorporated into the parent page.
paul@19 23
paul@19 24
== Approving Changes ==
paul@19 25
paul@19 26
Choosing the !ApproveChanges action on a queued changes page will result in a dialogue being displayed, asking whether the displayed page version should be approved. Approving the version will result in its changes being propagated to the parent page.
paul@19 27
paul@19 28
=== The Effect of Approving Changes ===
paul@19 29
paul@19 30
The effect of approving changes is slightly more sophisticated than just copying the approved version of the page over the parent page. Instead, the action considers which changes were actually made to the original version of the parent page when the untrusted user decided to edit it, and such changes are then applied to the parent page as it is now.
paul@19 31
paul@19 32
In the simplest of cases, the queued changes can be applied and the parent page updated without incident. However, it is possible that the following message be shown when choosing the action:
paul@19 33
paul@19 34
  ''The affected page has been edited since the queued changes were made.''
paul@19 35
paul@19 36
This indicates that the parent page has changed since the untrusted user made their edits, with a possible consequence of this being that their changes no longer fit in with the page as it is now. In many cases, the queued changes made by the untrusted user and the changes made in competition with the queued changes can be reconciled and the parent page updated with both sets of changes intact. Sometimes, however, the changes will conflict with each other and need to be reconciled manually. In this latter case, the page editor will be opened for the editing of the parent page with conflict indicators present in the page text showing the problematic regions where conflicts have arisen.
paul@19 37
paul@20 38
Once changes have been approved from a queued changes page, the !ApprovalQueue subpage will be deleted and will not appear in any search for queued changes. However, the page revisions will still exist, and approval of other revisions from the queue can still occur.
paul@19 39
paul@19 40
== Rejecting Changes ==
paul@19 41
paul@20 42
Where no changes present in a queued changes page are of interest, the !ApprovalQueue subpage itself can be deleted. This effectively rejects all queued changes.
paul@19 43
paul@19 44
== Approving Users ==
paul@19 45
paul@19 46
Users who are present in the ApprovedGroup do not need to have their edits approved. Thus, to avoid inconveniencing trusted users of a Wiki, such users should be added to this group as soon as possible.
paul@19 47
paul@19 48
== Appointing Reviewers ==
paul@19 49
paul@19 50
Users who are present in the PageReviewersGroup are allowed to view and approve queued changes. Thus, users who have an editorial capacity in a Wiki should be added to this group so that they can control the final content of each page.