Open main menu
Welcome to Wikimedia Commons, Gabrielchihonglee!

-- Wikimedia Commons Welcome (talk) 09:22, 19 February 2013 (UTC)

TUSC token e1290d880fafc107930ff60539ac019f

Getting WD itemEdit

Hi Gabrielchihonglee, i saw the edit of your bot and wondered how one can determine the related WD item of the category. I used this API call which returns Q9523945. However the language links seem to come from Q885 which is also shown in the Wikidata Infobox. Can you tell me how i get from the category WD item to the "normal" Wikidata item? Thank you in advance, --Arnd (talk) 12:26, 13 April 2019 (UTC)

Maybe also User:Zhuyifei1999 can know. --Arnd (talk) 12:28, 13 April 2019 (UTC)
@Aschroet:, it expands {{Interwiki from Wikidata}} on the page to find the interwiki links. It compares interwiki links provided in the template and in the page and remove duplicates. You can find the code here: gist. --Gabrielchihonglee (talk) 12:55, 13 April 2019 (UTC)
Return to the user page of "Gabrielchihonglee".