[dokuwiki] Re: disabling plugins
- From: Chris Smith <chris@xxxxxxxxxxxxx>
- To: dokuwiki@xxxxxxxxxxxxx
- Date: Mon, 27 Feb 2006 19:31:57 +0000
Andreas Gohr wrote:
On Mon, 27 Feb 2006 19:44:28 +0100
"Esther Brunner" <wikidesign@xxxxxxxxx> wrote:
Would be useful - what about extending the plugin-base-class with a
function "disabled()" which would be called instead of "render()"
that simply replaces "$match" with nothing to remove the remaining
plugin-wiki-markup on pages the plugin is used - Ok - That would
imply dokuwiki knows which plugins are enabled/disabled (another
config-file?) to call the right function. Just an idea - don`t beat
me if it`s a dumb one ;-).
Good idea! Users should not see unwanted markup if a plugin is
disabled.
Hmm I think the user should see exactly the same when a plugin is
disabled as when the plugin isn't installed. So I vote against ;-)
Andi
Yes. One of the reasons to disable a plugin, is because its causing
markup problems, if you are still processing that markup, you've still
got a problem.
I think a config variable or a marker file is better than renaming as
that enables the parser/renderer to avoid loading disabled plugins, but
still leaves them easy to load for other purposes - such as the plugin
manager. ie, the current plugin loading mechanism can be given an extra
parameter to load disabled plugins, default value would be not to load them.
Chris
--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist
- Follow-Ups:
- [dokuwiki] Re: disabling plugins
- From: Peter J. Vidler
- References:
- [dokuwiki] disabling plugins
- From: Anika Henke
- [dokuwiki] Re: disabling plugins
- From: Michael Klier
- [dokuwiki] Re: disabling plugins
- From: Esther Brunner
- [dokuwiki] Re: disabling plugins
- From: Andreas Gohr
Other related posts:
- » [dokuwiki] disabling plugins
- » [dokuwiki] Re: disabling plugins
- » [dokuwiki] Re: disabling plugins
- » [dokuwiki] Re: disabling plugins
- » [dokuwiki] Re: disabling plugins
- » [dokuwiki] Re: disabling plugins
- » [dokuwiki] Re: disabling plugins
- » [dokuwiki] Re: disabling plugins
On Mon, 27 Feb 2006 19:44:28 +0100 "Esther Brunner" <wikidesign@xxxxxxxxx> wrote:
Would be useful - what about extending the plugin-base-class with a
function "disabled()" which would be called instead of "render()"Good idea! Users should not see unwanted markup if a plugin is
that simply replaces "$match" with nothing to remove the remaining
plugin-wiki-markup on pages the plugin is used - Ok - That would
imply dokuwiki knows which plugins are enabled/disabled (another
config-file?) to call the right function. Just an idea - don`t beat
me if it`s a dumb one ;-).
disabled.
Hmm I think the user should see exactly the same when a plugin is disabled as when the plugin isn't installed. So I vote against ;-)
Andi
- [dokuwiki] Re: disabling plugins
- From: Peter J. Vidler
- [dokuwiki] disabling plugins
- From: Anika Henke
- [dokuwiki] Re: disabling plugins
- From: Michael Klier
- [dokuwiki] Re: disabling plugins
- From: Esther Brunner
- [dokuwiki] Re: disabling plugins
- From: Andreas Gohr