Page MenuHomePhabricator

[ErinnerMichBot] Possible support for other languages and projects?
Open, MediumPublicFeature

Description

I was asked whether it'd be possible to roll-out ErinnerMichBot to other languages:
https://de.wikipedia.org/wiki/Benutzer_Diskussion:Tkarcher#ErinnerMichBot_f%C3%BCr_andere_Wikipedias
I didn't think this through so far, but here're my first thoughts on this topic:

  1. I wouldn't want to roll-out the bot to other languages without an "ambassador" / contact person in that language who's able to support in case of issues and question - ideally with Co-Maintainer role, but at least with some basic understanding of the bot.
  2. I see two fundamentally different ways to approach this:
    1. Fork this project and maintain French / English / Swedish versions separately (with separate bot users: Utilisateur:RapelleMoiBot, User:RemindMeBot, ...).
    2. Enable ErinnerMichBot to work in multiple languages simultanously with one codebase / one server process.

Advantages of the fork:

  • Faster to implement.
  • Less complex to maintain.
  • Language-specific exceptions (date formats etc.) could be implemented independently from each other.

Disadvantages of the fork:

  • Bugfixes, improvements and new features would have to be implemented / migrated separately for every language.
  • Waste of ressources, as every bot would have to run and listen to notifications individually.

Event Timeline

Tkarcher renamed this task from Possible support for other languages and projects? to [ErinnerMichBot] Possible support for other languages and projects?.Jan 27 2025, 3:30 PM
Tkarcher added a subscriber: M-J.

Comment from @M-J copied over here from Gitlab:

about 1: I think a bot operator is sufficient, who can support. a native speaker is also neccessary to translate the bot
about 2: I'm not a friend of fork, it makes stuff complicated. I would like to implement https://docs.python.org/3/library/i18n.html – one .mo-file per language and programm the date recognition function more internationally. cause we can access one wiki per api once time it is the best to run bot processes once per wiki, configured by erinnermich.ini & seperate bot users are not a problem

I think, till end of february the work could be done and I'm interessted to implement this. I had this idea also to provide this bot to more wikis.

If needed, I can either help with the code or just operate it for frwiki. However, like most wikis, the community approval is needed before the bot can operate at a large scale (https://fr.wikipedia.org/wiki/Wikip%C3%A9dia:Bot/Statut).

In T384842#10499696, @Mr_Tortue hat geschrieben:

If needed, I can either help with the code or just operate it for frwiki. However, like most wikis, the community approval is needed before the bot can operate at a large scale (https://fr.wikipedia.org/wiki/Wikip%C3%A9dia:Bot/Statut).

sound good :)

this bot is running without bot flag in dewiki, 15 edits this month and 1317 edits since may 2021 are not a problem. edits of this bot is something you want on the watchlist cause of user interaction, so the botflag could be counterproductive. but that's something you can discuss in the frwiki and as a bot operator would fall under your responsibility, i think.

M-J triaged this task as Medium priority.

hello, after some conversation with tkarcher in the background, here a possible roadmap:

  • add 2 more accounts RapelleMoiBot @ frwiki, testwiki & RemindMeBot¹ @ enwiki, testwiki & ErinnerMichBot @dewiktionary (already done)
  • implement internationalization & doing tests (@M-J)
  • translate the bot into fr (@Mr_Tortue)

¹ enwiki as preparation, i would like advertise for this bot there. :)

possible code changes:

@Mr_Tortue I'll give you access to gitlab and co this week. would this be ok? I'll start implement this week the new features

Dans T384842#10556598, @M-J a écrit :

hello, after some conversation with tkarcher in the background, here a possible roadmap:

  • add 2 more accounts RapelleMoiBot @ frwiki, testwiki & RemindMeBot¹ @ enwiki, testwiki & ErinnerMichBot @dewiktionary (already done)

The name "RapelleMoiBot" doesn't seem to be appropriate in that case, as it's grammatically incorrect. It should be "RappelleMoiBot", though after asking some contributors on the French-speaking Discord, they were more keen to use "Pense-Bôt", as it's a play on words between "Pense-bête" (Sticky Note in English), and "Bot". How do you feel about it ?

Sure, would you like me to wait for the creation of the i18n files to begin or should I just send the translations here (or somewhere else) ?

@Mr_Tortue I'll give you access to gitlab and co this week. would this be ok? I'll start implement this week the new features

no problem

The bot I created two weeks ago for the French Wikipedia is indeed called RappelleMoiBot (so grammatically correct), but it would be easy to globally rename it to Pense-Bôt. And I like the idea! :-) Any objections, @M-J ? Otherwise, I'd request the renaming.

In T384842#10560624, @Tkarcher hat geschrieben:

The bot I created two weeks ago for the French Wikipedia is indeed called RappelleMoiBot (so grammatically correct), but it would be easy to globally rename it to Pense-Bôt. And I like the idea! :-) Any objections, @M-J ? Otherwise, I'd request the renaming.

no objections & pls request.

@Mr_Tortue mmh, I think it's best to create i18n files first, so you can commit the translated file to gitlab

@Mr_Tortue : Looks good, thanks! @M-J : Any update from your side already? Is there anything we can support you with?

Hey, is there any news ? Something which I can help ?

Bad news, I'm afraid. 😕 M-J was temporarily blocked for a couple of weeks in February in de-wiki and did not return after that, and also didn't react to my message on the talk page last week. I have a rough understanding of the plan outlined in the roadmap above and think I can implement it, but didn't want to start working on it yet as I was still hoping M-J would return and pick it up again - which probably will not happen anytime soon. So I'll start looking deeper into it in the next days.

Hey, I apologise that I haven't given a sign yet. I am currently very busy with other voluntary projects and in my private life and have not yet found any free time to take care of this task. I think that my situation will last another 2-4 weeks. If you would like to start with the realisation, I have nothing against it.

Glad you're OK! 😊 Take your time. I'm sure there will be plenty of work left (and/or to fix 😬) when you come back.

No problem, it's not urgent anyway. However, is it possible to have access to the repository in order to help at least a bit ?

In T384842#10757882, @Mr_Tortue hat geschrieben:

No problem, it's not urgent anyway. However, is it possible to have access to the repository in order to help at least a bit ?

I invited you. I created a branch for this: https://gitlab.wikimedia.org/toolforge-repos/erinnermich/-/tree/multilingual?ref_type=heads - you should have access to it

Perfect - thanks! (And also thanks for reviewing the open changes in the development branch and bringing them to production!)

So I'll start looking deeper into it in the next days.

Just in case this wasn't obvious anyway: I didn't work at all on this task in the last weeks, and won't be able to do so for at least another week or two. So nothing to be added from my side for now.