aboutsummaryrefslogtreecommitdiff
path: root/wikilib.d/PmWiki.DeletingPages
diff options
context:
space:
mode:
authorpetko <petko@524c5546-5005-0410-9a3e-e25e191bd360>2011-12-28 17:36:23 +0000
committerpetko <petko@524c5546-5005-0410-9a3e-e25e191bd360>2011-12-28 17:36:23 +0000
commitaa8e358c5f46e1792662b2e733f48c1435a6a39a (patch)
treecf925ccbb1296518aa082b50ae5183ebdfa23a98 /wikilib.d/PmWiki.DeletingPages
parentd3ce6615e06de0a01c19373afdd081884a9384f7 (diff)
downloadpmwiki.svn-aa8e358c5f46e1792662b2e733f48c1435a6a39a.tar.bz2
Documentation update.
git-svn-id: svn://pmwiki.org/pmwiki/trunk@2743 524c5546-5005-0410-9a3e-e25e191bd360
Diffstat (limited to 'wikilib.d/PmWiki.DeletingPages')
-rw-r--r--wikilib.d/PmWiki.DeletingPages16
1 files changed, 7 insertions, 9 deletions
diff --git a/wikilib.d/PmWiki.DeletingPages b/wikilib.d/PmWiki.DeletingPages
index 3b8421f2..86e03768 100644
--- a/wikilib.d/PmWiki.DeletingPages
+++ b/wikilib.d/PmWiki.DeletingPages
@@ -1,11 +1,9 @@
-version=pmwiki-2.2.30 ordered=1 urlencoded=1
-agent=Mozilla/5.0 (X11; Linux x86_64; rv:5.0) Gecko/20100101 Firefox/5.0
-author=simon
+version=pmwiki-2.2.35 ordered=1 urlencoded=1
+author=Petko
charset=UTF-8
-csum=correct link
-host=85.171.160.186
+csum=refactor, shorter
name=PmWiki.DeletingPages
-rev=29
-targets=PmWiki.WikiAdministrator,Site.AllRecentChanges,PmWiki.EditVariables,PmWiki.WikiGroup,PmWiki.Categories,PmWiki.RecentChanges
-text=(:Summary: Page maintenance:)%0aTo delete a page, edit the page, select (highlight) all text in the edit textarea and replace it with the single word%0a%0a->[@delete@]%0a%0aNote that it may be a good idea to add a comment to the field @@summary@@%0aexplaining why you deleted the page. (The field @@summary@@ is usually found%0ajust below the edit textarea).%0a%0aAfter saving the changes the page is deleted. As an added safety feature, the deleted page still exists on the server (with a timestamp) and can be restored to the former page by the [[wiki administrator]].%0a%0aIf you suspect that a page has been deleted but aren't sure, have a look at the wikigroup's [=RecentChanges=]. Erasing a page counts as editing the page, and the activity is recorded there and on [[{$SiteGroup}.AllRecentChanges]].%0a%0aThe default word used for page deletion ("delete") can be changed in config.php by setting the variable $DeleteKeyPattern (see [[Edit Variables]]). If there is a danger of malicious page deletion it may be a good idea to change the delete word to something more obscure. There is also a recipe for creating a separate delete action at Cookbook:DeleteAction.%0a%0a%0a>>faq%3c%3c [[#faq]]%0a%0aQ: Deleting [[Wiki Group]]s & [[Categories]]: Once I create a Group or Category, how can I get rid of that group or category?%0aA: An admin can just remove the unwanted pages from wiki.d/ . Normally, doing it via the wiki%0adoesn't resolve the problem, since it counts as an "update" which causes the [[Recent Changes]] page to be re-created, but it is possible to modify the site's configuration to allow deletion of the group's RecentChanges page -- see Cookbook:RecentChangesDeletion.%0a
-time=1315670897
+rev=32
+targets=PmWiki.WikiAdministrator,Site.AllRecentChanges,PmWiki.EditVariables,Cookbook.DeleteAction,PmWiki.BackupAndRestore,Cookbook.CleanUp,PmWiki.WikiGroup,PmWiki.Categories,PmWiki.RecentChanges,Cookbook.RecentChangesDeletion
+text=(:Summary: Page maintenance:)%0aTo delete a page, edit the page, select (highlight) all text in the edit textarea and replace it with the single word%0a%0a->[@delete@]%0a%0aNote that it may be a good idea to add a comment to the field @@summary@@%0aexplaining why you deleted the page. (The field @@summary@@ is usually found%0ajust below the edit textarea).%0a%0aAfter saving the changes the page is deleted. As an added safety feature, the deleted page still exists on the server (with a timestamp) and can be restored to the former page by the [[wiki administrator]].%0a%0aIf you suspect that a page has been deleted but aren't sure, have a look at the wikigroup's [=RecentChanges=]. Erasing a page counts as editing the page, and the activity is recorded there and on [[{$SiteGroup}.AllRecentChanges]].%0a%0aThe default word used for page deletion ("delete") can be changed in config.php by setting the variable $DeleteKeyPattern (see [[Edit Variables]]). If there is a danger of malicious page deletion it may be a good idea to change the delete word to something more obscure. There is also a recipe for creating a separate delete action at Cookbook:DeleteAction.%0a%0a[[#cleanup]]%0a!! Removing deleted pages%0a%0aThe deleted pages are kept in the wiki.d directory, with an extension of @@,del-123456789@@ where @@123456789@@ is a unique number (timestamp). A wiki administrator may log into the server via FTP or SSH and periodically remove these files.%0a%0aOne way to remove the files is to delete them from your file manager. If you have shell access, you could use different commands, for example, go into the wiki.d directory and type one of these lines:%0a%0a rm -f *,del-*%0a find wiki.d -name '*,del-*' -delete%0a%0aAlternatively, the Cookbook:CleanUp recipe can purge those unused files. See also [[BackupAndRestore]].%0a%0a%0a>>faq%3c%3c [[#faq]]%0a%0aQ: Deleting [[Wiki Group]]s & [[Categories]]: Once I create a Group or Category, how can I get rid of that group or category?%0aA: An admin can just remove the unwanted pages from wiki.d/ . Normally, doing it via the wiki%0adoesn't resolve the problem, since it counts as an "update" which causes the [[Recent Changes]] page to be re-created, but it is possible to modify the site's configuration to allow deletion of the group's RecentChanges page -- see Cookbook:RecentChangesDeletion.%0aA: To delete a category, first delete the [@[[!Category]]@] links from all pages to that category, then just delete the category page as explained above.%0a
+time=1325092928