r109611 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r109610‎ | r109611 | r109612 >
Date:11:10, 20 January 2012
Author:raymond
Status:ok
Tags:
Comment:
r109455: Fix some errors
* URLs -> e-mails in the explaining text for the new feature
* Move closing ', behind the explaining text, otherwise it is a PHP comment only
* http -> https:
Spotted by kgh https://translatewiki.net/wiki/Thread:Support/About_MediaWiki:Email-blacklist/en
Modified paths:
  • /trunk/extensions/SpamBlacklist/SpamBlacklist.i18n.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SpamBlacklist/SpamBlacklist.i18n.php
@@ -11,7 +11,7 @@
1212 $messages['en'] = array(
1313 'spam-blacklist' => ' # External URLs matching this list will be blocked when added to a page.
1414 # This list affects only this wiki; refer also to the global blacklist.
15 - # For documentation see http://www.mediawiki.org/wiki/Extension:SpamBlacklist
 15+ # For documentation see https://www.mediawiki.org/wiki/Extension:SpamBlacklist
1616 #<!-- leave this line exactly as it is --> <pre>
1717 #
1818 # Syntax is as follows:
@@ -26,22 +26,22 @@
2727 #</pre> <!-- leave this line exactly as it is -->',
2828 'email-blacklist' => ' # Emails matching this list will be blocked from registering or sending email
2929 # This list affects only this wiki; refer also to the global blacklist.
30 - # For documentation see http://www.mediawiki.org/wiki/Extension:SpamBlacklist
 30+ # For documentation see https://www.mediawiki.org/wiki/Extension:SpamBlacklist
3131 #<!-- leave this line exactly as it is --> <pre>
3232 #
3333 # Syntax is as follows:
3434 # * Everything from a "#" character to the end of the line is a comment
35 -# * Every non-blank line is a regex fragment which will only match hosts inside URLs
 35+# * Every non-blank line is a regex fragment which will only match hosts inside e-mails
3636
3737 #</pre> <!-- leave this line exactly as it is -->',
3838 'email-whitelist' => ' #<!-- leave this line exactly as it is --> <pre>
3939 # Emails matching this list will *not* be blocked even if they would
4040 # have been blocked by blacklist entries.
4141 #
42 - #</pre> <!-- leave this line exactly as it is -->',
 42+ #</pre> <!-- leave this line exactly as it is -->
4343 # Syntax is as follows:
4444 # * Everything from a "#" character to the end of the line is a comment
45 -# * Every non-blank line is a regex fragment which will only match hosts inside URLs
 45+# * Every non-blank line is a regex fragment which will only match hosts inside e-mails',
4646
4747 'spam-blacklisted-email' => 'Blacklisted E-mail',
4848 'spam-blacklisted-email-text' => 'Your e-mail address is currently blacklisted from sending e-mails to other users.',

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r109455Adding Email blacklisting to the SpamBlacklist extension...johnduhart23:29, 18 January 2012

Status & tagging log