Page MenuHomePhabricator

Generate list of 'sysops' users between 2024-12-15 - 2025-03-31
Closed, ResolvedPublic

Description

This is the same type of request as T369805, just for the the first quarter of 2025 (plus a few days from the previous quarter that weren't covered in the pevious import).

The query we need can be produced with the same notebook mentioned on T369805#10445777

When I did the previous imported, I tooked these notes that you may OPTIONALLY integrate to improve the import. Otherwise no worries, I will do the cleaning on my side. These were originally notes for me and are not very structured. I will do better with any observations I have for this second import.

Delete rows...

  • marked as Bot.
  • search for "bot" and delete those usernames identified as bots (i.e. AnomieBOT, DYKToolsAdminBot, Faebot, Flow_cleanup_bot, JJMC89_bot_III, Lê_Lợi_(bot), Merge_bot, MusikBot_II, Pi_admin_bot, Protection_Helper_Bot, Sanjeev_bot, TFA_Protector_Bot, UrbanecmSprávcoBot)
  • with user AbuseFilter
    • or translations (and it's tricky, search for "filt¨, to catch some i.e. Bearbeitungsfilter, Buzaqıshılıq háreketlerdi filtrlew, Edit filter, Endringsfilter, Erbet ulanmak filtri... )
  • with user #NAME?
  • without a username

Substitute underscores with single spaces.

Related Objects

StatusSubtypeAssignedTask
In ProgressOSefu-WMF
ResolvedHghani

Event Timeline

Ho @OSefu-WMF @Hghani do you have a rough estimated date for this task? Just asking for my own planning.

Hi, @Qgil I should be able to generate new data by end of the week. I can share the data on this ticket once it is ready. Would it be useful or practical for you or your team to have the ability to alter a single line of code to generate the data on demand according to whatever date range you're interested in? If so I can include that customization capability once I pull the new data.

Thank you @Hghani. Very much appreciated! If you can document how I can get these reports myself, then I'll stop bothering you every quarter. :)

@Qgil You're welcome! I generated the new data here which contains only sysops that were promoted in the time range you specified and only includes their last edit within that time range.

The notebook is located here as before. If preferred, you can update the 'start_time' and 'end_time' at the beginning of the notebook (which are inclusive) and run the notebook to generate an updated csv file (see screenshot of the cell that needs to be changed.

image.png (1,256×572 px, 67 KB)
However, if you run into problems or have questions, I'm happy to assist or pull the data :).

Please review the data and let me know if I should make any changes or if anything was missed.

A list of newly promoted admins is very interesting, actually, and we can put it into good use. I will try to generate this list with updated dates in the future.

However, my request is about the same query we had last time, all sysops of all wikis, just constrained to the 2024-12-15 - 2025-03-31. Not only the newly promoted. This allows us to see who are all the admins, and (by comparison) it also allows us to see who is not a sysop anymore. Having the date of their last edit as we had before is very useful as well.

I realize now that I created this task without formulating a precise request but referring to the previous request, which was very ambiguous on my side. My apologies, I'm very sorry.

Hi @Qgil, No problem, and I have a question for clarification: can you clarify on how to interpret the starting date of the constraint 2024-12-15? I can generate the notebook up until 2025-03-31 (all sysops until that point), but I am not sure how to interpret what the starting date represents.

Ok, let me explain what we would like to import on a monthly basis (if we can do it ourselves, without bothering you, otherwise quarterly). The questions we want to answer are:

  • On this month (or on the last day of this month, if that's easier), which users have sysop rights?
    • On which wiki?
    • On which date were the rights granted?
    • When wast their last edit in that wiki?

If we can also have the data about users having sysop rights revoked during the month, that would be perfect. Otherwise we will compare manually the current and previous import to see who is missing.

  • On this month, which users had their sysop right revoked?
    • On which wiki?
    • On which date were the rights revoked?

About 2024-12-15, it's ok if it's not considered in your script. I can remove any entries with dates prior to our previous import, to avoid duplicates in our import to the CRM.

I hope this explains the data we are aiming to get.

A sysop list was generated here (Data for up until June 16 2025) using this notebook. As discussed with @Qgil, the notebook can be run on demand and will generate a list of sysop in csv format with a list of sysops current up to the day the notebook is run.

Creating a list of revoked sysops in the month can be a feature added in a later iteration.