Aryeh Gregor wrote:
On Fri, Jul 23, 2010 at 12:41 PM, Alex Kozak akozak@creativecommons.org wrote:
Ah, ok my apologies. Maybe you could add a note describing some of the things that would break to http://www.mediawiki.org/wiki/Manual:$wgUrlProtocols?
I've corrected some inaccuracies on that page. I'm not even going to *try* to predict what would break if you removed things like 'http:' from the array -- link parsing would break throughout the software.
I don't see anything obvious breaking. Of course, external links stop working, both plain and in [], also magic external images, and the captcha won't detect it as addition of urls. But all of that seems expected behavior on removing http from $wgUrlProtocols.
You mentioned Special:LinkSearch and wfParseUrl(), but LinkSearch has nothing to search if you don't allow external links, and wfParseUrl() is only used inside the parser (precisely to work with the previously matched external urls).