[Pmwiki-users] Alternative to '?' for links to pages that don't exist

Patrick R. Michaud pmichaud
Wed Jul 7 08:48:42 CDT 2004


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>";

> 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>";

Pm



More information about the pmwiki-users mailing list