Treat svn:// URLs as external links by default
authorAryeh Gregor <simetrical@users.mediawiki.org>
Fri, 6 Feb 2009 00:49:49 +0000 (00:49 +0000)
committerAryeh Gregor <simetrical@users.mediawiki.org>
Fri, 6 Feb 2009 00:49:49 +0000 (00:49 +0000)
By request of Jinx on IRC.  We could add boatloads more of these . . .
ssh://, git://, svn+ssh://, probably a lot more.

RELEASE-NOTES
includes/DefaultSettings.php

index bbea054..773fd53 100644 (file)
@@ -83,6 +83,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN
 * Wrap message 'searchresulttext' (Special:Search) into a div with
   class "mw-searchresult"
 * (bug 15283) Interwiki imports can now fetch included templates
+* Treat svn:// URLs as external links by default
 
 === Bug fixes in 1.15 ===
 * (bug 16968) Special:Upload no longer throws useless warnings.
index dc0e4c7..2102b2a 100644 (file)
@@ -278,7 +278,8 @@ $wgUrlProtocols = array(
        'nntp://', // @bug 3808 RFC 1738
        'worldwind://',
        'mailto:',
-       'news:'
+       'news:',
+       'svn://',
 );
 
 /** internal name of virus scanner. This servers as a key to the $wgAntivirusSetup array.