[MediaWiki-commits] [Gerrit] Fix ULS positioning - change (mediawiki...TwnMainPage)

2013-05-30 Thread jenkins-bot (Code Review)
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 niklas.laxst...@gmail.com
Gerrit-Reviewer: Nikerabbit niklas.laxst...@gmail.com
Gerrit-Reviewer: Santhosh santhosh.thottin...@gmail.com
Gerrit-Reviewer: jenkins-bot

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


[MediaWiki-commits] [Gerrit] Fix ULS positioning - change (mediawiki...TwnMainPage)

2013-05-29 Thread Nikerabbit (Code Review)
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 niklas.laxst...@gmail.com

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