[Trac] Numbers in CamelCase links?

Christopher Lenz cmlenz at gmx.de
Tue Oct 4 12:53:25 CDT 2005


Am 04.10.2005 um 18:29 schrieb Sean Hussey:
> Right, and we do that on occasion, but some here have expressed that
> it upsets the "flow" of editing documents.  :)  Same for wiki links
> with a string of all caps in them:
>
> HowToPutYourStuffOnTheSAN
>
> Doesn't link.
>
> Using wiki:HowToPutYourStuffOnTheSAN is an option as well, but then
> that disturbs the reading of the document because "wiki:" is
> prepended to the link.  Fairly ugly.

Loosening the rules for wiki page name detection opens a can of  
worms... you start getting all kinds of words that are suddenly  
marked up as missing pages. There are a couple of tickets about this  
kind of change, but we've so far stayed with the current simple rules  
in Trac.

I don't see the ugly argument, though, at least not with 0.9. You can  
just write:

[wiki:HowToPutYourStuffOnTheSAN]

and Trac will link that, and use HowToPutYourStuffOnTheSAN as link  
label. The reader will not notice you used an explicit wiki-linking  
syntax in the wiki text.

Cheers,
Chris
--
Christopher Lenz
   cmlenz at gmx.de
   http://www.cmlenz.net/



More information about the Trac mailing list