Last modified: 2012-12-13 11:18:14 UTC
http://wikidata-test-repo.wikimedia.de/w/api.php?action=wbgetitems&sites=dewiki&titles=Helium&prop=sitelinks also returns descriptions, labels and a token altough this was not requested by the api query above. The response would only be correct if i would send this request: http://wikidata-test-repo.wikimedia.de/w/api.php?action=wbgetitems&sites=dewiki&titles=Helium&prop=sitelinks|aliaseslabels|descriptions&gettoken This creates unneeded database load and tcp traffic.
From the API documentation props - The names of the properties to get back from each item. Will be further filtered by any languages given. Values (separate with '|'): sitelinks, aliases, labels, descriptions Default: sitelinks|aliases|labels|descriptions Note that there are defaults and that those will be delivered unless overridden. Always specify what information you want back, otherwise the items will be quite large. Especially use the language parameter to limit the number of entries for labels and descriptions if you can. The amount of information will not generate additional database load as they are all read from the item itself, which is stored as a serialized object on the page. The token should not be generated unless requested, that is an error.
It is better, if you not using gettoken, see bug 35993
https://gerrit.wikimedia.org/r/#/c/16282