Index: trunk/phase3/includes/specials/SpecialUpload.php |
— | — | @@ -1515,7 +1515,7 @@ |
1516 | 1516 | |
1517 | 1517 | if ( !$wgAntivirusSetup[$wgAntivirus] ) { |
1518 | 1518 | wfDebug( __METHOD__.": unknown virus scanner: $wgAntivirus\n" ); |
1519 | | - $wgOut->addHTML( "<div class='error'>" . wfMsg('virus-badscanner') . " <i>$wgAntivirus</i></div>\n" ); |
| 1519 | + $wgOut->wrapWikiMsg( '<div class="error">$1</div>', array( 'virus-badscanner', $wgAntivirus ) ); |
1520 | 1520 | return wfMsg('virus-unknownscanner') . " $wgAntivirus"; |
1521 | 1521 | } |
1522 | 1522 | |
Index: trunk/phase3/languages/messages/MessagesEn.php |
— | — | @@ -838,7 +838,7 @@ |
839 | 839 | The reason given is ''$2''.", |
840 | 840 | |
841 | 841 | # Virus scanner |
842 | | -'virus-badscanner' => "Bad configuration: unknown virus scanner:", |
| 842 | +'virus-badscanner' => "Bad configuration: unknown virus scanner: <i>$1</i>", |
843 | 843 | 'virus-scanfailed' => "scan failed (code $1)", |
844 | 844 | 'virus-unknownscanner' => "unknown antivirus:", |
845 | 845 | |