Go to the FreeLists Home Page Home Signup Help Login
 



[dokuwiki] || [Date Prev] [08-2005 Date Index] [Date Next] || [Thread Prev] [08-2005 Thread Index] [Thread Next]

[dokuwiki] Plugins

  • From: "Chris Smith" <chris@xxxxxxxxxxxxx>
  • To: <dokuwiki@xxxxxxxxxxxxx>
  • Date: Thu, 4 Aug 2005 10:04:23 +0100
Hi,

Recently some person(s) have mentioned dokuwiki should do everything by
plugins, I have asked for template plugins :-) and Andi has said there is a
real need for action plugins.

I'd like to a couple of questions to more fully understand what is meant.

Am I right in thinking doing everything via plugins would require a large
amount of code refactoring and although its a neat idea, it is something
that if it did happen, would happen very gradually?

When I think of actions, I think of the things dokuwiki does - showpage,
edit, old revisions, index, search, etc.  Someone else has mentioned
something more like triggers on more basic functions, on create new page, on
adding a new user (see bugs>409).  Can Andi or anyone explain their ideas on
this?

I mentioned yesterday, I have been tinkering with a plugin manager.  That
could well fit in as an "admin function" plugin.  Right now there is only
one admin function, Page ACL, any code refactoring to make an admin plugin
interface "may" be quite straight forward, with an interface like:
- plugin info
- menu option to add to admin page (multilingual?)
- sort order for menu option
- method called when user chooses menu option

I wouldn't like to tackle an action plugin interface, though I would be
prepared to help out if someone else took the lead.  But I think I could
sort out an interface for admin function plugins if it was desired.

Chris






-- 
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist




[ Home | Signup | Help | Login | Archives | Lists ]

All trademarks and copyrights within the FreeLists archives are owned by their respective owners.
Everything else ©2007 Avenir Technologies, LLC.