mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/SpamBlacklist
synced 2024-11-28 00:50:28 +00:00
Replace "\n" in 'spam-invalid-lines' by hard coded "<br />".
This commit is contained in:
parent
4e598633af
commit
0ee9969f91
|
@ -27,7 +27,7 @@ $messages['en'] = array(
|
|||
# * Every non-blank line is a regex fragment which will only match hosts inside URLs
|
||||
|
||||
#</pre> <!-- leave this line exactly as it is -->',
|
||||
'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:\n",
|
||||
'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]]',
|
||||
);
|
||||
|
||||
|
|
|
@ -365,7 +365,7 @@ class SpamBlacklist {
|
|||
"</tt>\n";
|
||||
$hookError =
|
||||
"<div class='errorbox'>" .
|
||||
wfMsgExt( 'spam-invalid-lines', array( 'parsemag' ), count( $badLines ) ) .
|
||||
wfMsgExt( 'spam-invalid-lines', array( 'parsemag' ), count( $badLines ) ) . "<br />" .
|
||||
$badList .
|
||||
"</div>\n" .
|
||||
"<br clear='all' />\n";
|
||||
|
|
Loading…
Reference in a new issue