If I try to get the language links for a page on Wikipedia via their API like this:
I get a list of results.
But if I down-case the R in Ralph like this:
I get no results.
Looking at the returned information, it looks like Wikipedia normalizes "wreck-it Ralph" in the first example to "Wreck-it Ralph" which redirects to "Wreck-It Ralph".
In the second example, "wreck-it ralph" is normalized to "Wreck-it ralph" which doesn't redirect anywhere, apparently.
Searching for "wreck-it ralph" on http://wikipedia.org works, of course:
http://www.wikipedia.org/search-redirect.php?family=wikipedia&search=wreck-it+ralph&language=en
Can I make the langlinks query work the same way, helping me when I don't know the exact case of all the characters of the search term?
Update From the answer by Sorawee I managed to find out how to do a case-insensitive search: https://en.wikipedia.org/w/api.php?action=query&generator=search&format=json&gsrsearch=wreck-it%20ralph&gsrlimit=1&prop=info