Most projects override this anyway, but for default installs, let's
be consistent with other warning messages so it's clearer what is
going on.
Bug: T127403
Change-Id: I22c51a46a249247abccda709d74356e8e31a19a8
} elseif ( $wgUser->isAnon() ) {
if ( $this->formtype != 'preview' ) {
$wgOut->wrapWikiMsg(
- "<div id='mw-anon-edit-warning'>\n$1\n</div>",
+ "<div id='mw-anon-edit-warning' class='warningbox'>\n$1\n</div>",
[ 'anoneditwarning',
// Log-in link
'{{fullurl:Special:UserLogin|returnto={{FULLPAGENAMEE}}}}',