From Wikipedia, the free encyclopedia


How do I edit a protected template

Need to edit the Template:Top male singles tennis players by country to Remove a player that switched nationalities. Can you please help me. Sashona ( talk) 20:30, 29 January 2024 (UTC) reply

@ Sashona This is the place ask, hopefully someone who can edit the template will check (like @ Primefac) this page now and then. It may help if you state who this is and provide a WP:RS that confirms nationality switch. Gråbergs Gråa Sång ( talk) 20:55, 29 January 2024 (UTC) reply
Echoing the above request - there are a few possible ways to change the stored information, but I need to know more. Primefac ( talk) 20:58, 29 January 2024 (UTC) reply
The player is Alexander Shevchenko (tennis) and he switched from Russia to Kazakhstan on 28 January 2024. All the source information is on his page, here is one link https://www.tennis.com/news/articles/russian-alexander-shevchenko-announces-nationality-change-to-kazakhstan Sashona ( talk) 21:03, 29 January 2024 (UTC) reply
Okay, I've removed him from the overrides page, so when the bot does its next update run (next Tuesday) he should appear in the proper place. The template call on his page will need to be updated after that happens. Primefac ( talk) 21:25, 29 January 2024 (UTC) reply
Thank you, he appears now at the proper template, but it needs to say that he lost 11 positions (from No. 48 to No. 59) with a red arrow, not gained as it is showing now with a green arrow. The template should also say 29 January 2024 (Monday) as rankings are official always only on Mondays. Sashona ( talk) 23:28, 30 January 2024 (UTC) reply
Because PrimeHunter updated the page a week early, the arrows will be off, nothing I can really do about that. Not sure why the date is wrong but it's fixed for now. Primefac ( talk) 06:41, 31 January 2024 (UTC) reply

Novak Rjokovic

For reasons I'm not sure, the Serbian version of the Template:Top male singles tennis players by country has Novak Djokovic (tennis), rather than just Novak Djokovic. Can someone fix this? SailorGardevoir ( talk) 02:57, 4 June 2024 (UTC) reply

You'd have to ask someone on the Serbian wiki to do so. Primefac ( talk) 07:55, 4 June 2024 (UTC) reply
Why would the Serbian wiki be responsible for this error? SailorGardevoir ( talk) 07:59, 4 June 2024 (UTC) reply
My apologies, I misread your initial comment as "the Serbian Wikipedia version..." not this template using SRB. The template checks pages ending in (tennis) before checking if the un-disambiguated page exists to avoid linking to disambiguation pages. Since Novak Djokovic (tennis) exists it links to that as the first viable target. Primefac ( talk) 08:10, 4 June 2024 (UTC) reply
Is there a way we can bypass that? I just discovered the same issue regarding Andy Murray. SailorGardevoir ( talk) 08:59, 4 June 2024 (UTC) reply
As I said at one of the original discussions about issues with the module, I'm not sure we should be excluding every (tennis) disambiguator that happens to be a redirect to the non-disambiguated title. You're welcome to do so if you feel that strongly about it, though. Primefac ( talk) 20:01, 6 June 2024 (UTC) reply