From 0ee9969f91893dc4329619d74dc3daab5e5805ed Mon Sep 17 00:00:00 2001 From: Siebrand Mazeland Date: Sun, 25 Jan 2009 20:28:24 +0000 Subject: [PATCH] Replace "\n" in 'spam-invalid-lines' by hard coded "
". --- SpamBlacklist.i18n.php | 2 +- SpamBlacklist_body.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/SpamBlacklist.i18n.php b/SpamBlacklist.i18n.php index 4b6fe80f..15a02143 100644 --- a/SpamBlacklist.i18n.php +++ b/SpamBlacklist.i18n.php @@ -27,7 +27,7 @@ $messages['en'] = array( # * Every non-blank line is a regex fragment which will only match hosts inside URLs # ', - '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]]', ); diff --git a/SpamBlacklist_body.php b/SpamBlacklist_body.php index 1fff5db5..fe1a1a13 100644 --- a/SpamBlacklist_body.php +++ b/SpamBlacklist_body.php @@ -365,7 +365,7 @@ class SpamBlacklist { "\n"; $hookError = "
" . - wfMsgExt( 'spam-invalid-lines', array( 'parsemag' ), count( $badLines ) ) . + wfMsgExt( 'spam-invalid-lines', array( 'parsemag' ), count( $badLines ) ) . "
" . $badList . "
\n" . "
\n";