Aude has uploaded a new change for review.

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


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

(bug 51870) fix html in toolbox for related articles

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


  git pull 
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/RelatedArticles 
refs/changes/72/75872/1

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: newchange
Gerrit-Change-Id: I4a655d94f9f7be8e082d20b07ca1113525c56ef8
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/RelatedArticles
Gerrit-Branch: master
Gerrit-Owner: Aude <[email protected]>
Gerrit-Reviewer: jenkins-bot

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

Reply via email to