1 Date: Mon, 16 Jun 2008 14:15:24 +0000
2 Mime-Version: 1.0 (Produced by PhpWiki 1.3.14-20080124)
4 Content-Type: application/x-phpwiki;
5 pagename=Help%2FModeratedPagePlugin;
9 Content-Transfer-Encoding: binary
11 !!! What is a ModeratedPage?
13 A ModeratedPage is a page-internal setting, which restricts certain actions on certain pages.
14 The requested action and page is stored internally and an email is sent to the moderators
15 described in the linked and locked ModeratedPage action page.
16 Any moderator may approve or reject the action by simply clicking an url.
17 When approving the action, the requested action (edit, rename, ...) is performed.
19 In both cases the author is notified, so it's recommended for the
20 moderator to click on either the approve or reject links in the moderation email.
21 In case of multiple moderators: first comes, first serves.
23 !!! How to enable ModeratedPage on a single page?
25 * Check the status of this action page, esp. the moderators in the
26 plugin line, if they had their emails stored in their
27 UserPreferences, and if the action page is locked.
28 * Add a link to this action page in the page(s) in question.
30 * Lock the page to actually change the moderation status. You may want to unlock it then.
32 !!! How to disable ModeratedPage on a single page?
34 * Remove the link to this action page in the page(s) in question.
36 * Lock the page to actually change the moderation status. You may want to unlock it then.
40 <?plugin ModeratedPage ?>
45 * moderators: comma seperated list of registered usernames or groups.
46 Each user should have his email defined in his prefs. Default: "Administrators" or
47 <?plugin SystemInfo ADMIN_USER ?>
48 * requirelevel: one of 0, 1, 2 or 10 on which moderation is used. Default: false (use requireaccess instead)
49 * requireaccess: comma separated list of access perms, on which the moderation is used
50 "view,edit,create,list,remove,change"
51 Default: edit,remove,change
56 <?plugin ModeratedPage ?>
59 !!! How does it work internally?
61 You need to lock the page additionally, so that the link parser performs
62 some magic whether the ModeratedPage link is present or not, for efficiency
63 reasons. It can be unlocked again, and even the ModeratedPage link may be removed.
64 The status will only be changed on the *lock* action, whether the ModeratedPage
65 link is present or not.
67 The moderation status is stored in each page in question.
68 Each moderated action is stored in the page also, together with a randomly
69 created permission key to allow Grant by a simple external unauthorized request.
70 There's no timeout on moderated actions, so the actions may stack up.
71 The delayed actions may be performed in any order, there's no strict ordering to
72 follow for the moderator.
74 !!! How to enable ModeratedPage on multiple/all pages?
76 If you enable the config option ENABLE_MODERATEDPAGE_ALL, the page moderation status on
77 every page is automatically set to check this action page ModeratedPage.
79 There may come another administrative plugin to change the moderation
80 status on selected pages.
83 [Reini Urban|PhpWiki:ReiniUrban]
86 [PhpWikiDocumentation] [CategoryWikiPlugin]