Replace "\n" in 'spam-invalid-lines' by hard coded "<br />".

This commit is contained in:
Siebrand Mazeland 2009-01-25 20:28:24 +00:00
parent 4e598633af
commit 0ee9969f91
2 changed files with 2 additions and 2 deletions

View file

@ -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]]',
);

View file

@ -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";