[15:23:32] holidays are great, once can be so productive (: [16:51:23] :) [21:29:55] I'm unable to link https://commons.wikimedia.org/wiki/Category:Lebanon_national_association_football_team to https://www.wikidata.org/wiki/Q318928. Could anyone help? [21:33:12] it is already properly linked [21:33:38] link was added by yourself, around 20 minutes ago :-) [21:33:57] I see the NO WIKIDATA ID FOUND! on https://commons.wikimedia.org/wiki/Category:Lebanon_national_association_football_team [21:34:09] Ok no now it's showing ahaha [21:34:12] Thanks anyway [21:50:45] simple API question: I have a wikipedia page such as https://en.wikipedia.org/wiki/Berlin and want to retrieve the connected item (here: Q64) via Mediawiki API. What's the API call again? [22:20:15] MisterSynergy: seems to be https://www.wikidata.org/w/api.php?action=wbgetentities&sites=enwiki&titles=Berlin [22:21:48] thanks; is there also a way to retrieve this via enwiki's API? [22:24:45] would be *much* easier to use for me [22:27:43] hm... I don't think I've ever tried to do that [22:28:35] okay then I need to add a mapping list of 'en.wikipedia.org' --> 'enwiki' for all wikis to my script :-) [22:30:54] I found https://en.wikipedia.org/w/api.php?action=query&meta=wikibase which might help (i.e. you can do a query to find out that en.wikipedia.org -> enwiki, rather than having to hardcode it) [22:31:02] but couldn't find a way to get the wikidata id from enwiki itself [22:31:55] yeah, but that would be another API call [22:32:03] yeah :/ [22:32:07] hardcoding all pairs would be easier [22:32:31] e.g. from https://quarry.wmflabs.org/query/12744 [22:33:56] okay, nevermind. I'll go with the hardcoded mapping list [22:34:04] und ask the wikidata API always