Template talk:World Athletics

message: http://www.iaaf.or --> http://iaaf.org is shorter and easier to spell.
: Not done: the latter is a URL hard-redirect to the former, which results in an irritating 'loop' in browsers (click 'back' just once, and you're immediately forwarded again to where you started from).  Happy‑melon 14:18, 24 August 2008 (UTC)
thread_title:  http://www.iaaf.org --> http://iaaf.org 

message: Could some administrator edit and put the Portuguese interwiki (pt:Predefinição:Iaaf name)? Thanks Mwaldeck (talk) 14:11, 26 January 2009 (UTC)
thread_title:  PT interwiki 

message: What exactly is the purpose of the "name=" field? It seems to work fine without... Sillyfolkboy (talk) 19:25, 17 March 2009 (UTC)
replies: text: The template uses  as the default, but this is not optimal when the article name differs from the athlete's name; see e.g. Nicholas Kemboi (1989). GregorB (talk) 08:18, 1 June 2009 (UTC)
thread_title:  Name field 

message: Please create the doc subpage. Thanks! GregorB (talk) 08:21, 1 June 2009 (UTC)
thread_title:  Edit request (doc subpage) 

message: IAAF profile for /athcode=/index.html 
This edit provides a necessary update to the template. Since around July, the IAAF website has changed and the default "0" option is refused on new incoming links, giving an internal error (e.g. here). The letter option will allow the entry of the first letter of the athlete's surname delivering a valid response for future entries (e.g. here) and preserving backward compatibility with older active links. SFB 19:05, 1 November 2011 (UTC)
replies: text: -- WOSlinker (talk) 20:20, 1 November 2011 (UTC)
thread_title:  Edit request from , 1 November 2011 

message: At the moment template work (sometimes), but the athletes biographies have a new link as http://www.iaaf.org/athletes/jamaica/usain-bolt. --Kasper2006 (talk) 07:50, 6 November 2012 (UTC)
replies: text: Please see Template:IAAF profile. SFB 16:00, 26 January 2013 (UTC)
replies: text: I've found that we can get all the old links working again by omitting the letter part of the code. This will save masses of work. Please can the link part of the code be updated as follows? Thanks. SFB 18:29, 9 March 2013 (UTC)

text: Done --Redrose64 (talk) 19:59, 9 March 2013 (UTC)
thread_title: IAAF new site

message: Please make the following change to strip out the disambiguators in article titles when automatically picking up the PAGENAME. 
IAAF profile for 
Thanks. SFB 22:25, 29 March 2013 (UTC)
replies: text: Done --Redrose64 (talk) 12:29, 30 March 2013 (UTC)
thread_title:  Edit request on 29 March 2013 

message: Please edit this template to place the external link at the beginning of the line. That is the standard format used by most templates located in :Category:Sports external link templates and :Category:People and person external link templates. I have placed the updated code in Template:IAAF name/sandbox. Examples:
*  (current template)
*  (sandbox template)
-- Zyxw (talk) 09:14, 22 September 2013 (UTC)
replies: text: Done --Redrose64 (talk) 13:35, 22 September 2013 (UTC)
replies: text:  Thanks -- Zyxw (talk) 14:36, 22 September 2013 (UTC)
thread_title:  Edit request on 22 September 2013 

message: , great job linking IAAF name with Wikidata! Would you consider adding tracking categories such as "IAAF id different in Wikidata and Wikipedia" and "IAAF id not in Wikidata"? I also feel migration of ids to Wikidata is the way to go, and these two categories might help - see e.g. . GregorB (talk) 16:58, 18 October 2015 (UTC)
replies: text: , it seems that the template is currently querying P856, which I suppose is a C&P error - it should use P1146 throughout. GregorB (talk) 19:30, 20 October 2015 (UTC)
replies: text:  Ha ha - what a dumbo! Cheers for picking it up. SFB 20:26, 20 October 2015 (UTC)
thread_title:  Wikidata 

message: Hallo, I don't usually edit sports articles but was working on Mariam Mamdouh Farid, found her profile at https://www.worldathletics.org/athletes/qatar/mariam-mamdouh-farid-14760443 and wanted to include it as an External Link. I found this template and added  but it didn't work:  it led me to https://www.worldathletics.org/athletes. Have they restructured the database perhaps? The German article has a link  which reaches https://www.worldathletics.org/athletes/_/14760443 , which appears to be a different URL for the page I found. All rather puzzling. Over to you: I've linked to the stats page without using the template. PamD 08:38, 4 June 2020 (UTC)
replies: text: I think the next post solved this problem. Thanks. PamD 07:38, 9 August 2021 (UTC)
thread_title:  Not working?<nowiki></nowiki> 

message: Please replace the forward slash (/) in front of the athcode query parameter on line 3 of this template with a question mark (?) as in my edit to the sandbox. 
Rationale: This template currently generates a URL of the form https://www.worldathletics.org/athletes/biographies/athcode=14671031, which leads to a 502 error. Using a question mark, the usual query string separator, instead, correctly leads to the athlete's entry: https://www.worldathletics.org/athletes/biographies?athcode=14671031. Presumably, the site's URL format was changed. – Rummskartoffel 21:49, 8 August 2021 (UTC)
replies: text: firefly ( t · c ) 06:42, 9 August 2021 (UTC)
thread_title:  Edit request on 08 August 2021 

message: Please change the URL format to unconditionally use use https://www.worldathletics.org/athletes/_/ID, rather than conditionally using it only if the ID starts with a '0'. This is because some IDs don't start with a '0', but still require the new format, like . Currently this produces a blank page with the old format.
Four years ago I cautiously made the new format conditional, but it looks like I was too cautious and we will have to change to using the new format in all cases now, until we find some issue with it.
I made the change here:  and tested it on the testcases, all working.
-- Habst (talk) 23:39, 22 April 2023 (UTC)
replies: text: . P.I. Ellsworth , ed. put'er there 10:48, 23 April 2023 (UTC)
thread_title:  Change URL format to unconditionally use https://www.worldathletics.org/athletes/_/ID