From fab2f8dccbb34d4496aedd58219ef3ac36f32611 Mon Sep 17 00:00:00 2001 From: Aryeh Gregor Date: Fri, 26 Mar 2010 19:07:33 +0000 Subject: [PATCH] Add git:// and mms:// to $wgUrlProtocols git:// seems like a no-brainer, since we support svn://. mms:// was originally a proprietary Microsoft protocol, but they released a spec and there are multiple open-source implementations, so why not. Someone requested the latter on [[WP:VPT]]: No reason to be stingy about adding $wgUrlProtocols default values, if they don't take scary actions when clicked, right? --- RELEASE-NOTES | 1 + includes/DefaultSettings.php | 2 ++ 2 files changed, 3 insertions(+) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 0acf75ff76..9a3333ae56 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -34,6 +34,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN improve page loading speed. * Future-proof redirection to fragments in Gecko, so things work a little nicer if they fix . +* Support git:// and mms:// protocols by default for external links === Bug fixes in 1.17 === * (bug 17560) Half-broken deletion moved image files to deletion archive without diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index 7a2af536b7..6ac06f91a6 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -309,6 +309,8 @@ $wgUrlProtocols = array( 'mailto:', 'news:', 'svn://', + 'git://', + 'mms://', ); /** internal name of virus scanner. This servers as a key to the $wgAntivirusSetup array. -- 2.20.1