[dokuwiki] Re: Plugins to be overhauled
- From: "Chris Smith" <chris@xxxxxxxxxxxxx>
- To: <dokuwiki@xxxxxxxxxxxxx>
- Date: Mon, 1 Aug 2005 01:31:14 +0100
Hi,
> - I plan to discontinue the smaller and the larger plugin. Instead I
> will write a BBCode plugin which allows [size=small]text[/size]. I'm
> not sure of whether to pack all BBCode syntax into one plugin or
> split it up into one for basic formatting simply mapping dokuwiki
> syntax modes, one for size and one for color. My goal is to be able
> to use full BBcode within DokuWiki and thus making it easy
> for people coming from forum softwares.
I would think it would be simpler to put as many of the BBCodes into one
plugin as possible. Having a single BBCode plugin would be easier for
dokiuwiki admin's to deal with. The difficulty I can see would be with
different BBCode syntax belonging to different mode types and allowing
different modes - especially if you allowed BBCode and Dokuwiki native
syntaxes to be intermixed.
> - I plan another plugin for use in combination of my Discussion
> Template: ~~NOCOMMENTS~~ (as suggested by someone in the wiki). The
> plugin will turn caching off for that specific page (unfortunately),
> because it needs to set a global variable every time the page is
> viewed. Maybe someone has a better solution to achieve this job?
I think there is a need for a template plugin type. That is a plugin which
would add functionality that is available to all templates. Four of the six
"published" templates are concerned with adding functionality to dokuwiki
not with changing its appearance. It would be "nice" if there was a sidebar
plugin, a discussion plugin, a wiki template plugin, which could all be used
together in a single template.
If that was the case, your single discussion plugin would then include both
a syntax.php and a template.php + any styles.
Templates functions don't seem to fit too well with the class structure used
for syntax templates. Perhaps $template->pluginname->method() or
tpl_plugin['pluginname']->method().
I like the CSS with plugin ideas. Can we have the same for javascript?
Is there mileage in a plugin installer (or aggregator) which could merge all
the plugin css requirements into a single plugin.css file (or perhaps 3
files) rather than 8 syntax plugins requiring upto 24 files (and the same
for javascript).
Cheers,
Chris
--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist
- References:
- [dokuwiki] Plugins to be overhauled
- From: Esther Brunner
Other related posts:
- » [dokuwiki] Plugins to be overhauled
- » [dokuwiki] Re: Plugins to be overhauled
- » [dokuwiki] Re: Plugins to be overhauled
- » [dokuwiki] Re: Plugins to be overhauled
- » [dokuwiki] Re: Plugins to be overhauled
- » [dokuwiki] Re: Plugins to be overhauled
- » [dokuwiki] Re: Plugins to be overhauled
- » [dokuwiki] Re: Plugins to be overhauled
- [dokuwiki] Plugins to be overhauled
- From: Esther Brunner