Maybe you could modify this array? http://www.mediawiki.org/wiki/Manual:$wgUrlProtocols
http://www.mediawiki.org/wiki/Manual:$wgUrlProtocolsAK
On Thu, Jul 22, 2010 at 6:25 PM, Jani Patokallio jpatokal@iki.fi wrote:
Greetings,
MediaWiki, in its grandmotherly kindness, automatically converts plain text unmarked URLs like "http://google.com" into "<a href="http://google.com" class="external free" title="http://google.com" rel="nofollow">http://google.com</a> when rendering. Is there any sensible way to disable this? I couldn't find a public configuration option for this, although these are apparently a subtype of magic links(*) and I'd be happy to disable magic links completely if need be. Commenting out "$text = $this->doMagicLinks( $text );" or stabbing at the regexp in said function in Parser.php works, but, eww.
(*) http://www.mediawiki.org/wiki/Markup_spec/BNF/Magic_links
Cheers, -jani
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l