Hi Chris,
maybe you can use wgUrlProperties:
$wgUrlProtocols = array(
'http://',
'https://',
'ftp://',
'irc://',
'gopher://',
'telnet://', // Well if we're going to support
the above.. -ćvar
'nntp://', // bug 3808 RFC 1738
'worldwind://',
'mailto:',
'news:'
);
Remove http/https and try...
Cheers,
Jimmy
> -----Ursprüngliche Nachricht-----
> Von: "Chris Earle (CBL)" <cearle cbltech.ca>, MediaWiki announcements and site
admin list <mediawiki-l Wikimedia.org>
> Gesendet: 28.04.06 18:44:04
> An: <mediawiki-l Wikimedia.org>
> Betreff: [Mediawiki-l] Prevent external linking
> Hey all,
>
> I want to prevent external links from being created in
my wiki -- so I want
> to turn off the parser's creation of external links
from text like
> 'http://....', and I
suppose turn off stuff within [...]
>
> Is there a way I can do this without modifying
includes/Linker.php (>1.5)?
> I don't really mind doing that, but you know, would be
nice if there was a
> $wg config variable or something....
>
>
> Thanks for any suggestions
>
>
> --
> Chris Earle
>
>
> --
> This message has been scanned for viruses and dangerous
content by
> MailScanner, and is believed to be clean.
>
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l Wikimedia.org
> http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l Wikimedia.org
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
|