diff --git a/EmailBlacklist.php b/EmailBlacklist.php index 8eb49afc..9266b2e4 100644 --- a/EmailBlacklist.php +++ b/EmailBlacklist.php @@ -15,7 +15,7 @@ class EmailBlacklist extends BaseBlacklist { } /** - * Checks a User object for a blacklisted e-mail address + * Checks a User object for a blacklisted email address * * @param User $user * @return bool True on valid email @@ -32,9 +32,9 @@ class EmailBlacklist extends BaseBlacklist { return true; } - // Check for whitelisted e-mail addresses + // Check for whitelisted email addresses if ( is_array( $whitelists ) ) { - wfDebugLog( 'SpamBlacklist', "Excluding whitelisted e-mail addresses from " . count( $whitelists ) . + wfDebugLog( 'SpamBlacklist', "Excluding whitelisted email addresses from " . count( $whitelists ) . " regexes: " . implode( ', ', $whitelists ) . "\n" ); foreach ( $whitelists as $regex ) { if ( preg_match( $regex, $email ) ) { diff --git a/SpamBlacklist.i18n.php b/SpamBlacklist.i18n.php index 7dd66a33..b0930b9d 100644 --- a/SpamBlacklist.i18n.php +++ b/SpamBlacklist.i18n.php @@ -29,13 +29,13 @@ $messages['en'] = array( # ', 'email-blacklist' => ' #
-# E-mail addresses matching this list will be blocked from registering or sending e-mails
+# Email addresses matching this list will be blocked from registering or sending emails
 # This list affects only this wiki; refer also to the global blacklist.
 # For documentation see https://www.mediawiki.org/wiki/Extension:SpamBlacklist
 #
 # Syntax is as follows:
 #   * Everything from a "#" character to the end of the line is a comment
-#   * Every non-blank line is a regex fragment which will only match hosts inside e-mail addresses
+#   * Every non-blank line is a regex fragment which will only match hosts inside email addresses
 
  #
', 'email-whitelist' => ' #
@@ -44,13 +44,13 @@ $messages['en'] = array(
 #
 # Syntax is as follows:
 #   * Everything from a "#" character to the end of the line is a comment
-#   * Every non-blank line is a regex fragment which will only match hosts inside e-mail addresses
+#   * Every non-blank line is a regex fragment which will only match hosts inside email addresses
 
  #
', - 'spam-blacklisted-email' => 'Blacklisted e-mail address', - 'spam-blacklisted-email-text' => 'Your e-mail address is currently blacklisted from sending e-mails to other users.', - 'spam-blacklisted-email-signup' => 'The given e-mail address is currently blacklisted from use.', + 'spam-blacklisted-email' => 'Blacklisted email address', + 'spam-blacklisted-email-text' => 'Your email address is currently blacklisted from sending emails to other users.', + 'spam-blacklisted-email-signup' => 'The given email address is currently blacklisted from use.', 'spam-invalid-lines' => "The following spam blacklist {{PLURAL:$1|line is an|lines are}} invalid regular {{PLURAL:$1|expression|expressions}} and {{PLURAL:$1|needs|need}} to be corrected before saving the page:", 'spam-blacklist-desc' => 'Regex-based anti-spam tool: [[MediaWiki:Spam-blacklist]] and [[MediaWiki:Spam-whitelist]]', diff --git a/SpamBlacklistHooks.php b/SpamBlacklistHooks.php index 5597ab25..530df16a 100644 --- a/SpamBlacklistHooks.php +++ b/SpamBlacklistHooks.php @@ -70,7 +70,7 @@ class SpamBlacklistHooks { } /** - * Processes new accounts for valid e-mail addresses + * Processes new accounts for valid email addresses * * @param $user User * @param $abortError