[dokuwiki] Re: disabling plugins

> I just thought it is a bit annoying that plugins cannot be disabled. At 
> least not easily. Okay, you can move or remove the certain plugin 
> directory. But there is no plugin function with which it can be properly 
> disabled, which could be used by the plugin manager to make it even 
> easier ...
> 
> What do you think?

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 ;-). 

Regards
Michael

-- 
Michael Klier

mail:   chi@xxxxxxxxxxx
www:    http://www.chimeric.de
icq:    206179334
key:    http://www.chimeric.de/chi.asc
key-id: 0x8308F551

Other related posts: