Example #1
0
function Html5SetSpamMessage($match = false)
{
    Html5editor::$spam_message = wfMsg('spamprotectiontext');
    if ($match) {
        Html5editor::$spam_message .= wfMsgExt('spamprotectionmatch', 'parse', wfEscapeWikiText($match));
    }
    return true;
}