Umherirrender has uploaded a new change for review. https://gerrit.wikimedia.org/r/142532
Change subject: Do not mention deprecated User::isValidEmailAddr() in hooks.txt ...................................................................... Do not mention deprecated User::isValidEmailAddr() in hooks.txt Replaced by Sanitizer::validateEmail() Change-Id: I7b4ef438dd31a2dbc641bb06bea8e256e0f5dd1f --- M docs/hooks.txt 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core refs/changes/32/142532/1 diff --git a/docs/hooks.txt b/docs/hooks.txt index 8d7e654..82b4188 100644 --- a/docs/hooks.txt +++ b/docs/hooks.txt @@ -1496,7 +1496,7 @@ $url: URL used to upload from &$allowed: Boolean indicating if uploading is allowed for given URL -'isValidEmailAddr': Override the result of User::isValidEmailAddr(), for +'isValidEmailAddr': Override the result of Sanitizer::validateEmail(), for instance to return false if the domain name doesn't match your organization. $addr: The e-mail address entered by the user &$result: Set this and return false to override the internal checks -- To view, visit https://gerrit.wikimedia.org/r/142532 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I7b4ef438dd31a2dbc641bb06bea8e256e0f5dd1f Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/core Gerrit-Branch: master Gerrit-Owner: Umherirrender <umherirrender_de...@web.de> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits