plugin:cleanup
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
plugin:cleanup [2015-11-02 08:29] – created 175.171.152.104 | plugin:cleanup [2023-12-08 09:41] (current) – + Jack Jackrum 148.64.24.63 | ||
---|---|---|---|
Line 2: | Line 2: | ||
---- plugin ---- | ---- plugin ---- | ||
- | description: | + | description: |
- | author | + | author |
- | email : | + | email : dokuwiki@cosmocode.de |
- | type : | + | type : |
- | lastupdate : 2015-11-02 | + | lastupdate : 2016-07-06 |
- | compatible : | + | compatible : weatherwax, binky, Hrun, Detritus, Frusterick Manners, Greebo, Hogfather, Igor, Jack Jackrum |
depends | depends | ||
conflicts | conflicts | ||
similar | similar | ||
- | tags : | + | tags : |
- | downloadurl: | + | downloadurl: |
- | bugtracker : # eg. http:// | + | bugtracker : https:// |
- | sourcerepo : # eg. http:// | + | sourcerepo : https:// |
donationurl: | donationurl: | ||
Line 21: | Line 21: | ||
---- | ---- | ||
- | //:!: This template contains various hints on how to fill in data (formatted in italics). Be sure to remove the hints and unwanted sections (Eg. the Syntax/Example section for non-syntax | + | [[https://www.cosmocode.de/en/ |
+ | |||
+ | This plugin can automatically or manually search the data directory for old and possibly unused files and delete them to make space available again. | ||
===== Installation ===== | ===== Installation ===== | ||
- | //[First, last and only chance to warn users before installing (some has already done that before reading this)]// | + | Search |
- | + | ||
- | :!: **External requirements: | + | |
- | * [[A banana]] | + | |
- | * [[Another banana]] | + | |
- | + | ||
- | Install | + | |
- | + | ||
- | ===== Examples/ | + | |
- | + | ||
- | //[Most people learn by example, so this goes first]// | + | |
- | + | ||
- | See the plugin in action [[www.demosite.com|here]]. The sample page shows all the styles available with the plugin. | + | |
- | + | ||
- | A simple box: | + | |
- | + | ||
- | <box> the box contents </ | + | |
- | + | ||
- | Some more complex boxes | + | |
- | + | ||
- | <box 80% round orange|a title> the box contents</ | + | |
- | <box 50% left blue>the box contents</ | + | |
- | <box 60% round #f99 #fc9 #fcc # | + | |
- | + | ||
- | //[Pictures showing the rendered result will help users to understand]// | + | |
- | + | ||
- | ===== Syntax ===== | + | |
- | + | ||
- | //[Complete syntax]// | + | |
- | + | ||
- | Basic syntax: | + | |
- | < | + | |
- | * **action** can be one of this: | + | |
- | * // | + | |
- | * //history// --- old revisions | + | |
- | + | ||
- | ===== Configuration and Settings ===== | + | |
- | + | ||
- | //[also CSS style tips]// | + | |
- | + | ||
- | ===== Development ===== | + | |
- | + | ||
- | // | + | |
- | + | ||
- | === Change Log === | + | |
- | + | ||
- | // | + | |
- | + | ||
- | * **2009-01-01** | + | |
- | * Initial release | + | |
- | + | ||
- | === Known Bugs and Issues === | + | |
- | + | ||
- | //[this section might not be needed in case of external bug manager, or use RSS feed]// | + | |
- | + | ||
- | === ToDo/Wish List === | + | |
- | // | + | ===== Usage ===== |
- | ===== FAQ ===== | + | You can configure some times in the configuration manager. The actual work can be triggered from its own admin page where you can preview the affected files and start the deletion process. The cleanup can be automated by activating it in the configuration. |
- | // | + | The following default ages are used in the plugin: |
- | ===== Discussion ===== | + | | cache files | 3 months | |
+ | | old page revisions | 2 months | | ||
+ | | old media revisions | 1 month | | ||
+ | | orphaned page meta data | 3 months | | ||
+ | | orphaned media meta data | 2 months | | ||
+ | | stale lock files | 30 minutes | | ||
- | //Could be placed on an external page (e.g. plugin:pluginname: | + | Please note: for cache files it is not possible to determine if a cache file is still in use. On systems where access times (atime) are available the configured time will be used to see when a cache file was last accessed. If atimes are not available the last modification date is used instead. This means it can happen that cache files get deleted that were still in use. However DokuWiki will simply recreate these files. |
+ | On large wikis the search process may take a long time and might time out before finishing. The automated process can optionally be run from command line by running the provided '' | ||
+ | ===== See also ===== | ||
+ | * [[tips: |
plugin/cleanup.1446449373.txt.gz · Last modified: 2015-11-02 08:29 by 175.171.152.104