Florianschmidtwelzow has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/226026

Change subject: Always show a logo on Login/Create page
......................................................................

Always show a logo on Login/Create page

Before this change, the logo was only visible, if there is no error
or warning message. That is really confusing and differs from the
behavior of the core login page.

This change changes the logo to appear everytime the login page is
requested, no matter, if there is an error or warning message.

Follow up: I1b09e7ba80d18dc8c19b2aa475c4d269dffc295e

Bug: T106352
Change-Id: Ib9893b3376c6d15843c2a798a334c1998526e8da
---
M includes/skins/UserLoginAndCreateTemplate.php
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/MobileFrontend 
refs/changes/26/226026/1

diff --git a/includes/skins/UserLoginAndCreateTemplate.php 
b/includes/skins/UserLoginAndCreateTemplate.php
index d7dd7a6..33ccf07 100644
--- a/includes/skins/UserLoginAndCreateTemplate.php
+++ b/includes/skins/UserLoginAndCreateTemplate.php
@@ -60,8 +60,8 @@
                        $msgBox .= Html::element( 'br' );
                        $msgBox .= wfMessage( 
"mobile-frontend-generic-{$action}-action" )->plain();
                        $msgBox .= Html::closeElement( 'div' );
-                       $msgBox .= $this->getLogoHtml();
                }
+               $msgBox .= $this->getLogoHtml();
                echo $msgBox;
        }
 

-- 
To view, visit https://gerrit.wikimedia.org/r/226026
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib9893b3376c6d15843c2a798a334c1998526e8da
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/MobileFrontend
Gerrit-Branch: master
Gerrit-Owner: Florianschmidtwelzow <florian.schmidt.stargatewis...@gmail.com>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to