Ha, c00l
At least I've got a few options then......
editting Linker.php (function 'makeExternalLink') is the code edit option
Thanks for the input
----- Original Message -----
From: "Jimmy Collins" <Jimmy.Collins(a)web.de>
To: "Chris Earle (CBL)" <cearle(a)cbltech.ca>ca>; "MediaWiki announcements
and
site admin list" <mediawiki-l(a)Wikimedia.org>
Sent: Friday, April 28, 2006 12:53 PM
Subject: Re: [Mediawiki-l] Prevent external linking
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(a)cbltech.ca>ca>, MediaWiki
announcements
and site admin list <mediawiki-l(a)Wikimedia.org>
Gesendet:
28.04.06 18:44:04
An: <mediawiki-l(a)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(a)Wikimedia.org
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
--
This message has been scanned for viruses and dangerous content by
MailScanner, and is believed to be clean.
--
This message has been scanned for viruses and dangerous content by
MailScanner, and is believed to be clean.