History Cleanup Plugin

clearhistory plugin by Dominik Eckelmann
Removes subsequent edits by the same user from old revisions and history entries

Last updated on 2009-04-08. Provides Admin, Action.
Compatible with DokuWiki 2008-05-05+.

Tagged with maintenance, revisions, spam, users.

Download and Installation

Download and install the plugin using the Plugin Manager using the following URL. Refer to Plugins on how to install plugins manually.

Changes

Usage

Access the Admin menu and choose the History Cleanup plugin.

Cleanup on last changes

The plugin checks all pages from the recent changes page.

Configuration

In configuration manager, you can also setup the plugin to run automatically once a day.

Cleanup on namespace

The plugin checks all pages from a namespace and it's sub-namespaces. If no namespace is given it checks all pages.

Page cleanup process

  • The plugin checks for all old versions of a page.
  • it checks from old to new version.
  • it check always two versions that are back-to-back each other.
  • if the authors are the same and the time span between the versions is lesser then 1 hour the old version will be deleted.

Example

Here a small example on the DokuWiki welcome page history:

History before:

2008/08/16 19:24 DokuWiki – (external edit) (current)
2008/08/10 15:34 DokuWiki – re-added doku> interwikilink again, because this page gets included in the install tarball andi
2008/08/10 13:57 DokuWiki – 87.206.233.64
2008/08/10 13:57 DokuWiki – 87.206.233.64
2008/08/10 07:10 DokuWiki – 93.135.108.77
2008/08/10 07:10 DokuWiki – 93.135.108.77
2008/08/09 13:57 DokuWiki – fixed links, page seems clean 82.224.163.148

History after:

2008/08/16 19:24 DokuWiki – (external edit) (current)
2008/08/10 15:34 DokuWiki – re-added doku> interwikilink again, because this page gets included in the install tarball andi
2008/08/10 13:57 DokuWiki – 87.206.233.64
2008/08/10 07:10 DokuWiki – 93.135.108.77
2008/08/09 13:57 DokuWiki – fixed links, page seems clean 82.224.163.148

TODO

 
plugin/clearhistory.txt · Last modified: 2010/01/18 13:30 by dominik
 
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Noncommercial-Share Alike 3.0 Unported
Imprint Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki
WikiForumIRCBugsGitXRefTranslate