[pmwiki-users] Comment Question

JimB jbeuerle at triad.rr.com
Wed Oct 18 18:06:03 CDT 2006


Patrick R. Michaud wrote:
> On Wed, Oct 18, 2006 at 06:28:58PM -0400, JimB wrote:
>> Hello!
>>
>> I have a question about the %comment% syntax and the target page variable.
>>
>> If I enter
>>
>> %comment%[[http://cnn.com]]
>>
>> on a page, http://cnn.com is appended to the target variable for that page.
>>
>> Is this a bug?
> 
> I can't seem to duplicate this problem on pmwiki.org -- when
> I enter the above into a page the targets= attribute remains
> empty.  (I'm assuming this is what you meant by "target page variable".)
> 
> See http://www.pmwiki.org/wiki/Test/CommentsTargets for the test
> page I used.  In the page file I end up with:
> 
>     version=pmwiki-2.2.0-beta15 ordered=1 urlencoded=1
>     author=
>     csum=
>     ctime=1161211860
>     host=24.1.26.255
>     name=Test.CommentsTargets
>     rev=2
>     targets=
>     text=This is testing [@%25comment%25@] with targets.%0a%0a%25comment%25[[http://cnn.com]]%0a%0a%0a
>     time=1161211938
> 
> Pm
> 
> 
I gave the wrong information about the link.  If there is a PMwiki link.

%comment%[[Main/MainPage]]

then it shows up in the target= attribute.  The external links do not 
show up when commented.

Sorry about that.

Jim





More information about the pmwiki-users mailing list