-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Aryeh Gregor wrote:
On Sun, Dec 28, 2008 at 5:57 PM, Brion Vibber brion@wikimedia.org wrote:
If there are no major browser compatibility problems, I would probably recommend we roll back the nasty old .XX encoding for HTML 4 compatibility, in which case we could quite legally produce something direct, such as:
http://ru.wikipedia.org/wiki/%D0%A3%D0%BF%D0%BB%D0%B8%D1%81%D1%86%D0%B8%D1%8...
This now works in r45171. Currently it's an option, disabled by default, because it needs more testing and discussion. Unless you see a problem right away, I suggest enabling it on testwiki.
Hmm, the fragments aren't getting URL-encoded when put onto links:
<a href="/trunk/index.php/%D0%A3%D0%BF%D0%BB%D0%B8%D1%81%D1%86%D0%B8%D1%85%D0%B5#Уплисцихе_в_настоящее_время" title="Уплисцихе">
Particularly when tossing them around in HTTP headers and such I'm pretty sure we should be consistently URL-encoding the UTF-8.
(In general handling of the fragment bit on Title objects is weird and horrifying, IMHO, with the '#' prefix and any encoding handled by whoever sets it... they probably _ought_ to be just passed in in source form and let the Title object worry about all the normalization and encoding when it makes a link.)
- -- brion