@Aklapper I've used T256527: Deploy the Commons deletion notification bot on nl.wiktionary [[SMALL]] as "source" which projects I should add in task. It has Commons project. And T257108: Deploy the Commons deletion notification bot on arwiki also. Why my shouldn't?
I've uploaded https://commons.wikimedia.org/wiki/File:Test_image_-_srwiki.gif at 22:17 (UTC +2), created test page on srwiki (https://sr.wikipedia.org/wiki/Testna_stranica), added image, nominated file on commonswiki for speedydeletion. But bot haven't made any edits..
FileNotFoundError: [Errno 2] No such file or directory: '/mnt/nfs/labstore-secondary-tools-project/commtech-commons/bot/i18n/sr.json'
It looks like translations were added to sr-ec, not sr. @Kizule Do you know why this is? The language code for sr.wikipedia.org is in fact sr https://sr.wikipedia.org/w/api.php?action=query&meta=siteinfo&siprop=general. I can move it on our end (no need to manually copy the translations on translatewiki.net), but I wanted to make sure I'm not missing something.
Oh interesting. These fallback rules unfortunately aren't implemented in the bot, it seems... hmm. Having a sr.json definitely seems to be a thing on translatewiki.net (see XTools' sr.json, for example). I've asked TWN staff if it's safe to symlink sr.json to sr-el.json, that way you can still edit the translations, or if we have to implement the fallbacks in the bot.
Merged, thank you :) You know more about the code base than we do, hehe! Feel free to run the test once more. Either way I'll be monitoring https://sr.wikipedia.org/wiki/Special:Contribs/Community_Tech_bot
You're welcome, mistakes can happen, but we usually learn from them. I'm monitoring contributions too.
For testing purposes, I've reverted my "test page" on Serbian Wikipedia from yesterday (https://sr.wikipedia.org/wiki/Testna_stranica) and tagged random file on Commons for speedy deletion (https://commons.wikimedia.org/wiki/File:Test_image_portrait_WIKIPEDIA_DE.svg) with note that file shouldn't be deleted really.
@Kizule Where do we stand with the bot? I see now it has edited numerous times: https://sr.wikipedia.org/wiki/Special:Contribs/Community_Tech_bot. Does these look correct to you?
I do not know why your test didn't work :( If that needs more investigation, we'll need to create a new ticket and triage accordingly. If you're otherwise happy with the bot's performance, we'll let it continue to run as-is.
@MusikAnimal As I see, currently bot works for everything, but only not for "speedy deletions". When I upload some random file on Commons, or find some unused "test" file, and nominate it for "speedy deletion" (sure, I add it on test page on Serbian Wikipedia), bot won't send message on talk page.
Maybe we should close this task as resolved, and open "dedicated task" for "bug report"?