Yurik has uploaded a new change for review.
https://gerrit.wikimedia.org/r/100941
Change subject: Made RTL common for the whole page
......................................................................
Made RTL common for the whole page
Removed 'dir' attribute for the langing links
Change-Id: I6877ad2ba2608e73d7f51f3352a8922e5b2c2fca
---
M includes/ZeroSpecialPage.php
1 file changed, 1 insertion(+), 2 deletions(-)
git pull
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/ZeroRatedMobileAccess
refs/changes/41/100941/1
diff --git a/includes/ZeroSpecialPage.php b/includes/ZeroSpecialPage.php
index 57f1c99..6cb8fd2 100644
--- a/includes/ZeroSpecialPage.php
+++ b/includes/ZeroSpecialPage.php
@@ -139,8 +139,7 @@
wfMessage(
'zero-rated-mobile-access-home-page-selection',
ucfirst( $languageNames[$languageCode]
) )->inLanguage( $languageCode )
);
- $langDir = Language::factory( $languageCode )->getDir();
- $output .= Html::rawElement( 'h3', array( 'dir' =>
$langDir ), $languageLink );
+ $output .= Html::rawElement( 'h3', null, $languageLink
);
}
$output .= Html::element( 'hr' );
$output .= wfMessage(
'zero-rated-mobile-access-home-page-selection-text' )->escaped();
--
To view, visit https://gerrit.wikimedia.org/r/100941
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I6877ad2ba2608e73d7f51f3352a8922e5b2c2fca
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/ZeroRatedMobileAccess
Gerrit-Branch: master
Gerrit-Owner: Yurik <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits