EditPage: Style anonymous editor warning as a warningbox for consistency

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
This commit is contained in:
jdlrobson 2016-02-18 16:28:36 -08:00 committed by Jforrester
parent a85d1b9d0c
commit d9a3ae564c

View file

@ -2827,7 +2827,7 @@ class EditPage {
} 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}}}}',