[dokuwiki] Re: Plugins

On Thu, 25 Aug 2005 01:07:50 +0100
"Chris Smith" <chris@xxxxxxxxxxxxx> wrote:

> I have sent a series of patches.

I just applied them and read your documentation... will have a look at
the code later.
 
> (1) admin plugin interface & the acl functions converted to a plugin
> the admin plugin interface is pretty much as I detailed it at
> http://wiki.jalakai.co.uk/dokuwiki/doku.php/admin_plugins.

looks good. Could you add some "official" docs to wiki.splitbrain.org ?

> I have
> added some extra introspection functions, localisation handling and
> some useful common functions (output wiki links, output email
> addresses, render wiki markup) to both prevent unnecessary duplication
> and properly support $conf options.

Good idea! While we are at it. I think we should add a
lib/plugins/[plugin]/lang/ folder similar to the inc/lang/ one. This way
plugins can bring their own translation files.

> (2) non-intrusive changes to support plugin manager
> 
> these are:
> - an additional option $conf['pluginmanager'] in conf/dokuwiki.php,
> set to 0, that unless set to 1 will disable the changes.

Hmm I will have a look at it but I think it could make sense to add this
to the default distribution and always enable it!?
 
Andi
-- 
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist

Other related posts: