[Pmwiki-users] Re: Alternative to '?' for links to pages that don't exist
Christian Ridderström
chr
Wed Jul 7 09:40:23 CDT 2004
On Wed, 7 Jul 2004, Patrick R. Michaud wrote:
> On Wed, Jul 07, 2004 at 01:15:49PM +0200, Christian Ridderstr?m wrote:
> >
> > Is there a cookbook recipy for replaing '?' with something like
> > '[Create]'?
>
> $WikiPageCreateFmt = "<span class='createlink'>\$LinkText</span><a
> class='createlink' href='\$PageUrl?action=edit'>[Create]</a>";
Do you think this is worth a cookbook page? (I could make one)
> > I also think it'd be a good idea if this link got some more attributes
> > that explains what it will do.
> > Here's an alternative
> > <span class='createlink'>SomePage</span><a class='createlinkA'
> > href='http://wiki.net/Main/SomePage?action=edit'
> > title='Use this link to create the page "SomePage"'>[Create]</a>
>
> $WikiPageCreateFmt = "<span class='createlink'>\$LinkText</span><a
> class='createlink' href='\$PageUrl?action=edit'
> title='Use this link to create the page "\$Title_"'>[Create]</a>";
I think the title-attribute should be there by default, regardless if
the link text is "?" or "[Create]". The drawback is a slighly larger page,
but hopefully it will help some new users.
/Christian
--
Christian Ridderstr?m http://www.md.kth.se/~chr
More information about the pmwiki-users
mailing list