[pmwiki-users] Conditional Statement and Relative page references
Patrick R. Michaud
pmichaud at pobox.com
Mon Nov 5 18:45:37 CST 2007
On Mon, Nov 05, 2007 at 07:26:44PM -0500, DaveG wrote:
>
>
> DaveG wrote:
> > As soon as I posted this, I realized that PmWiki automatically assigns
> > the class "selflink" to links pointing to the current page. However, I'd
> > still be interested in knowing how to use conditionals to solve the problem.
>
> Looks like the class 'selflink' is not applied correctly to the
> PageAction links. The class is always applied to the View link, not to
> the Edit/History links, regardless of the actual action mode.
Correct. Essentially PmWiki treats only "bare" page references
as self-links ... anything with ?action= or any other query parameter
is not treated as a self-link.
IIRC, this was the behavior decided upon after a fair amount of
discussion by many on the mailing list, so it's not likely to
change.
Pm
More information about the pmwiki-users
mailing list