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

Change subject: Stats: Generate personal tools before head element
......................................................................


Stats: Generate personal tools before head element

Followup: I5d024a42421423c5d0c5ebe2123ebdffa5e9c3b2
Change-Id: Id604da146dcae601b19ee29536339f98c55f68fb
---
M specials/SpecialContentTranslationStats.php
1 file changed, 3 insertions(+), 4 deletions(-)

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



diff --git a/specials/SpecialContentTranslationStats.php 
b/specials/SpecialContentTranslationStats.php
index c1476fa..07b63fb 100644
--- a/specials/SpecialContentTranslationStats.php
+++ b/specials/SpecialContentTranslationStats.php
@@ -39,7 +39,9 @@
                $out->addModules( $defaultSkinModules['legacy'] );
 
                Hooks::run( 'BeforePageDisplay', array( &$out, &$skin ) );
-
+               $toolbarList = Html::rawElement( 'ul',
+                       null,
+                       $skin->getPersonalToolsList() );
                $out->addHTML( $out->headElement( $skin ) );
                $out->addHTML( Html::element(
                        'noscript',
@@ -47,9 +49,6 @@
                        $this->msg( 'cx-javascript' )->text()
                ) );
                $out->addHtml( MWDebug::getDebugHTML( $this->getContext() ) );
-               $toolbarList = Html::rawElement( 'ul',
-                       null,
-                       $skin->getPersonalToolsList() );
                $out->addHTML( Html::rawElement( 'div',
                        array( 'id' => 'p-personal' ),
                        $toolbarList ) );

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

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

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

Reply via email to