[pmwiki-users] Default styling of links to non-existent pages
Patrick R. Michaud
pmichaud at pobox.com
Sat Jan 28 09:34:18 CST 2006
On Sat, Jan 28, 2006 at 12:44:10AM -0500, Waylan Limberg wrote:
> On 1/27/06, Patrick R. Michaud <pmichaud at pobox.com> wrote:
> > Currently PmWiki automatically styles links to non-existent pages
> > by placing a question mark after the link and a dotted underline
> > beneath it. This choice was settled upon after many discussions
> > in August of 2004.
> >
>
> My first thought is that each case should have a different class
> attribute as a styling hook, which should be easy to customize.
This is already the case, we have 'createlinktext' and 'createlink'
to differentiate them.
> As far as the question mark - in my site, I've removed it (I forget
> how). Anyway, perhaps a separate variable should be created to assign
> the text displayed for that link (default would currently be '?'). If
> the variable is set to '' (empty string) then that link is not
> created.
This is one of those cases where it's probably easier to just
have one to handle both ($LinkPageCreateFmt).
Pm
More information about the pmwiki-users
mailing list