Here is a very minor but annoying bug:
http://en.wikipedia.org/w/api.php?action=query&titles=-100&prop=inf…
Note that in the response, the title -100 is not quoted in the redirects
value --
"redirects": [
{
"from": -100,
"to": "100 BC"
}
],
This apparently happens only in JSON, and only for redirects; when I run the
same query without the 'format' parameter, the title is quoted. When I run a
query without the 'redirects' parameter, the title is quoted, even in JSON.
Interpreting the page title as an int instead of a string drives my client
program crazy! :)
Russ Blau