[06:33:41] Why am I getting "Exception encountered, of type "LocalFileLockError"" when deleting? [06:42:45] Riley-: On a Wikimedia wiki? Go to #wikimedia-operations [06:43:24] thx [08:49:29] Hey - just want to check I've posted this in the right place - https://meta.wikimedia.org/wiki/Tech#Accessing_.22Summary.22_data_for_images_via_wikimedia_API - I'm trying to find out how to access via the API the data in the "Summary" table found beneath images on wikimedia [08:54:52] Bsadowski1: actually, this channel is correct [08:55:19] watty: place is ok, question not much as you didn't say what you already tried [08:55:55] we have multiple APIs about images and so on https://www.mediawiki.org/wiki/API:Main_page [08:56:06] watty: You need to ask a Commons admin to add an id to medium in https://commons.wikimedia.org/wiki/Template:Artwork [08:56:11] It's protected [09:01:26] Oh [09:05:38] Nemo_bis I was trying to access it via the following query https://commons.wikimedia.org/w/api.php?action=query&titles=File:Adolphe_Braun_-_Untitled_-_Google_Art_Project.jpg&prop=imageinfo&iiprop=url%7Cextmetadata [09:08:38] Glaisher - I'm not sure I understand. I want to be able to access the value of "Medium" via the API for a given image (if it has a value set). [09:09:29] watty: Yeah, the API can only show the value if it is machine-readable. Currently, we do it by using HTML ids. [09:09:40] So for example I want to be able to make a query such as https://commons.wikimedia.org/w/api.php?action=query&titles=File:Adolphe_Braun_-_Untitled_-_Google_Art_Project.jpg&prop=imageinfo&iiprop=url%7Cextmetadata to access it. From this query I can currently get the Artist, DateTimeOriginal, Title etc [09:11:26] Hmm.. I suppose I could just request the web page and programatically wrangle it from the HTML if it's not accessible via the API [09:21:23] watty: That is generally discouraged because it is very fragile [09:23:25] I'm just trying to do a one-off dump - if it's not accessible via the API I guess I have no choice [09:23:52] I'm not building something that will do that as part of its functionality, don't worry! [15:09:24] [[Tech]]; Jdforrester (WMF); /* Accessing "Summary" data for images via wikimedia API */ Reply.; https://meta.wikimedia.org/w/index.php?diff=15589869&oldid=15588362&rcid=7755721 [15:17:14] [[Tech]]; Mcjiggerlog; /* Accessing "Summary" data for images via wikimedia API */; https://meta.wikimedia.org/w/index.php?diff=15589884&oldid=15589869&rcid=7755745 [20:43:39] DanielK_WMDE__, Hey, there are 2 questions here, and at the bottom, that you might be able to help with (it's the RFC on the various interwiki maps/lists): https://phabricator.wikimedia.org/T113034#2130732 (mine is a request for examples of each, to be added to the description, so that everyone (esp. newcomers) can understand what it's specifically about). [21:00:57] quiddity: thanks for the poke! i planned to work on the rfc today, but got stuck on setting up a new laptop. will look into it tomorrow! [21:01:33] Sounds good. And good luck wrestling the new hardware. :) [21:14:19] quiddity: hm, couldn't resist to write a very short reply now. hth :) [21:23:45] o/ bd808 [21:23:54] Thanks for your PRs on mwoauth [21:23:58] Just added a note here: https://github.com/mediawiki-utilities/python-mwoauth/pull/19 [21:24:09] I wish that what you did with __version__ would work :( [21:44:59] halfak: bah. ok. [21:45:46] there is another way to do it by going the other direction [22:41:52] https://www.mediawiki.org/wiki/Special:Code/MediaWiki/115794 [22:42:02] On ViewVC: https://svn.wikimedia.org/viewvc/mediawiki/?view=rev&revision=115794 [22:42:12] Which then redirects to https://phabricator.wikimedia.org/diffusion/?view=rev&revision=115794 [22:42:16] Is this a cruel joke of some kind? [22:43:46] Apparently links such as https://phabricator.wikimedia.org/rSVN115794 work. [22:46:32] svn checkout 'svn+ssh://vcs@git-ssh.wikimedia.org/diffusion/SVN/' subversion Was failing because I hadn't uploaded a public key. [22:46:35] Bleh. [23:17:22] I filed https://phabricator.wikimedia.org/T134828 about the "on ViewVC" links.