Petko Yotov <5ko <at> 5ko.fr> writes:

> 
> Simon writes:
> > The standard action  
> > seem to be to use preg_replace_callback instead.
> 
> I know, and the format is different, it expects a function, the variable  
> scope becomes different, and all recipes needs to be rewritten.
> 
> OTOH it may appear less complex to write new recipes with the new format.
> 
> > On 5 June 2013 05:59, Petko Yotov wrote:
> >    The PmWiki Markup engine relies heavily on the /e modifier. Even if we  
> >    manage to fix the core, this will break almost any and all recipes.
> >
> 
> _______________________________________________
> pmwiki-devel mailing list
> pmwiki-devel <at> pmichaud.com
> http://www.pmichaud.com/mailman/listinfo/pmwiki-devel
> 



In the meantime you can prevent pmwiki from logging the thousands of
warnings to the error log by changing the first line of code in pmwiki.php to:

error_reporting(E_ALL ^ E_NOTICE ^ E_DEPRECATED);

This sped up page generation by about double on my particular config.
Writing out all of those messages eats up cycles and bloats the log files
very quickly.




_______________________________________________
pmwiki-devel mailing list
pmwiki-devel@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-devel

Reply via email to