[dokuwiki] Re: disabling plugins

  • From: Andreas Gohr <andi@xxxxxxxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Mon, 27 Feb 2006 19:47:32 +0100

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
-- 
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist

Other related posts: