[00:04:25] i guess adding all 3, then VIAF mapping them back to itself and fixing them and then updating the entries is the way to go. "bleh" [00:46:14] SothoTalKer there is already a wikipedia project page concerning this issue: https://en.wikipedia.org/wiki/Wikipedia:VIAF/errors#Two_or_more_VIAF_identities_for_the_same_article [00:46:47] from what i can see those never get resolved ;p [00:51:34] https://en.wikipedia.org/wiki/Wikipedia:Authority_control#VIAF says: "Sooner or later VIAF will merge them into one dataset and redirect to this from old IDs" so "ooner or later" it will happen :D [00:53:55] likely next century, i presume :-) [00:55:37] anyway, not a main concern of me. since the data exists, it should get added to WD in its current form. [00:55:50] of course. [00:56:51] one would have thought there's an easy way, but authorities are slow entities :) [02:50:24] BLEH, VIAF data is a MESS :D [11:12:36] Is there a way to get the current https://commons.wikimedia.org/wiki/Commons:Picture_of_the_day via WD on other wikis? [11:13:26] Someone wikis don't have their own POTD, so they take the ones from Commons, and I was wondering if there was a way to update them without doing it manually or with the help of a bot? [11:13:29] *Some wikis [11:14:17] *take the one from [11:42:09] srdjan_m: hm, that'll require some item getting updated each day or separate items per POTD. But maybe structured data for Commons will make things easier [11:43:09] sjoerddebruin: I'm not familiar with structured data. Could you elaborate? [11:43:24] https://commons.wikimedia.org/wiki/Commons:Structured_data [11:44:05] Hmm... [11:44:50] So, would it be possible to implement this via separate items until then or is it too much work? [11:45:09] Also, I wonder how we'd be able to invoke them on-wiki if there's separate. [11:46:29] That's a good question actually... [11:46:48] *if they're [11:47:10] i think this was also discussed before, not sure where [12:31:56] PROBLEM - wikidata.org dispatch lag is higher than 300s on www.wikidata.org is CRITICAL: HTTP CRITICAL: HTTP/1.1 200 OK - pattern not found - 1968 bytes in 0.133 second response time [13:01:56] RECOVERY - wikidata.org dispatch lag is higher than 300s on www.wikidata.org is OK: HTTP OK: HTTP/1.1 200 OK - 1972 bytes in 0.133 second response time [13:55:53] Wikibase question for you all... let's say I want to get the page title of a wikibase item (Q2) for the current wiki [13:55:58] how would I do that? [13:56:36] I found ClientSiteLinkTitleLookup which looks to be what I want [13:56:38] https://phabricator.wikimedia.org/diffusion/EWBA/browse/master/client/includes/DataAccess/ClientSiteLinkTitleLookup.php [13:56:38] but I'm not sure how it's supposed to be used [13:56:45] I’m not sure what you mean… for example, if you’re on enwiki, you want the enwiki site linked to Q2? [13:57:10] right, let's say I have the item "Q2" but not the page name [13:57:37] for more context, this is coming from https://phabricator.wikimedia.org/T165535#4159769 [13:58:00] I like the idea since the item is fixed (at least in wmf), but the pagename is not [13:59:05] ah, I see [14:00:23] the Wikibase special page for this is Special:GoToLinkedPage, so perhaps you can check what https://phabricator.wikimedia.org/diffusion/EWBA/browse/master/repo/includes/Specials/SpecialGoToLinkedPage.php does? [14:00:27] sorry afk now [14:01:28] uhh.. this is probably a basic question... but where do the dependencies get injected? [14:01:56] probably somewhere in repo/includes/Wikibase.php iirc [14:02:14] the client lua function mw.wikibase.getSitelink also seems to do the same thing from the client side, but I’m not sure where that is set up [14:02:33] sorry that was repo/includes/WikibaseRepo.php what I meant earlier [14:03:04] ooo ok [14:03:11] cool, thanks! [14:08:42] wait, in your case I guess the DI should be in client/includes/WikibaseClient.php :D [14:08:52] I’m just so used to looking at the repo version [14:09:02] sorry [14:17:13] no problem. :) [21:15:41] I am probably being stupid here, but I do not understand based on the provided example how do I look up an item by a specific ID? [21:15:42] https://github.com/maxlath/wikidata-sdk/blob/master/docs/get_entities.md#by-ids [21:15:53] e.g. I want to lookup movie record by IMDb ID [21:50:02] I have used sparql to retrieve the information. [21:50:52] https://gist.github.com/gajus/96e033ef4fcbd08587dad60057884d6f [23:19:50] gajus: the query seems to be ok, e.g. http://tinyurl.com/ya4wpd78