From d9a3ae564cc835e3e23bab49d9515ee1e69bcaee Mon Sep 17 00:00:00 2001 From: jdlrobson Date: Thu, 18 Feb 2016 16:28:36 -0800 Subject: [PATCH] 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 --- includes/EditPage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/EditPage.php b/includes/EditPage.php index 82fcdcfb83..b5d0a7b017 100644 --- a/includes/EditPage.php +++ b/includes/EditPage.php @@ -2827,7 +2827,7 @@ class EditPage { } elseif ( $wgUser->isAnon() ) { if ( $this->formtype != 'preview' ) { $wgOut->wrapWikiMsg( - "
\n$1\n
", + "
\n$1\n
", [ 'anoneditwarning', // Log-in link '{{fullurl:Special:UserLogin|returnto={{FULLPAGENAMEE}}}}', -- 2.20.1