jenkins-bot has submitted this change and it was merged.

Change subject: Add irc to the allowed URL schemas
......................................................................


Add irc to the allowed URL schemas

I considered adding this to the operations/mediawiki-config, but
why not simply allow irc by default?

Please note that I currently don't want to add mailto by default,
mainly for privacy reasons.

Needs Ib9daa61.

Bug: 72924
Change-Id: I86cff20d3826f90cdbb3086975b5fa8be4a24eac
---
M lib/config/WikibaseLib.default.php
1 file changed, 2 insertions(+), 3 deletions(-)

Approvals:
  Aude: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/lib/config/WikibaseLib.default.php 
b/lib/config/WikibaseLib.default.php
index 37240c8..1e68026 100644
--- a/lib/config/WikibaseLib.default.php
+++ b/lib/config/WikibaseLib.default.php
@@ -99,9 +99,8 @@
                'wikibase-item',
        ),
 
-       // URL schemes allowed for values of the URL type.
-       // Supported types include 'http', 'https', 'ftp', and 'mailto'.
-       'urlSchemes' => array( 'http', 'https', 'ftp' )
+       // URL schemes allowed for URL values. See UrlSchemeValidators for a 
full list.
+       'urlSchemes' => array( 'ftp', 'http', 'https', 'irc' )
 );
 
 // experimental stuff

-- 
To view, visit https://gerrit.wikimedia.org/r/172545
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I86cff20d3826f90cdbb3086975b5fa8be4a24eac
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/Wikibase
Gerrit-Branch: master
Gerrit-Owner: Thiemo Mättig (WMDE) <[email protected]>
Gerrit-Reviewer: Aude <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to