From 08907b74753666733ba2961478cf8561c0926785 Mon Sep 17 00:00:00 2001 From: Aryeh Gregor Date: Fri, 6 Feb 2009 00:49:49 +0000 Subject: [PATCH] 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. --- RELEASE-NOTES | 1 + includes/DefaultSettings.php | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) 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. -- 2.20.1