[pmwiki-users] small bug in scripts/author.php?

John Rankin john.rankin at affinity.co.nz
Wed Jul 16 22:16:06 CDT 2008

In edit preview, the following markup incorrectly link to
CurrentGroup.AuthorName instead of Profiles.AuthorName

both ~~~ and ~~~~ behave in this way

The fix is to change the markup sequences for '~~~~' and '~~~' 
(after the definition of the corresponding ROSPatterns) from 
'<links' and '>~~~~' to '<~~~' and '<[[~' respectively.

This error can be replicated in the pmwiki.org sandbox.
Enter "both ~~~ and ~~~~ behave" in the edit area and
press Preview.

Interestingly, when I tested preview on my site, ~~~~ links
to Profiles, whereas ~~~ links to the current group.

John Rankin
Affinity Limited
T 64 4 495 3737
F 64 4 473 7991
john.rankin at affinity.co.nz

More information about the pmwiki-users mailing list