Hoo man has submitted this change and it was merged.

Change subject: (bug 51870) fix html in toolbox for related articles
......................................................................


(bug 51870) fix html in toolbox for related articles

issue with the bug is that the ULS cog wheel appears
in the wrong place, among fixing some other details.

Change-Id: I4a655d94f9f7be8e082d20b07ca1113525c56ef8
---
M RelatedArticles.class.php
1 file changed, 6 insertions(+), 2 deletions(-)

Approvals:
  Hoo man: Verified; Looks good to me, approved
  Daniel Kinzler: Looks good to me, but someone else must approve
  jenkins-bot: Checked



diff --git a/RelatedArticles.class.php b/RelatedArticles.class.php
index b127bc2..559bfda 100644
--- a/RelatedArticles.class.php
+++ b/RelatedArticles.class.php
@@ -180,10 +180,14 @@
                        Html::closeElement( 'ul' ) .
                        Html::closeElement( 'div' ) .
                        Html::closeElement( 'div' ) .
-                       Html::openElement( 'div', array( 'id' => 'p-lang', 
'class' => 'portal' ) ) .
+                       Html::openElement( 'div', array(
+                               'class' => 'portal',
+                               'role' => 'navigation',
+                               'id' => 'p-relatedarticles',
+                       ) ) .
                        Html::element( 'h3', array(), wfMessage( 
'relatedarticles-title' )->text() ) .
                        Html::openElement( 'div', array( 'class' => 'body' ) ) .
-                       Html::openElement( 'ul', array( 'class' => 'body' ) ) .
+                       Html::openElement( 'ul' ) .
                        implode( '', $relatedArticles );
 
                return true;

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I4a655d94f9f7be8e082d20b07ca1113525c56ef8
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/RelatedArticles
Gerrit-Branch: master
Gerrit-Owner: Aude <[email protected]>
Gerrit-Reviewer: Amire80 <[email protected]>
Gerrit-Reviewer: Daniel Kinzler <[email protected]>
Gerrit-Reviewer: Hoo man <[email protected]>
Gerrit-Reviewer: Nikerabbit <[email protected]>
Gerrit-Reviewer: Reedy <[email protected]>
Gerrit-Reviewer: Santhosh <[email protected]>
Gerrit-Reviewer: Siebrand <[email protected]>
Gerrit-Reviewer: jenkins-bot

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

Reply via email to