[pmwiki-users] Re: Override extendmarkups?

chr at home.se chr at home.se
Mon Aug 8 15:55:50 CDT 2005

On Mon, 8 Aug 2005, Patrick R. Michaud wrote:

> On Mon, Aug 08, 2005 at 03:51:42PM +1200, John Rankin wrote:
> > I can't use SDVA, because pmwiki sets the $RecentChangesFmt array
> > first. 
> I've been thinking about moving almost all of the variable initializations
> so they occur later in the script (indeed, likely as a separate
> include file).  Thus, very little would be defined by default when
> configuration scripts and recipes are loaded, and then 
>     include_once("$FarmD/scripts/varinit.php");
> would set PmWiki's defaults.  This could be called from config.php,
> or if not called it would be automatically done by scripts/stdconfig.php.
> Thoughts?  Are there a lot of scripts that depend on certain variables
> being set?  (Of course, a recipe could also choose to call varinit.php
> directly.)

I'm thinking there should be a way to retrieve the default value (from
PmWiki) of just one variable as well. Not sure how practical that'd be 


Christian Ridderström, +46-8-768 39 44               http://www.md.kth.se/~chr

More information about the pmwiki-users mailing list