Index: trunk/phase3/includes/SpecialAllpages.php |
— | — | @@ -377,4 +377,4 @@ |
378 | 378 | } |
379 | 379 | } |
380 | 380 | |
381 | | - |
| 381 | +?> |
Index: trunk/phase3/includes/Xml.php |
— | — | @@ -346,6 +346,13 @@ |
347 | 347 | |
348 | 348 | # To avoid any complaints about bad entity refs |
349 | 349 | "&" => "\\x26", |
| 350 | + |
| 351 | + # Work around https://bugzilla.mozilla.org/show_bug.cgi?id=274152 |
| 352 | + # Encode certain Unicode formatting chars so affected |
| 353 | + # versions of Gecko don't misinterpret our strings; |
| 354 | + # this is a common problem with Farsi text. |
| 355 | + "\xe2\x80\x8c" => "\\u200c", // ZERO WIDTH NON-JOINER |
| 356 | + "\xe2\x80\x8D" => "\\u200D", // ZERO WIDTH JOINER |
350 | 357 | ); |
351 | 358 | return strtr( $string, $pairs ); |
352 | 359 | } |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -261,6 +261,7 @@ |
262 | 262 | This corrects some odd behavior with sidebar items and custom namespaces |
263 | 263 | containing ampersands. |
264 | 264 | * (bug 10375) Change thousands separator character to for Latin (la) |
| 265 | +* (bug 10477) Fix AJAX watch for Farsi on Firefox: JavaScript encoding tweak |
265 | 266 | |
266 | 267 | |
267 | 268 | == API changes since 1.10 == |