====== Editor Plugin ======
---- plugin ----
description: Shows a list of recently changed pages by a given user or IP address. (previous authors: Esther Brunner)
author : Gina Häußge, Michael Klier
email : dokuwiki@chimeric.de
type : syntax, helper
lastupdate : 2008-08-21
compatible : 2006-11-06
depends : feed, pagelist, include
conflicts :
similar : userhistory
tags : users, changelog, ip, listing
downloadurl: http://cloud.github.com/downloads/dokufreaks/plugin-editor/plugin-editor.tgz
----
^ Download | [[http://cloud.github.com/downloads/dokufreaks/plugin-editor/plugin-editor.tgz|plugin-editor.tgz]] |
===== Description =====
The Editor Plugin shows a list of recently changed pages by a given user or IP address. The syntax is:
{{editor>[namespace]?[user|ip|group]&[flags]}}
^ [namespace] | the namespace to be searched for changes by the editor | optional; default is the whole wiki |
^ [user] | username of the editor | required |
^ [ip] | IP address of the editor | required |
^ [group] | usergroup with an @ sign as first char | required |
^ [flags] | pagelist flags delimited by ''&'', see [[pagelist#flags]] | optional |
===== Bugs / Feature Requests =====
Please report bugs or feature requests at the [[http://github.com/dokufreaks/plugin-editor/issues|Bug tracker]].
===== Further Resources =====
* [[http://github.com/dokufreaks/plugin-editor/tree/master|Git Repository]]
* [[http://github.com/dokufreaks/plugin-editor/issues|Bug Tracker]]
===== Changes =====
{{rss>http://github.com/feeds/dokufreaks/commits/plugin-editor/master}}
===== Discussion =====
==== Reduce Results to a specific Number ====
Hi, is it somehow possible to reduce the shown results for example to 10?
> Yep, I really would like to have this possibility too... (great work btw!)
==== Feature Requests ====
* Automatic use: Rather then require markup how about a call like foo.com/edit/username to show username's edits.
> I've taken a stab at making an Editor Action plugin before, but couldn't wrap my head around it. This would make a good example problem. --- //[[abr.programmer@gmail.com|abr]] 2008/10/18 07:09//
>> This can be accomplished with the [[mypage]] plugin. There is an example on how to use it with the editor plugin. --- [[user>viktro|Viktor Söderqvist]] //2011/05/01 23:11//
==== Problem =====
Hi, I do not see the date, there's only ''d.m.y H:i'' Any hints?
> This comes from the conf/dokuwiki.php file. modify this line:$conf['dformat'] = 'd.m.y H:i';$conf['dformat'] = '%Y/%m/%d %H:%M'; that did it for me.
Any examples? I am having trouble displaying anything with Rincewind.
==== Display pages by date instead of user ====
Hi, I've made a modification to the plugin so that it allows filtering by date instead of user. You can either display (for a given namespace or globally) pages that have been edited since a certain date or pages that have been edited during a given period (e.g. in the last 7 days). Changing this was a pretty straightforward find-and-replace-job.
Would you be interested in merging the functionality? Otherwise I would just release it on my own (with appropriate credit). -- [[georgsorst@gmx.de|Georg Sorst]], 04/18/2009.
> I just noticed that Dokuwiki 2009-02-14 now has a function for this (''getRecentsSince()''), so it should be even easier to integrate. -- [[georgsorst@gmx.de|Georg Sorst]], 04/18/2009.
>> Yes, I'd be interested in mergin this functionality. If you have it ready you can just send me your patch and I'll add it. --- //[[chi@chimeric.de|Michael Klier]] 2009/05/18 11:49//
==== Display all edits, not only the recent ones ====
To display all edits, increase the setting [[config:recent_days]] to a very large number, such as 3650 (~10 years). This should be done in advance since the index of recent changes is not rebuilt automatically. This might make the wiki slow when saving a page though. --- [[user>viktro|Viktor Söderqvist]] //2011/05/01 23:11//