[pmwiki-users] substitution in links - bug? (Lists)

john.rankin at affinity.co.nz john.rankin at affinity.co.nz
Tue Aug 12 02:48:06 CDT 2008

> Date: Mon, 11 Aug 2008 15:10:40 +0200
> From: Lists <lists at basel-inside.ch>
> Subject: [pmwiki-users] substitution in links -  bug?
> Hello
> I have a link:
> http://talkingcode.co.uk/2008/01/10/building-your-own-usb-pendrive-linux-image/
> Text substitues to:
> "http://talkingcode.co.uk/Thursday, 10 January
> 2008/building-your-own-usb-pendrive-linux-image/"
> and the link property is:
> http://talkingcode.co.uk/Thursday
> In my case I set a date-format for allRecentChanges, but not to change
> the link contents.
> IMHO in a link a previous substitution is unwanted.
> regards
> Patrick Ogay
It may be caused by a mis-feature of the wiki calendar recipe I released a
few years ago. Try putting this at the top of your local/config.php and
see if the problem goes away:

$DateSeparatorPattern = '[-.]';

The wikilog.php script contains this markup rule:

    "((IsDate('$2$4$5')) ? '$1'.longdate('$2$4$5') : '$0')");

Looking at this, it shouldn't cause the above problem, so maybe I'm not
the culprit, and there is another markup rule turning the date into a long


More information about the pmwiki-users mailing list