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.
Version: unspecified
Severity: minor
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.
Version: unspecified
Severity: minor
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?
https://www.wikidata.org/w/api.php?action=wbgetentities&ids=Q441536&format=jsonfm this was fixed at some point.