[wikka-community] Disabling CamelCase autolinking

Brian Koontz brian
Sun Jul 19 16:55:45 GMT 2009


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
> 






More information about the community mailing list