[wikka-community] Disabling CamelCase autolinking

Mithat Konar mithat_konar
Sun Jul 19 22:15:31 GMT 2009


Seems to have done the trick. Thanx!!!

-M



----- Original Message ----
> From: Brian Koontz <brian at wikkawiki.org>
> To: A list open for contributors to discuss Wikka development <community at wikkawiki.org>
> Sent: Sunday, July 19, 2009 7:55:45 PM
> Subject: Re: [wikka-community] Disabling CamelCase autolinking
> 
> Quickest way is to edit formatters/wakka.php. There's a rather large
> regexp inside a function called "preg_replace_callback".  Located the
> line that's commented "# CamelWords" (the line actually precedes the
> comment), and comment it out.
> 
> Something like this:
> 
>     +---This is what I added to comment out the regexp
>     |
>     #"\b([A-Z???]+[a-z????]+[A-Z0-9???][A-Za-z0-9???????]*)\b|".
>             # CamelWords
> 
>   --Brian
> 
> -- 
> Brian Koontz
> Wikka Development Team
> Systems Support and Random Tasking Dept.
> 
> On Sun, Jul 19, 2009 at 03:24:18AM -0700, Mithat Konar wrote:
> > 
> > Is there a way to globally disable CamelCase autolinking? I know I can insert 
> any given instance between double quotes, but I would prefer to disable the 
> feature altogether.
> > 
> > Cheers,
> > -M
> > 
> > 
> > 
> >      
> > 
> > _______________________________________________
> > WikkaWiki Community mailing list
> > community at wikkawiki.org
> > http://mail.wikkawiki.org/mailman/listinfo/community_wikkawiki.org
> > 
> 
> 
> 
> _______________________________________________
> WikkaWiki Community mailing list
> community at wikkawiki.org
> http://mail.wikkawiki.org/mailman/listinfo/community_wikkawiki.org



      




More information about the community mailing list