[14:17:55] Have you tried https://github.com/wikimedia/puppet in AWS??? [14:22:13] Have you tried https://github.com/wikimedia/puppet in AWS??? [14:25:06] Have you tried https://github.com/wikimedia/puppet in AWS??? [14:36:48] [[Tech]]; AirSThib; /* E-mail adress for Wikinews */ + réponse; https://meta.wikimedia.org/w/index.php?diff=19767532&oldid=19765129&rcid=14813206 [14:41:42] Have you tried https://github.com/wikimedia/puppet in AWS??? [14:43:09] Have you tried https://github.com/wikimedia/puppet in AWS??? [19:28:27] Is anyone else seeing a bunch of 503 errors on Wikipedia? [19:28:32] Request from 73.222.33.248 via cp4028 frontend, Varnish XID 892814334Error: 503, Backend fetch failed at Sun, 02 Feb 2020 19:26:04 GMT [19:35:24] The 503s should be gone now. Operations restarted varnish on cp4028. [21:50:46] hello! does anyone know if there is a search API like prefixsearch that lets you filter to fetch only local pages, e.g. local files and not those shadowed from Commons? [21:55:20] allpages? [21:57:55] that seems to work better, but some Commons files still show up. Such as File:Gazelles_of_Sunset.jpg at https://en.wikipedia.org/w/api.php?action=query&list=prefixsearch&format=json&pssearch=G&psnamespace=6 [21:58:13] there isn't a local file page either https://en.wikipedia.org/wiki/File:Gazelles_of_Sunset.jpg [21:59:19] I don’t see it? [22:00:29] Which is the goal, right [22:01:00] actually the first result is another example. No local file page for https://en.wikipedia.org/wiki/File:Gazania_rigens-1.jpg but it shows up at https://en.wikipedia.org/w/api.php?action=query&list=prefixsearch&pssearch=G&psnamespace=6 [22:02:10] https://en.wikipedia.org/w/api.php?action=query&format=json&list=allpages&apfrom=G&apnamespace=6&aplimit=500 [22:02:28] oh dammit I thought I was looking at allpages [22:02:41] :P [22:02:42] I'm not seeing Gazania_rigens there [22:03:16] prefixsearch defaults to a variable search engine iirc [22:06:03] okay, so allpages does work! I thought I tried that. Thanks [22:06:08] :D [22:07:31] It’s what Twinkle’s using to generate the list of pages for the partial block input, so I had it at my fingertips from looking into them all recently. [22:08:21] this is for https://wikimedia.org/api/rest_v1/#/Mediarequests%20data/get_metrics_mediarequests_per_file__referer___agent___file_path___granularity___start___end_ [22:10:16] you can filter by project, so you can see request counts for local uploads. In this case (https://en.wikipedia.org/wiki/File:Gazania_rigens_var._rigens.jpg for example) the file URL is still at commons (https://upload.wikimedia.org/wikipedia/commons/6/65/Gazania_rigens_var._rigens.jpg), so a little misleading to say they are enwiki requests, but whatever [22:16:04] in my application you enter a project then a file name to get the media request counts. So if you give it en.wikipedia the search still produces Common files (that have a local file page). What's misleading is the media requests are global, not just enwiki [22:17:20] ideally there'd be a way to search for files themselves on a particular project, not file pages, so that we get only files uploaded locally [22:18:53] I've never found a time when I wanted local and Commons files in search, frankly. [22:19:41] It might be useful for actually finding images, if search was useful for actually finding images (compared to looking in categories) [22:20:15] action=query&list=allimages seems to only list local files [22:21:19] allimages!! that's what I needed :) [22:21:54] thank you [22:22:48] noice