[12:08:22] I was trying to figure out if it is possible to figure out through the API if a page already has a video on it, but I am stumped (to be able to filter them out from a Wikidata query). Does anyone have an idea, or is ther not support for it yet? [12:12:24] I guess you can get all the “images” (files) on a page, and check if any of them end in .webm or one of the other media file extensions? https://de.wikipedia.org/w/api.php?action=query&format=json&prop=images&titles=Klimawandel&formatversion=2&imlimit=max [12:14:46] aha, you can even use images as a generator, then get the imageinfo of each image and check if the mediatype is VIDEO https://de.wikipedia.org/w/api.php?action=query&format=json&prop=imageinfo&titles=Klimawandel&generator=images&formatversion=2&iiprop=mediatype&gimlimit=max [12:21:23] example code: https://gist.github.com/lucaswerkmeister/eb169ad6f343dabe81ee315af0064bdb [12:31:48] Oh, thanks! I think this will be useful! (re @lucaswerkmeister: aha, you can even use images as a generator, then get the imageinfo of each image and check if the mediatype is VIDEO https://de...) [13:56:59] Your mention of checking if the image existed unlocked something for me and now I managed to do this query for Articles on Wikipedia which are missing a video existing on the Wikidata item: https://w.wiki/9QuW (re @lucaswerkmeister: aha, you can even use images as a generator, then get the imageinfo of each image and check if the mediatype is VIDEO https://de...) [14:00:02] hm, is this actually excluding anything? it’s suspicious that I get exactly 100 results [14:02:39] Hmm, I think taht you are right and that my manual inspected articles just happened to miss it [14:23:13] I forgot to pass along a parameter from the subquery 🤦‍♂️ [14:23:15] Here is a better query: https://w.wiki/9QvL [14:40:26] I think https://w.wiki/9Qvw is even better (the `SELECT` on line 3 was missing `?filename`) [14:40:54] in that version, if I remove the word `MINUS` (to instead filter for only articles which *have* the video), I get results like https://sv.wikipedia.org/wiki/Apollo_11 with https://sv.wikipedia.org/wiki/Fil:AP11_FINAL_APPROACH.ogv [14:54:51] Sweet, thanks! I also removed intentional redirects (I tried first to put it in the first subquery, but weirdly didn't get it to render the results). https://w.wiki/9QwJ (re @lucaswerkmeister: I think https://w.wiki/9Qvw is even better (the SELECT on line 3 was missing ?filename)) [20:05:29] Hello,Not sure if this is the right group to post this.The Swahili Wikipedia editors are experiencing problems with the option to add references using the manual option (when using the visual editor) the basic button is inactive. Thus we are unable to add references using the manual option.Kindly see the attached shot.Kindly,Magoiga : https://tools-static.wmflabs.org/bridgebot/990a1788/file_58439.jpg [20:53:39] It's a good place to post. (re @magotech: Hello, [20:53:40] Not sure if this is the right group to post this. [20:53:41] The Swahili Wikipedia editors are experiencing problems with the option...) [20:54:01] I can't see the bug, however. I've tried adding a footnote, and it worked. Can you please try again? [20:54:24] okay let me try again [20:54:35] thank you in advance [20:55:47] Now it is working fine. Thank you [21:06:52] So after continued editing on the same article after sometime the button becomes again inactive. [21:09:26] Also just noted even the publish button becomes inactive. I have to refresh the page for me to able to continue editing. This has also been reported with some of our editors. [21:09:28] Kindly look into it if possible