Hi, I have a question about the functionality of the API on
zh.wikipedia.org
:
It appears that the API isn't performing redirects that involve conversion
of certain simplified Chinese page titles to traditional, but these
redirects _are_ supported by the wiki's frontend. For example:
When I enter
http://zh.wikipedia.org/wiki/���ŷɼ� into my browser, this
redirects automatically to
http://zh.wikipedia.org/wiki/���T�w��.
But when I do the equivalent query through the api with redirects enabled (
http://zh.wikipedia.org/w/api.php?action=query&titles=���ŷɼ�&redire…)directs), I
get no results.
Other simplified to traditional redirects do work in both the frontend and
the API. For example both
http://zh.wikipedia.org/wiki/�й�and
http://zh.wikipedia.org/wiki/�Ї� lead to the same page. I do notice that
here, unlike in my previous example, the request for the simplified title
shows on the page that the results are a redirect
(���ض������й�<http://zh.wikipedia.org/w/index.php?title=%E4%B8%AD%E5%9B%BD&redirect=no>
��), so something different must be going on.
Does anyone know what's going on here, or is there another Chinese language
forum I should address this question to?
Many thanks,
Joel