jenkins-bot has submitted this change and it was merged.

Change subject: Fix ULS positioning
......................................................................


Fix ULS positioning

Forcing wgULSPosition to personal to mimick that behavior regardless
of the position of the uls trigger in other pages.
Change-Id: I8d89f9fc0097e5635995f3b9bb5fa10b6ba38ce6
---
M specials/SpecialTwnMainPage.php
1 file changed, 4 insertions(+), 0 deletions(-)

Approvals:
  Santhosh: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/specials/SpecialTwnMainPage.php b/specials/SpecialTwnMainPage.php
index ec4ec97..2176e88 100644
--- a/specials/SpecialTwnMainPage.php
+++ b/specials/SpecialTwnMainPage.php
@@ -37,6 +37,10 @@
                $out->addModuleStyles( 'jquery.uls.grid' );
                $out->addModuleStyles( 'ext.translate.mainpage' );
                $out->addModules( 'ext.translate.mainpage' );
+               // Forcing wgULSPosition to personal to mimick that behavior 
regardless
+               // of the position of the uls trigger in other pages.
+               $out->addJsConfigVars( 'wgULSPosition', 'personal' );
+
                $out->addHTML( $out->headElement( $this->getSkin() ) );
                $out->addHTML( Html::openElement(
                        'div',

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I8d89f9fc0097e5635995f3b9bb5fa10b6ba38ce6
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/TwnMainPage
Gerrit-Branch: master
Gerrit-Owner: Nikerabbit <[email protected]>
Gerrit-Reviewer: Nikerabbit <[email protected]>
Gerrit-Reviewer: Santhosh <[email protected]>
Gerrit-Reviewer: jenkins-bot

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

Reply via email to