It's better when it's simple

User Tools

Site Tools


Toucher Plugin

Compatible with DokuWiki

Rincewind, angua, adora belle, weatherwax, Binky, Ponder Stibbons, Hrun, Detritus, Elenor of Tsort, Frusterick Manners

plugin touching configuration files without changing DokuWiki settings

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 stale, toucher2

Tagged with admin, config, touch

This plugin is dead, see the new substitute: stale


Search and install the plugin using the Extension Manager. Refer to Plugins on how to install plugins manually.


The only purpose of this plugin is to touch conf/local.php configuration file. This procedure invalidates DokuWiki cache files as described here: caching.

This is useful, for example, to reload CSS, JavaScript files after update, plugin/template installation, tweaking editor toolbar, etc.

Configuration and Settings

The plugin has only one setting: it can be set available only to superusers (the default) or to anyone who has access to admin page (usually superusers and managers).

Change Log

Plugin was lying around here and there, even as a simple downloadable code block on this page. On 2012/09/16 it was moved to github so this date is its official birthday 1).

Known Bugs and Issues

It seems to have a problem under PHP 7.2.19 on Ubuntu. I get the message Warning: Use of undefined constant isadmin - assumed 'isadmin' (this will throw an Error in a future version of PHP) in …/lib/plugins/toucher/admin.php on line 36. If I change the line

  if (!$INFO[isadmin]) {

to read

  if (!$INFO['isadmin']) {

everything works okay.

ToDo/Wish List

Any ideas?


Is it worth to include this functionality into core dokuwiki admin/config plugin?
Andriy, 2012/09/16
After 10 years of intense use of Toucher plugin, my answer is: a strong YES for thousands of reasons! — florious 2022-01-17 15:04
actually by moving it to GitHub I learned how to use git, but he is not aware of that so do not tell him
plugin/toucher.txt · Last modified: 2022-07-29 23:37 by Klap-in

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki