Nikerabbit has uploaded a new change for review.

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


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, 2 insertions(+), 0 deletions(-)


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

diff --git a/specials/SpecialTwnMainPage.php b/specials/SpecialTwnMainPage.php
index 5dc8732..a3a9f89 100644
--- a/specials/SpecialTwnMainPage.php
+++ b/specials/SpecialTwnMainPage.php
@@ -37,6 +37,8 @@
                $out->addModuleStyles( 'jquery.uls.grid' );
                $out->addModuleStyles( 'ext.translate.mainpage' );
                $out->addModules( 'ext.translate.mainpage' );
+               $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: newchange
Gerrit-Change-Id: I8d89f9fc0097e5635995f3b9bb5fa10b6ba38ce6
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