[02:08:46] ningu: hm, i don't think so. but you could make an action api plugin for that pretty easily i think [02:08:51] expose it through an extension [02:09:35] Reedy, Daimona: sbailey might be using that over in #mediawiki-parsoid? [02:09:48] i bet she'd appreciate if it were dusted off, at least [02:12:30] cscott: hmm ok, cool [02:13:38] cscott: what is your on-wiki name? [02:13:50] [[:en:User:cscott]] [02:13:57] thanks [02:14:12] is :en: preferred to w:? [02:14:42] well, i work cross-wiki mostly, so language code makes more sense to me as a disambiguation [02:14:49] ok :) [03:44:23] Hi, Jenkins is not merging this patch [03:44:23] https://gerrit.wikimedia.org/r/#/c/labs/tools/VideoCutTool/+/573354/ Any ideas? [03:47:58] Gopa: remove cr+2 and re add it and see if it do9es [03:48:03] does* [03:48:27] Zppix: yeah on it :) [03:50:40] Gopa: has it merged stuff in the past? [03:51:21] Zppix: No [03:51:44] Zppix: Let me ammend another commit and see if it works. [03:51:53] Gopa: its not setup to auto merge then, try just manually doing it [03:52:31] Ooh now I understood your question properly, Yes it merged many patches before. [03:54:16] Gopa: ask in #wikimedia-releng but i dont think anyone is around there its probably late/early for them [03:54:49] Zppix: Okay :) [21:06:46] is there any sort of mediawiki api for retrieving just a particular rectangular region of an image? [21:07:35] I mean in particular that works on wikimedia commons? [21:10:57] a la IIIF image API [21:12:04] ok yes, apparently there is a tool called zoomviewer [21:13:45] looks a bit different though [23:01:14] ningu: there was a IIIF prototype at some point https://phabricator.wikimedia.org/T89552 [23:01:41] see also https://commons.wikimedia.org/wiki/Commons:International_Image_Interoperability_Framework [23:01:54] thanks, yeah, I managed to find that [23:02:02] one issue with zoomviewer is it doesn't support djvu [23:02:05] but cool that it exists [23:02:50] ningu: Wikisource sometimes uses CSS to embed a "cropped" version of an image, to avoid having to upload the cropped version separately. Not the most efficient method but relatively easy to implement with templates and fine with light images. [23:03:14] Nemo_bis: yeah the idea of this is enhancement of lower-res images with higher-res tiles [23:03:21] so, that won't work [23:04:49] zoomviewer also seems a bit unreliable, it's gone down a bunch of times for some reason [23:05:07] but that is less critical I guess than the fact that it doesn't work with djvu, which is what ia-upload produces [23:05:36] do you happen to know if thd djvu retains the original color or is made monochrome? [23:05:39] the* [23:07:44] ningu: original colour of what? [23:07:55] of the IA items it is importing [23:08:04] when ia-upload runs [23:08:05] By definition DjVu splits the colours in different ways [23:08:28] ia-upload used to merely upload the IA-made DjVu, now it just does pdf2djvu [23:08:53] Not sure why you call out colours specifically, usually what I'd look at is the -m option [23:09:38] Sorry I mean --bg-subsample [23:09:55] https://en.wikisource.org/wiki/Help:DjVu_files#Method_3_-_pdf2djvu [23:10:12] Nemo_bis: because in the past I've seen defaults where djvu seems to use monochrome output [23:10:22] but maybe I am misinformed [23:10:32] Traditionally our DjVu files are on the very compressed side. [23:10:55] Once upon a time it was the only way to respect the size limit of 10 MB and then 100 MB even for files with hundreds of pages. [23:11:01] what I'm trying to figure out is, if I use the djvu file in wikimedia commons that has been imported from IA, and then tile in higher-res direct from IA, if the two will mismatch [23:11:47] Impossible to tell, it will depend how the DjVu was made. [23:11:53] There are still millions of IA-made DjVu files on archive.org. [23:12:55] I see [23:13:37] If you see the DjVu seems to have lower quality than you'd expect, I suggest to regenerate it locally with the most generous --bg-subsample . [23:14:29] If there is interest I could add more tips on https://en.wikisource.org/wiki/Help:DjVu_files#Method_3_-_pdf2djvu but I've yet to find a case which really needs some fine tuning of all the other options. [23:15:30] Nemo_bis: yeah it's ok, fortunately there are alternatives if it looks weird, I am just trying to understand the details better [23:15:31] This used to be much more complicated back in the day when it was always a bit of sourcery with c44. [23:15:59] I can pull both low and high res images from IA if I need to (from a toolforge tool)