From: Aryeh Gregor Date: Fri, 6 Feb 2009 00:49:49 +0000 (+0000) Subject: Treat svn:// URLs as external links by default X-Git-Tag: 1.31.0-rc.0~43013 X-Git-Url: http://git.cyclocoop.org/%22.%24h.%22?a=commitdiff_plain;h=08907b74753666733ba2961478cf8561c0926785;p=lhc%2Fweb%2Fwiklou.git Treat svn:// URLs as external links by default By request of Jinx on IRC. We could add boatloads more of these . . . ssh://, git://, svn+ssh://, probably a lot more. --- diff --git a/RELEASE-NOTES b/RELEASE-NOTES index bbea0541d5..773fd53050 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -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. diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index dc0e4c7413..2102b2adf2 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -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.