|
Cookbook /
MarkForDeleteSummary: Mark pages for delete and allow review.
Version: 0.3.2
Prerequisites: pmwiki-2.0
Last-tested-with: pmwiki-2.0.12
Status: stable
Maintainer:
Categories:
Votes:
GoalProvide the opportunity to mark pages for deletion and collect them on a summary page for a peer review or later deletion by the administrator. AnswerThe mark for deletion process works this way
InstallationNote: "pagename" refers to "Group.Name" Include markfordelete.phpΔ in your config file: include_once("Set the parameters: Mandatory
Optional
Localization'Week from' => 'Header on the summary page', 'New Deletion Candidate' => 'Text in the RecentChanges for the summary page', 'Marked for Deletion' => 'Text in the RecentChanges for the marked page', 'Delete' => 'Text of the template snippet', The Template SnippetPut in your skin template file <!--function:MarkForDeleteLink--> which outputs the deletion link. The deletion link will only be set if the current page is not already on the summary page and its name doesn't match someting in $MarkForDeleteExcludePattern. The FormThere is a new Form variable which holds the name of the site you want to mark. The pagename of the form is set by The form should look something like this:
NotesYou can bypass the form, if you want, by providing paramters when calling the markfordelete action: perform=1 pagetodelete=pagename Releases
CommentsSee AlsoContributors |