Gerrit Patch Uploader has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/193669

Change subject: Add mailto to the allowed URL schemas In I86cff20, Thiemo 
Mättig (WMDE) says: "Please note that I currently don't want to add mailto by 
default, mainly for privacy reasons."
......................................................................

Add mailto to the allowed URL schemas
In I86cff20, Thiemo Mättig (WMDE) says: "Please note that I currently don't 
want to add mailto by default, mainly for privacy reasons."

but there're an e-mail property in Wikidata, so supporting mailto is needed.

Bug: T91069
Change-Id: Ib05ccb3346e68d7fa9b1b335bb1e35823aefb1e0
---
M lib/config/WikibaseLib.default.php
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Wikibase 
refs/changes/69/193669/1

diff --git a/lib/config/WikibaseLib.default.php 
b/lib/config/WikibaseLib.default.php
index 9234333..26cf0ba 100644
--- a/lib/config/WikibaseLib.default.php
+++ b/lib/config/WikibaseLib.default.php
@@ -101,7 +101,7 @@
        ),
 
        // URL schemes allowed for URL values. See UrlSchemeValidators for a 
full list.
-       'urlSchemes' => array( 'ftp', 'http', 'https', 'irc' )
+       'urlSchemes' => array( 'ftp', 'http', 'https', 'irc', 'mailto' )
 );
 
 // experimental stuff

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib05ccb3346e68d7fa9b1b335bb1e35823aefb1e0
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Wikibase
Gerrit-Branch: master
Gerrit-Owner: Gerrit Patch Uploader <gerritpatchuploa...@gmail.com>
Gerrit-Reviewer: Bugreporter <bugreport...@sina.com>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to