mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/SpamBlacklist
synced 2024-11-27 16:40:04 +00:00
Use $badLines instead of $badList for PLURAL: counting.
count( $badList ) is always 1 as it is a string.
This commit is contained in:
parent
bde084c272
commit
7df7acb6e0
|
@ -86,7 +86,7 @@ function wfSpamBlacklistValidate( $editPage, $text, $section, &$hookError ) {
|
||||||
"</tt>\n";
|
"</tt>\n";
|
||||||
$hookError =
|
$hookError =
|
||||||
"<div class='errorbox'>" .
|
"<div class='errorbox'>" .
|
||||||
wfMsgExt( 'spam-invalid-lines', array( 'parsemag' ), count( $badList ) ) .
|
wfMsgExt( 'spam-invalid-lines', array( 'parsemag' ), count( $badLines ) ) .
|
||||||
$badList .
|
$badList .
|
||||||
"</div>\n" .
|
"</div>\n" .
|
||||||
"<br clear='all' />\n";
|
"<br clear='all' />\n";
|
||||||
|
|
Loading…
Reference in a new issue