It's better when it's simple

User Tools

Site Tools


This is an old revision of the document!

User History Plugin

Compatible with DokuWiki

2006-11-06, and newer, (Mulled Wine, Lemming, Anteater, Rincewind, Angua)

plugin Displays all changes done by selected user

Last updated on

This extension has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues.

Similar to editor

Tagged with !maybe.broken, changelog, listing, spam, users


The User History Plugin displays all changes done by specified user, in chronological (reversed) order.

Download link now lead to (I think so) original author version. MD5 sum 1fb4f4b7fafef11d5cb7baaf30783abd


I'm useing the monobook template and this plugin doesn't work. On the admin page after I click on User History and it doesn't display and user history. Only a couple headers. 5/30/2012

Fixed Version with FR lang files
You can download an updated archive of the plugin (bugs fixed) with the FR lang files here. The link below needs flash to be used. — Jc Charvy 2010-07-27 16:31

Fixed Version
If anyone is interested in a working .zip without the problems mentioned below, try this 2010-07-11 15:34

This is a very simple hack which might perform very poorly in wikis with a lot of pages 1). Moreover, no user/edit paging is implemented at the moment.

What are the differences between this and the Editor plugin? — Viktor Söderqvist 2007-01-22 15:41

Link generation problem
I have found little problem when using this plugin on my wiki: the link on the “User list” page has been generated as:


(width double '?'). This links to new “start_do_admin” page instead of history page of user “awd”. Looks like you cannot generate link by concatenating with '?'. Instead you have to check, if there are any '?' in base address and use '?' or '&' accordingly. To achieve this I have added:


and changed lines 60 and 112 to:

$href = wl($ID).(strpos(wl($ID),'?')?'&':'?').'do=admin&page='.$this->getPluginName().'&user='.hsc($nick);

$href = wl($ID).(strpos(wl($ID),'?')?'&':'?').'do=admin&page='.$this->getPluginName();

Doderic 2007-06-12 01:15 CET

Link generation problem bis
Same problem with double “?” in the link
Applied the patch on line 60 and 112
I now have

Warning: Invalid argument supplied for foreach() in ../wiki/lib/plugins/userhistory/admin.php on line 72

Under PHP Version 5.1.3RC4-dev
An idea ?

Link generation problem
I have modified "?" to "&" in lines 60 and 112 like this;

Line 60
$href = wl($ID).'?do=admin&page='.$this->getPluginName().'&user='.hsc($nick);
$href = wl($ID).'&do=admin&page='.$this->getPluginName().'&user='.hsc($nick);
Line 112
$href = wl($ID).'?do=admin&page='.$this->getPluginName();
$href = wl($ID).'&do=admin&page='.$this->getPluginName();

and that worked for me …


Dude, changing from ? to & makes the link invalid, thus resulting in a nonexistent page. It's wrong. I've the same problem, haven't solved it jet.

Warning: Invalid argument supplied for foreach() in /www/wiki/lib/plugins/userhistory/admin.php on line 72
Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /www/wiki/lib/plugins/userhistory/admin.php on line 74
Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /www/wiki/lib/plugins/userhistory/admin.php on line 74


Please provide a fix! Here is a German translation: Regards Ferhat D.

date/time formatting
DokuWiki release 2008-05-05 uses strftime() rather than date() so $conf['dformat'] is now in strftime() format and hence you need to replace date() with strftime() on line 121.

TallPaul 2008-09-19 18:09

What other plugins need to be installed? I cannot get userhistory running at all.
Is it even maintained anymore? 2011-02-10 19:20
the version from “2007-01-16” works for me for ricewind, — Erkan YilmazErkan Yilmaz

2011/08/09 15:58

2013-06-10 There seems to be a problem with the case of user names, so i changed line 92 of admin.php to the following:

if (strtolower($change['user']) == strtolower($user)) { $changes[] = $change; }
all data/meta/*.changes files must be parsed
plugin/userhistory.1370873660.txt.gz · Last modified: 2013-06-10 16:14 by