Last modified: 2012-07-25 19:49:00 UTC
On Serbian Wikipedia, if you go to a Latin URL, and the page does not exist, and the URL can be converted to Cyrillic, and the Cyrillic page does exist, you will be redirected to the Cyrillic page. For example, go to Latin URL http://sr.wikipedia.org/wiki/J-20_Kraguj and MediaWiki will properly redirect you to Cyrillic URL http://sr.wikipedia.org/wiki/%D0%88-20_%D0%9A%D1%80%D0%B0%D0%B3%D1%83%D1%98 (the page [[J-20_Kraguj]] doesn't exist but [[Ј-20 Крагуј]] does). Now, if you go to http://sr.wikipedia.org/w/api.php?action=query&query=langlinks&titles=J-20_Kraguj you would expect that it does the same (normalize page name to Cyrillic and display langlinks from [[Ј-20 Крагуј]]) but instead it tries to get langlinks from [[J-20_Kraguj]] and returns an empty list of languages. Among other things, this means that if you link to the Latin URL from QRpedia (which is highly desirable, since the URLs are much shorter) it will not be able to fetch the list of languages and lead you to your desired language.
this is relevant to many non-latin wikis.
Use converttitles of action=query http://sr.wikipedia.org/w/api.php?action=query&prop=langlinks&titles=J-20_Kraguj&converttitles=