I noticed that Wikipedia uses percent encoding for the path section of a URL, but converts the %
character to .
for the #fragment.
For example, on the Russian 'Russia' page, the URL for section 2 (История) is
http://ru.wikipedia.org/wiki/%D0%A0%D0%BE%D1%81%D1%81%D0%B8%D1%8F#.D0.98.D1.81.D1.82.D0.BE.D1.80.D0.B8.D1.8F
instead of
http://ru.wikipedia.org/wiki/%D0%A0%D0%BE%D1%81%D1%81%D0%B8%D1%8F#%D0%98%D1%81%D1%82%D0%BE%D1%80%D0%B8%D1%8F
Neither are valid HTML<5 tokens for an id/name as the token must start with [A-Za-z]. HTML5 currently states that you can use at least one of any characters apart from space (so you don't need to encode at all), but Wikipedia is not HTML5.
So, why has Wikipedia used this scheme?