This corrects some odd behavior with sidebar items and custom namespaces
containing ampersands.
* (bug 10375) Change thousands separator character to for Latin (la)
+* (bug 10477) Fix AJAX watch for Farsi on Firefox: JavaScript encoding tweak
== API changes since 1.10 ==
# To avoid any complaints about bad entity refs
"&" => "\\x26",
+
+ # Work around https://bugzilla.mozilla.org/show_bug.cgi?id=274152
+ # Encode certain Unicode formatting chars so affected
+ # versions of Gecko don't misinterpret our strings;
+ # this is a common problem with Farsi text.
+ "\xe2\x80\x8c" => "\\u200c", // ZERO WIDTH NON-JOINER
+ "\xe2\x80\x8D" => "\\u200D", // ZERO WIDTH JOINER
);
return strtr( $string, $pairs );
}