Summary: Preventing vandalism using
Created: 2006-06-12 08:04
Status: Closed - fixed in 2.2.0-beta43
In a thread on the PmWiki mailing list that started with this Preventing Vandalism post requesting solutions, Luigi offered this suggestion for having saves qued for moderator approval and Pm replied with this proposal:
Yes, it can be done. I'll write up a complete recipe for it, but the essential concept is to change Site.EditForm so that the "Save as draft" button is labeled "Save" and is all that a typical author sees, while the "Save" button is labeled "Publish" and and is displayed only to moderators.
In followup posts, Pico struggled to
Lugi provided this helpful distillation and comment:
Honestly, I admit that the first time I tried, I also failed about the same way.
Pico is right.
And guess that Pico's suggestion no. 1 could be a good choice:
"1. Dynamically relabel the buttons when their function changes, i.e. when the document being edited ends with "-draft" change the labels to reflect the fact that the "Save" will now publish the draft to the original and that the Save As Draft will save this draft.
Taken together, these various suggestions can be combined to propose that the labels for buttons be changed:
Details and examples
In exploring the user interface for
This table identifies what each button does, depending on whether the page being edited is the original or draft:
This table identifies current, and proposed changes to, the text that appears on labels, depending on whether the page being edited is the original or draft:
Note: the labels are only changed when buttons are presented for a draft page.
Preventing Vandalism + Clarifying labels
To explore how each issue (vandalism and clarity) is impacted by one, or more, proposals, requires an examination of the following:
Pm's proposal for a recipe for protecting vandalism viewed in various contexts
Pm's proposal for a recipe for protecting vandalism, modified to clarify labels for
|Default (unprotected site)||Protected site|
|Save As Draft||Save As Draft||Save ||Save As Draft||Save ||Save ||Save |
So, the bottom line would be that the current labels would change when editing draft pages and, for protected sites (untrusted) authors would have the button currently labeled Save hidden (on all pages), and the button currently labeled Save As Draft would renamed to Save (on all pages).