Talk:List of Ethiopian records in athletics

External links modified
Hello fellow Wikipedians,

I have just modified 3 external links on List of Ethiopian records in athletics. Please take a moment to review my edit. If you have any questions, or need the bot to ignore the links, or the page altogether, please visit this simple FaQ for additional information. I made the following changes:
 * Added archive https://web.archive.org/web/20140721234621/http://www.diamondleague-monaco.com/en/Program/Overview/1500m-Men1/ to http://www.diamondleague-monaco.com/en/Program/Overview/1500m-Men1/
 * Added archive https://web.archive.org/web/20120705005915/http://www.iaaf.org/Mini/LRR12/News/NewsDetail.aspx?id=64489 to http://www.iaaf.org/Mini/LRR12/News/NewsDetail.aspx?id=64489
 * Added archive https://web.archive.org/web/20160813082254/https://smsprio2016-a.akamaihd.net/_odf-documents/A/T/ATW100101_Results_2016_08_12_716fce55_1a99_495f_94ee_a729d2565bd1.pdf to https://smsprio2016-a.akamaihd.net/_odf-documents/A/T/ATW100101_Results_2016_08_12_716fce55_1a99_495f_94ee_a729d2565bd1.pdf

When you have finished reviewing my changes, you may follow the instructions on the template below to fix any issues with the URLs.

Cheers.— InternetArchiveBot  (Report bug) 21:29, 17 May 2017 (UTC)

External links modified
Hello fellow Wikipedians,

I have just modified 5 external links on List of Ethiopian records in athletics. Please take a moment to review my edit. If you have any questions, or need the bot to ignore the links, or the page altogether, please visit this simple FaQ for additional information. I made the following changes:
 * Added tag to http://www.diamondleague.com/Results/Brussels/re0110040.pdf
 * Added archive https://web.archive.org/web/20140603141007/http://www.diamondleague-eugene.com/Live-StartlistsResults/Overview/Bowerman-Mile/ to http://www.diamondleague-eugene.com/Live-StartlistsResults/Overview/Bowerman-Mile/
 * Added tag to http://www.bislettgames.com/2008/results/re1170040.pdf
 * Added archive https://web.archive.org/web/20151119074129/http://brazzaville2015.microplustiming.com/pdf/AT/CLR-ASF-Hauteur-FINALE-01.PDF to http://brazzaville2015.microplustiming.com/pdf/AT/CLR-ASF-Hauteur-FINALE-01.PDF
 * Added archive https://web.archive.org/web/20110903134126/http://www.ajcbotswana2011.com/ajc2011_results/event402h01.html to http://www.ajcbotswana2011.com/ajc2011_results/event402h01.html
 * Added archive https://web.archive.org/web/20140221213929/http://www.rusathletics.com/zn/at-m-m-600m-z-z-z-z-z-z-summary-lat.pdf to http://www.rusathletics.com/zn/at-m-m-600m-z-z-z-z-z-z-summary-lat.pdf
 * Added archive https://web.archive.org/web/20150219235620/http://88.131.109.178/Friidrott/xlgalan15/Resultat.php to http://88.131.109.178/Friidrott/xlgalan15/Resultat.php

When you have finished reviewing my changes, you may follow the instructions on the template below to fix any issues with the URLs.

Cheers.— InternetArchiveBot  (Report bug) 05:53, 25 December 2017 (UTC)

Code to generate U20 table
This is the code I used to generate the U20 records tables. It could be modified to generate senior records tables as well.

window.cache ??= {}; (async => { let output = ''; for (const gen of ['women', 'men']) for (const env of ['outdoor', 'indoor']) { output += `===U20 ${gen} ${env}=== {| class="wikitable sortable" style="font-size: 90%; width: 95%;" ! Event !! Record !! Athlete !! Date !! Meet !! Place !! Country !! Age !! Ref `; const rows = []; for (const evt of { outdoor: [ "100", "200",  "400",  "600",  "800",  "1000",  "1500",  "Mile", "2000", "3000",  "2M", "5000", "10000",  "10K", "HM", "Mar", "2000S", "3000S", gen === 'women' ? "100H" : "110H", "400H", "HJ", "PV", "LJ", "TJ", "SP", "DT", "HT", "JT", gen === 'women' ? "Hep" : "Dec", "20W", "30W", "35W", "50W", "4x1", "4x4" ], indoor: [ "60", "200",  "400",  "600",  "800",  "1000",  "1500",  "Mile", "2000", "3000",  "2M", "5000", "60H", "HJ", "PV", "LJ", "TJ", "SP", "WT", gen === 'women' ? "Pen" : "Hep", "3000W", "4x4" ]}[env]) { const url = `/api/lists/alltime/ETH/${env}/U20/${gen}/${evt}?&top=10`; console.log(url); const data = cache[url] ??= await (await fetch(url, { headers: {    Authorization: new Function([...document.querySelectorAll('script:not([src]):not([type])')].at(-1).innerText+'return auth'),  }, })).json const div = data.templates[0].divs[0]; const res = div.tables[0].body[0]; if (!res) continue; if (res.venue === 'Saint-Denis') res.venue = 'Paris'; const wikiVenue = res.venueCountry === 'USA' ? res.venue : `${res.venue}, ${res.venueCountryFull}`; const ayd = res.dateOfBirth ? `` : res.yearOfBirth ? `24 years years` : ''; rows.push(`| ${div.title.replace('One Mile', 'Mile run')} || ${res.result} || ${res.name} || ${res.date} || ${res.competitionLong ?? ''} || ${res.venue} || || ${ayd} || `); } output += rows.join('\n|-\n') + '\n|}\n\n'; } console.log(output); return output; })

--Habst (talk) 14:33, 26 October 2023 (UTC)