Template talk:WTA

Latest comment: 4 years ago by AlanM1 in topic New URL for WTA-profile
WikiProject iconTennis Template‑class
WikiProject iconThis template is within the scope of WikiProject Tennis, a collaborative effort to improve the coverage of articles that relate to tennis on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
TemplateThis template does not require a rating on Wikipedia's content assessment scale.
Tennis To-do:

Here are some tasks awaiting attention:

Requested move

The following discussion is an archived discussion of the proposal. Please do not modify it. Subsequent comments should be made in a new section on the talk page. No further edits should be made to this section.

The result of the proposal was move per request as the natural language title. I don't know that it makes a huge difference but it does promote an intuitive understanding of what template might be for by its name alone, and doing that consistently is likely to promote new templates to be created at intuitive names as well.--Fuhghettaboutit (talk) 11:30, 31 May 2011 (UTC)


Template:WtaTemplate:WTA – Women's Tennis Association(WTA) File:WTA Tour.png Caps is correct. See Template talk:IAAF name#Requested move--777sms (talk) 10:28, 24 May 2011 (UTC)

  • Umm, it's a template and the proposed title already redirects here. What would be gained by moving it? Jenks24 (talk)
  • Support: Nominator is correct. What's the harm in moving it? –CWenger (^@) 21:43, 24 May 2011 (UTC)
    • No harm in moving it, but on the other hand, no harm in not moving it, as there is literally no difference either way. I said basically the same thing at Template talk:IAAF name#Requested move, but if you guys feel so strongly about, I guess it may as well be moved. Jenks24 (talk) 01:18, 25 May 2011 (UTC)
The above discussion is preserved as an archive of the proposal. Please do not modify it. Subsequent comments should be made in a new section on this talk page. No further edits should be made to this section.

New URL for WTA-profile

The URL of the WTA-profile for player was changed. Please modify the template. The following example shows a new link to the page for Shuai Zhang:

http://www.wtatennis.com/players/player/311779/title/shuai-zhang

Thank you --Dodi123 (talk) 09:51, 27 April 2017 (UTC)

@Dodi123: Could you make the requested changes at {{WTA/sandbox}} first? --Nessie (talk) 15:44, 13 November 2019 (UTC)
This might be more challenging than it looks. Not only do we have to use firstname-lastname (and thus we need to swap the order for Chinese players), but if the WTA uses diatrics, we have to replace them with hyphens Carla Suárez Navarro; but if the WTA doesn't use diatrics, then we have to replace them with the plain letter instead. Anna Karolína Schmiedlová. IffyChat -- 15:59, 13 November 2019 (UTC)
  • I've filed a bot request Wikipedia:Bot_requests#Bot_to_fix_>2900_broken_URLs (now archived here) as I see no other way of doing this, and will update the sandbox with the new URL format and new parameter. IffyChat -- 20:31, 13 November 2019 (UTC)
  •  Note: Closing this request as the issue is being handled. Thanks, NiciVampireHeart 03:38, 16 November 2019 (UTC)
  • @Iffy: FWIW, the example above for Navarro seems to have been "resolved" at the WTA site, where both https://www.wtatennis.com/players/311338/carla-su-rez-navarro and https://www.wtatennis.com/players/311338/carla-suarez-navarro give the same results (though it's oddly not done with a redirect – they both return status 200). Unfortunately, there are still 552 articles with ids that do not have the /first-last suffixes (out of ~3,000 transclusions). Can someone comment on what happened? —[AlanM1(talk)]— 03:57, 22 February 2020 (UTC)
  • I've stored a tab-separated list of id, article pairs at User:AlanM1/WTA. Just to clarify, the search finds occurrences like {{WTA|id=230234<!-- was 9044 -->|name=Serena Williams}} (at Serena Williams) and {{WTA|314206|Petra Kvitova}} (at Petra Kvitová career statistics). The latter example (there are 52 of the "* career statistics" articles) presents another challenge; the article does not have an associated Wikidata item, so just {{WTA}} does not work. It seems that they will need a Wikidata item created, a property added that links it back to the main player page's Wikidata item, and {{WTA}} needs to realize this and follow the chain. Alternatively, (perhaps just to begin with) the {{WTA |id=nnnnnn/fff-lllll |name=Fff Lllll}} format could be used in those articles (and others for which there may be no Wikidata item and/or no WTA player ID (P597) property. —[AlanM1(talk)]— 04:43, 22 February 2020 (UTC)