Provide direction hinting in the personal toolbar
authorMatt Walker <mwalker@wikimedia.org>
Sat, 10 Aug 2013 02:10:47 +0000 (19:10 -0700)
committerKrinkle <krinklemail@gmail.com>
Fri, 3 Jan 2014 14:04:21 +0000 (14:04 +0000)
Actually use the directionality hinting provided.

Bug: 49255
Change-Id: I276cd2777088d501c85aff05a55c4c2e07612fea

includes/SkinTemplate.php

index cca1c6c..6bd768b 100644 (file)
@@ -1565,7 +1565,7 @@ abstract class BaseTemplate extends QuickTemplate {
                        if ( isset( $plink['active'] ) ) {
                                $ptool['active'] = $plink['active'];
                        }
-                       foreach ( array( 'href', 'class', 'text' ) as $k ) {
+                       foreach ( array( 'href', 'class', 'text', 'dir' ) as $k ) {
                                if ( isset( $plink[$k] ) ) {
                                        $ptool['links'][0][$k] = $plink[$k];
                                }