$wgOut->wrapWikiMsg( "<div class=\"error\">\n$1\n</div>",
array( 'virus-badscanner', $wgAntivirus ) );
wfProfileOut( __METHOD__ );
- return wfMsg( 'virus-unknownscanner' ) . " $wgAntivirus";
+ return wfMessage( 'virus-unknownscanner' )->text() . " $wgAntivirus";
}
# look up scanner configuration
if ( $wgAntivirusRequired ) {
wfProfileOut( __METHOD__ );
- return wfMsg( 'virus-scanfailed', array( $exitCode ) );
+ return wfMessage( 'virus-scanfailed', array( $exitCode ) )->text();
} else {
wfProfileOut( __METHOD__ );
return null;