[Pmwiki-users] [PATCH] Allow setting of BasicLayoutVars in local/group/page config
Ari Pollak
ajp
Mon Jun 21 19:48:19 CDT 2004
> 1. Although a template MAY set a value for $PageEditFmt, it's certainly
> not required to do so (indeed most sites use the default). So, PmWiki
> sets a value for $PageEditFmt in case the template doesn't.
>
> 2. I've always written the pmwiki.php code from the perspective that it
> should be able to function reasonably well as a wiki even if none of
> the external scripts are loaded or available. Thus there needs to be
> a setting for $PageEditFmt even if templates aren't being used.
Hm, I'm not seeing how this creates a problem. If the user doesn't set
$PageEditFmt, and the template doesn't set $PageEditFmt, then PmWiki
should just fall back to setting the default, right? Not only that, but
PageEditFmt isn't actually contained in $BasicLayoutVars[], so this
patch shouldn't even affect that.
More information about the pmwiki-users
mailing list