Per proposal, Serbian Wikimedia community would like to have "Commons deletion notification bot" enabled.
Translations are already done.
Per proposal, Serbian Wikimedia community would like to have "Commons deletion notification bot" enabled.
Translations are already done.
I created this task so that I would not forget later. Let's wait until the 26th for final decision.
@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?
Merged and deployed, now waiting for the bot to edit https://sr.wikipedia.org/wiki/Special:Contribs/Community_Tech_bot
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..
Commons admin here -- do you want the file deleted, or do you need it to continue to sit with the tag for now?
@AntiCompositeNumber It should be deleted, as I've deleted test page on Serbian Wikipedia.
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.
@MusikAnimal Serbian language have two variants: Cyrillic (sr-ec) and Latin (sr-el). In configuration, sr fallbacks to sr-ec. And translating on translatewiki.net for sr is disabled because of these reasons.
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.
@MusikAnimal I think that here should be added alias: sr -> sr-ec.
Pull request: https://github.com/wikimedia/CommonsNotifier/pull/15
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"?
Seems that I'm doing something wrong, bot works and for speedy deletion. I'm closing this task as resolved. :)
Okay, glad to hear it is working! If you ever are convinced there is an issue, do please feel free to create a new task. Thanks!