New to bots on Wikipedia? Read these primers!
Operator:Sisyph (talk ·contribs ·SUL ·edit count ·logs ·page moves ·block log ·rights log ·ANI search)
Time filed: 22:00, Thursday, October 23, 2025 (UTC)
Function overview: Update tennis rankings and career prize money for women tennis players
Automatic, Supervised, or Manual: Automatic
Programming language(s): pywikibot
Source code available:fr:Utilisateur:DSisyphBot/Script/màj tennis.py
Links to relevant discussions (where appropriate):
Edit period(s): weekly (following WTA updated ranking)
Estimated number of pages affected: ~100 pages per week
Namespace(s): main
Exclusion compliant(Yes/No): Yes
Function details: 1/ Get WTA profile from wikidata page. 2/ Get data (best ranks + career prize money) from WTA profile. 3/ Update best ranks if needed + update prize money if > $US10000 to not spam edit for "small" earns.
The bot has already edits pages on one loop. For inactive players, it is a one shot. For active players, there will be a weekly check. Next step will be to do it for men tennis players with atptour.com site to get ranks data. --Sisyph (talk)22:00, 23 October 2025 (UTC)[reply]
I've reviewed a lot of the edits and they seem fine to me. This saves hours of manual labour on updating rankings and prize money. Do you feel it would be within scope for a bot to be able to update the win and loss totals as well? The only downside is that we'll have to follow the bot and manually update the 'last updated' timestamp at the bottom of the infobox, unless the bot is smart enough to do that too.Spiderone(Talk to Spider)13:53, 26 October 2025 (UTC)[reply]
I note whensomething similar came up recently, a suggestion was that this sort of thing should be done in Wikidata, or failing that a centralized data page (i.e. a template, a module, or a .json page that's read by a module), instead of making repeated bot edits to individual articles.Anomie⚔14:10, 26 October 2025 (UTC)[reply]
Note: This bot appears to have edited since this BRFA was filed. Bots may not edit outside their own or their operator's userspace unless approved or approved for trial.AnomieBOT⚡22:07, 26 October 2025 (UTC)[reply]- Hello, for win / loss total, it is posssible[1]. For the current rank, my issue is to get the date of this rank and mentionnent in the infobox, it must be :<!--ONLY UPDATE WITH LAST DATE THIS RANKING WAS HELD, NEVER UPDATE UNTIL THE WTA WEBSITE IS UPDATED (date should be a Monday), THE REFERENCE DOES NOT NEED TO BE UPDATED -->, so not possible so far, it doesn't seem to have sources to find it. For update field, it can be updated if already existing[2]. For wikidata centralization, for sure it will be the best option, like ELO rank for chess players. But I am not skilled to initiate it for tennis players. I will be able to update wikidata if one day it is implemented. Sorry to have edit 2 more pages it was for the 2 examples --Sisyph (talk)22:25, 26 October 2025 (UTC)[reply]
- @Sisyph: Do not allow the bot to edit the English Wikipedia again until it is approved for trial by a member of theBot Approvals Group. This will include use of the{{Bot trial}} template. If the bot does edit again, the bot account may be blocked until a trial is approved.Anomie⚔23:17, 26 October 2025 (UTC)[reply]
- Just to point out it is pointless this bot being used to update career prize money in tennis player infoboxes when the rest of the statistics remain unchanged. Either get this thing to update everything (win/loss records, rankings, prize money) or stop doing it. The current practice is misleading and inaccurate. I have posted this message on the bot's talk page too.Shrug02 (talk)09:02, 29 October 2025 (UTC)[reply]
- HelloShrug02, I can understand your view. I don't agree with inaccurate, but I can confess that only update the prize money could be pointless for some players. My fear to not update this field in the infobox independently (because, yes the bot could be only update when the rankings or win/loss records change), is to be in front a never update (by bot), for players who reach their highest rank. Currently the bot update the prize money when it changes over $10,000, to not update for unsignificant earnings. But I can change to minimum $10,000 AND 5% of wikipedia data current prize money. It means for valuable player already reach $1 million, it represents $50,000 difference before edit. --Sisyph (talk)23:35, 29 October 2025 (UTC)[reply]
- I agree with Anomie, it would be better for the bot to edit one page, as is done withModule:ATP rankings. Can the bot be modified to do this?Primefac (talk)12:50, 22 November 2025 (UTC)[reply]
- Given the previous concerns about the bot making selective edits (I agree that statistics are likely viewed holistically, so only editing prize money could cause discrepancies), maybe it's worthwhile to consider the bot to update multiple statistics (beyond prize money) in one comprehensive template on Wikidata?asoundd14:35, 1 December 2025 (UTC)[reply]