Table of Contents
Toucher Plugin
Compatible with DokuWiki
Rincewind, angua, adora belle, weatherwax, Binky, Ponder Stibbons, Hrun, Detritus, Elenor of Tsort, Frusterick Manners
Installation
Search and install the plugin using the Extension Manager. Refer to Plugins on how to install plugins manually.
Examples/Usage
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).
- Merge pull request #1 from sawachan/master by anandr (2014-09-18 15:50)
- Create settings.php by sawachan (2014-09-13 23:53)
- Create lang.php by sawachan (2014-09-13 23:51)
- First release by anandr (2012-09-16 13:01)
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?
Discussion
Is it worth to include this functionality into core dokuwiki admin/config plugin?
Andriy, 2012/09/16After 10 years of intense use of Toucher plugin, my answer is: a strong YES for thousands of reasons! — florious 2022-01-17 15:04