[dokuwiki] Helper Plugins and New Events
- From: "Esther Brunner" <wikidesign@xxxxxxxxx>
- To: dokuwiki@xxxxxxxxxxxxx
- Date: Tue, 27 Feb 2007 11:55:26 +0100
Hi all
I'm preparing a set of patches for DokuWiki and would like to explain them here:
1. Helper plugins
Helper plugins are a new type of plugin components besides syntax,
action, admin and renderer. They make it easy for plugin developers to
use functionality provided by other DokuWiki plugins. I already make
extensive use of this new architecture for my plugins. The patch adds
'helper' as a valid plugin type and adds a new function
loadHelper($plugin, $msg) to inc/plugin.php. I will document the use
of helper plugins in the wiki[1].
I have also modified the Info Plugin to display info about the
supported methods by helper plugins. Shall I also submit this patch?
2. TOOLBAR_DEFINE event
WikiCreole[2] is an evolving new standard for a common markup in
wikis. I've written a plugin to support Creole[3]. You can configure
which markup should take precedence. But when the markup precedence is
set to Creole, the toolbar inserts wrong markup. The TOOLBAR_DEFINE
event allows plugins to alter the default toolbar.
3. INDEXER_PAGE_ADD event
This events allows plugins to add additional content to be indexed
besides the page content. This is useful for comments (Discussion
Plugin) and maybe other plugins which add extra content.
4. HTML_PROFILEFORM_INJECTION event
Many people asked me to support local avatars instead of only Gravatar
(as a component of the Discussion Plugin). I now created the Avatar
Plugin[4], which looks first for a local avatar, then tries to get an
Gravatar and if still no success, creates a moster with Andi's
MonsterID script. It would be nice, if users could upload their local
avatar over the profile form.
Best regards
-- esther
[1] http://wiki.splitbrain.org/wiki:helper_plugins
[2] http://www.wikicreole.org/
[3] http://www.wikidesign.ch/en/plugin/creole/start
[4] http://www.wikidesign.ch/en/plugin/avatar/start
--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist
- Follow-Ups:
- [dokuwiki] Re: Helper Plugins and New Events
- From: Jason Grout
- [dokuwiki] New searchresults plugin
- From: Todd Augsburger
- [dokuwiki] Re: Helper Plugins and New Events
- From: Andreas Gohr
Other related posts:
- » [dokuwiki] Helper Plugins and New Events
- » [dokuwiki] Re: Helper Plugins and New Events
- » [dokuwiki] Re: Helper Plugins and New Events
- [dokuwiki] Re: Helper Plugins and New Events
- From: Jason Grout
- [dokuwiki] New searchresults plugin
- From: Todd Augsburger
- [dokuwiki] Re: Helper Plugins and New Events
- From: Andreas Gohr