Index: trunk/extensions/Gadgets/Gadgets_body.php |
— | — | @@ -67,7 +67,9 @@ |
68 | 68 | foreach ( $thisSection as $gadget ) { |
69 | 69 | if ( $gadget->isAllowed( $user ) ) { |
70 | 70 | $gname = $gadget->getName(); |
71 | | - $available[$gadget->getDescription()] = $gname; |
| 71 | + # bug 30182: dir="auto" because it's often not translated |
| 72 | + $desc = '<span dir="auto">' . $gadget->getDescription() . '</span>'; |
| 73 | + $available[$desc] = $gname; |
72 | 74 | if ( $gadget->isEnabled( $user ) ) { |
73 | 75 | $default[] = $gname; |
74 | 76 | } |