-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Aryeh Gregor wrote:
> On Sun, Dec 28, 2008 at 5:57 PM, Brion Vibber <[email protected]> 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/Уплисцихе#Уплисцихе_в_средневековье
> 
> 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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAklcAtcACgkQwRnhpk1wk47iuACcDjVTxZ5TA1kBYV4jTQGqMLed
Vf0AoLUMN1Rmzbz5IN23zcs2ACJDLw10
=Dvcg
-----END PGP SIGNATURE-----

_______________________________________________
Wikitech-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to