Re: Show question mark for non-existing pagelinks bug/feature

Gisbert Amm <[email protected]> Mon, 06 Sep 2004 14:01:52 +0200
Newsgroups gmane.comp.web.wiki.moin.devel
Message-ID <[email protected]>
Andrew Premdas wrote:
> When you select 'Show question mark for non-existing pagelinks bug/feature'
> in user preferences, the name of the page is no longer a link, only the
> question mark preceding it. Surely this is a bug, as a question mark is a
> very small area to spot as a link and to  click on.

I'm not really sure if this feature should be considered a bug. When it 
was introduced, links to non-existing pages were displayed in a bright 
red color. This could make a text with many CamelCase words in it nearly 
unreadable. At that time, the optional question mark prevented the 
reader from this. Probably now, as everybody can change the color of 
these links as he or she likes, it should be changed.

> This can be fixed by changing line 322 in page.py
> 
>  from 
>             return wikiutil.link_tag(request, url,
>                 '?', formatter=fmt, **kw) + text + attach_link
> 
>  to
> 	      return wikiutil.link_tag(request, url,
>                 '?' + text, formatter=fmt, **kw) + attach_link
>   
> By the way is this the place to post things like this. Posts don't seem to
> be getting much response.

It's surely way better to file a bugreport or put your patch on 
SourceForge. Go http://sourceforge.net/projects/moin/

Regards,
Gisbert Amm


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click