Last modified: 2013-08-31 09:41:53 UTC
Wikibase uses "q123" for item IDs but "Q123" for the corresponding page title. The API should accept both form of the ID, for conveniance. The ID is still unique, we just define the prefix to be case-agnostic.
Force lower case on ids in the API? Or make a method to normalize just the prefix into a known form?
I think EntityContentFactory::getFromPrefixedId should simply accept upper- and lower case prefixes. Is there anything else that would need changing?
Or rather, EntityContentFactory::getEntityTypeFromPrefixedId
Confirmed. On the dev system it still has this behavior.
https://www.wikidata.org/w/api.php?action=wbgetentities&ids=Q441536&format=jsonfm this was fixed at some point.