dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c35e848
)
"Image size limit" text should always read left-to-right
author
Huji Lee
<huji.huji@gmail.com>
Sun, 27 Nov 2016 04:44:44 +0000
(23:44 -0500)
committer
Huji
<huji.huji@gmail.com>
Sun, 11 Dec 2016 23:35:27 +0000
(23:35 +0000)
Bug: T144386
Change-Id: I10ab5ed71c114bbfefcc841d8a3d4b280bf1acf2
includes/Preferences.php
patch
|
blob
|
history
diff --git
a/includes/Preferences.php
b/includes/Preferences.php
index
d40e0c1
..
cf8e7b8
100644
(file)
--- a/
includes/Preferences.php
+++ b/
includes/Preferences.php
@@
-1218,7
+1218,8
@@
class Preferences {
$pixels = $context->msg( 'unit-pixel' )->text();
foreach ( $context->getConfig()->get( 'ImageLimits' ) as $index => $limits ) {
- $display = "{$limits[0]}×{$limits[1]}" . $pixels;
+ // Note: A left-to-right marker (\u200e) is inserted, see T144386
+ $display = "{$limits[0]}" . json_decode( '"\u200e"' ) . "×{$limits[1]}" . $pixels;
$ret[$display] = $index;
}