Nikerabbit has uploaded a new change for review.

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


Change subject: HTML changes to make styling with CSS easier
......................................................................

HTML changes to make styling with CSS easier

Change-Id: Ifbcc20aa2c64002f48237ec3bbd578a1bdc04d2f
---
M specials/SpecialTwnMainPage.php
1 file changed, 11 insertions(+), 6 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/TwnMainPage 
refs/changes/78/83078/1

diff --git a/specials/SpecialTwnMainPage.php b/specials/SpecialTwnMainPage.php
index 7763ff0..d5bfe98 100644
--- a/specials/SpecialTwnMainPage.php
+++ b/specials/SpecialTwnMainPage.php
@@ -5,7 +5,7 @@
  * @file
  * @author Niklas Laxström
  * @author Santhosh Thottingal
- * @license GPL2+
+ * @license GPL-2.0+
  */
 
 /**
@@ -231,14 +231,15 @@
                }
 
                $out = Html::openElement( 'div', $bannerAttribs );
-               $out .= $this->twnStats();
-               $out .= $this->userWidget();
 
                if ( isset( $image['attribution'] ) ) {
                        $out .= Html::rawElement( 'div', array( 'class' => 
'banner-attribution' ),
                                $this->msg( 'twnmp-bannerwho', 
$image['attribution'] )->plain()
                        );
                }
+
+               $out .= $this->twnStats();
+               $out .= $this->userWidget();
 
                $out .= Html::closeElement( 'div' );
 
@@ -422,9 +423,13 @@
                $out .= Html::closeElement( 'li' );
                $out .= Html::closeElement( 'ul' );
                $out .= Html::openElement( 'div', $row );
-               $out .= Html::element( 'div', array(
-                       'class' => 'eight columns offset-by-one 
signup-language-selector'
-               ), $this->msg( 'twnmp-choose-another-language' )->text() );
+               $out .= Html::openElement( 'div', array( 'class' => 'eight 
columns offset-by-one' ) );
+               $out .= Html::element(
+                       'div',
+                       array( 'class' => 'signup-language-selector' ),
+                       $this->msg( 'twnmp-choose-another-language' )->text()
+               );
+               $out .= Html::closeElement( 'div' );
                $out .= Html::closeElement( 'div' );
                $out .= Html::element(
                        'h2',

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ifbcc20aa2c64002f48237ec3bbd578a1bdc04d2f
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/TwnMainPage
Gerrit-Branch: master
Gerrit-Owner: Nikerabbit <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to