[pmwiki-users] Re: Re: WikiCalendar date markup

Patrick R. Michaud pmichaud at pobox.com
Tue May 10 18:42:28 CDT 2005


On Wed, May 11, 2005 at 11:22:48AM +1200, John Rankin wrote:
> The culprit is the following code:
> 
> Markup('wdate','inline','/(\d\d\d\d)([-\.\/])?(\d\d)\2(\d\d)/e',
>     "((IsDate('$1$3$4')) ? longdate('$1$3$4') : '$0')");
> 
> 
> Either disable it completely:
> Markup('wdate','');
> in config.php before including wikilog.php should disable it completely
> (if my memory serves me correctly)

One can also use

    DisableMarkup('wdate');

which works regardless of whether it's before or after the include of
wikilog.php.

Pm



More information about the pmwiki-users mailing list