[pmwiki-users] Disable ? on page link markup

Chris Cox ccox at airmail.net
Thu Sep 15 17:32:02 CDT 2005

Martin Fick wrote:
> Well, as a user I want to do it and the only way I can
> think of to do it is to create an absolute link, that
> sucks.

Well.. this is a bit off topic, but the new version of PmCalendar
supports the idea of CSS stylesheets from the upload area.

It's an interesting thought and allows a user to
customize their view/style of the PmCalendar.

It's not a general solution though.

> -Martin
> On Tue, Sep 13, 2005 at 02:51:45PM -0500, Jonathan Scott Duff wrote:
>>On Tue, Sep 13, 2005 at 01:28:45PM -0400, Martin Fick wrote:
>>>Is there a way to make a link to a non-existing wiki page
>>>not display the question mark?  It seems like this would be
>>>a fairly usefull thing to have.  There are several internal
>>>cases where pmwiki does not use the question mark  (such as
>>>categories and pagelist groups), so why not let page
>>>authors do it too?
>>I don't know about putting that in the author's hands as much as
>>making it a wiki-wide setting.  I mean, when would an author want to
>>differentiate between "non-existent page with question mark" and
>>"non-existent page without question mark"?
>>In any case, you can change the link format for non-existing pages by
>>setting the $LinkPageCreateFmt variable to something appropriate. For
>>$LinkPageCreateFmt = 
>>   "<a class='createlinktext' href='\$PageUrl?action=edit'>\$LinkText</a>";
>>Or, since the existing $LinkPageCreateFmt variable puts the anchor on
>>the question mark in the "createlink" class, you could just use CSS to
>>hide it. Something like:
>>a.createlink { display:none; }
>>in your CSS file.
>>I'm sure there are other ways.
>>Jonathan Scott Duff
>>duff at pobox.com
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://host.pmichaud.com/mailman/listinfo/pmwiki-users

More information about the pmwiki-users mailing list