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

Christian Ridderström chr
Wed Jul 7 05:16:02 CDT 2004


Hi

I was just writing some stuff where I often used '?' in the text and I 
found that it was annoying that '?' both can be a plain '?' as well as a 
link to a page that doesn't exist.

Is there a cookbook recipy for replaing '?' with something like 
'[Create]'?

I also think it'd be a good idea if this link got some more attributes
that explains what it will do. Currently (pmwiki-0.6.21) produces HTML
like this (for the markup "SomePage"):

	<span class='createlink'>SomePage</span><a class='createlink' 
	   href='http://wiki.net/Main/SomePage?action=edit'>?</a>

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>

with a title attribute. See http://www.md.kth.se/~chr/pmwiki/test.shtml
for an example of how it looks.

/Christian

-- 
Christian Ridderstr?m                           http://www.md.kth.se/~chr






More information about the pmwiki-users mailing list