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:
parent
a85d1b9d0c
commit
d9a3ae564c
1 changed files with 1 additions and 1 deletions
|
|
@ -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}}}}',
|
||||
|
|
|
|||
Loading…
Reference in a new issue