[pmwiki-users] fix for: Linking WikiForms to WikiForms

Hsing-Foo Wang hsingfoo at gmail.com
Tue Sep 5 17:03:28 CDT 2006


John,

You're right. It was a browser cache issue, showing me the 1.45
version. I now have 1.48 in place and it solves my issues. GREAT work!

I can confirm that for my setup, the fix solves my issues.

Thanks,
-HF


On 06 Sep 2006 09:43:56 +1200, John Rankin <john.rankin at affinity.co.nz> wrote:
> On Tuesday, 5 September 2006 10:22 PM, Hsing-Foo Wang <hsingfoo at gmail.com> wrote:
> >I see you think you fixed it, great! But is I cannot seem to find the
> >fixed 1.48 version. The downloadable one is 1.45. Am I
> >mistaking?
>
> Try forcing your browser to refresh the page -- I just looked and
> it's returning version 1.48. The change turned out to be
> straightforward, and arose when pmwiki changed handling of $FmtP
> to use $FmtPV. Here are the old and new lines:
>
> #$FmtP['/\\$Suffix/e'] = 'preg_replace("/^(.+-)?/","",@$match[1])';
> $FmtPV['$Suffix'] = 'preg_replace("/^(.+-)?/","",$group)';
>
> "$match[1]" no longer contains the group name, so the old code no
> longer found the forms group suffix.
>
> I think that should fix the problem.
> John
>
> --
> JR
> --
> John Rankin
>
>  \_
>   \)
>   \,\__/7
>   /   /
>         (   c'
>   \  /
>  /,  /_/
> |  & *Wellington
>  ) /
>  / /,
>  / (
> | /
> \__/
>  V
>
>
>
>




More information about the pmwiki-users mailing list