Last modified: 2013-09-10 14:15:00 UTC
The API has always normalized ids to become lowercase, and because of this bots/scripts have come to depend upon it. https://test.wikidata.org/wiki/Special:EntityData/Q17.json https://test.wikidata.org/w/api.php?action=wbgetentities&ids=Q17&format=jsonfm Both of those now use uppercase ids.
The Lua API is also affected. This issue affect the 1.22wmf16 version.
This is caused by the decision to get rid of inconsistent use of lowercase and uppercase ids. Possible solutions: * change the serializers to force lower case IDs unconditionally. * or add an option "lowercaseids" to all API modules. PS: we have prefixed ids in the database in some places. there might also be some potential for breakage there.
add an option "lowercaseids" to all API modules just seems silly :/ This would require everyone that wants lowercase IDs to change their code anyway, so it would then make more sense for them to change the code to ignore case..
We are working to minimize the impact, but decided to stick with the decision to move to upper case IDs everywhere. Marking wontfix.