[dokuwiki] Re: [patch] allow overriding namespace_templates files

  • From: Mike Frysinger <vapier@xxxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Tue, 12 Oct 2010 15:07:37 -0400

On Tuesday, October 12, 2010 10:42:36 Michael Hamann wrote:
> I don't see any need to modify the dokuwiki core code to do this as
> there is http://www.dokuwiki.org/devel:event:common_page_fromtemplate
> which should provide everything that is needed to implement the proposed
> changes in a plugin.

as long as it provides equivalent functionality, a plugin is fine.  that 
includes editing the template like a normal page.

> I'm also not sure if making templates normal pages is really a good idea
> as if you want to use this feature in open wiki where not everybody
> should have the possibility to modify namespace templates you then need
> to add an acl rule for every namespace for that page.

that's a policy decision that should be left to the people configuring the 
wiki and not strictly enforced in core dokuwiki code.  Robin's code should 
leave the current behavior unchanged while allowing wiki admins to open up the 
settings more if they so choose.
-mike

Other related posts: