Compare (and watch the pageids):
http://www.mediawiki.org/w/api.php?action=query&prop=info&format=jsonfm&titles=API
http://www.mediawiki.org/w/api.php?action=query&prop=info&format=jsonfm&titles=en:API
http://www.mediawiki.org/w/api.php?action=query&prop=info&format=jsonfm&titles=de:API
http://www.mediawiki.org/w/api.php?action=query&prop=info&format=jsonfm&titles=yz:API
Because de: and en: are interwiki bindings, they are stripped off the title, and the information for API is returned instead (the responses to the first three requests are identical). This doesn't happen with yz:API, because yz: isn't an interwiki binding. The API first normalizes yz:API to Yz:API and then tells us it doesn't exist. But en:API and de:API were also 'normalized' to API without notice.
Basically, my two problems are:
- We shouldn't normalize de:API to API, because they have very different meanings. I have no idea what else to do, but the current behavior is misleading at best.
- *If* we normalize de:API to API, we should tell the user.
Of course, if and when siprop=interwiki is implemented it'll fix this problem for me since I can use it to avoid passing interwiki titles, but in the meantime, this is still a bug.
Version: unspecified
Severity: normal