Wikidata:Property proposal/AFL player ID

AFL player ID edit

Originally proposed at Wikidata:Property proposal/Sports

   Done: AFL player ID (P8277) (Talk and documentation)
DescriptionID for a Australian rules footballer from AFL club player profile pages
RepresentsAustralian rules football player (Q13414980)
Data typeExternal identifier
DomainWikidata property for an identifier (Q19847637), Wikidata property related to sports people (Q28106456)
Allowed values[0-9]\d{0,5}
Example 1Dayne Zorko (Q5243280)7
Example 2Shaun Burgoyne (Q7490805)300
Example 3Sabreena Duffy (Q61635871)1977
Example 4Matthew Rowell (Q76670647)2791
Planned useautomate the currenlty broken external links from Wikipedia articles using the en:Template:AFL_player templates
Number of IDs in source1250
Expected completenessalways incomplete (Q21873886)
Formatter URLhttps://www.afc.com.au/players/$1/first-last, https://www.carltonfc.com.au/players/$1/first-last, https://www.collingwoodfc.com.au/players/$1/first-last, https://www.essendonfc.com.au/players/$1/first-last, https://www.fremantlefc.com.au/players/$1/first-last, https://www.hawthornfc.com.au/players/$1/first-last, https://www.geelongcats.com.au/players/$1/first-last, https://www.goldcoastfc.com.au/players/$1/first-last, https://www.gwsgiants.com.au/players/$1/first-last, https://www.lions.com.au/players/$1/first-last, https://www.melbournefc.com.au/players/$1/first-last, https://www.nmfc.com.au/players/$1/first-last, https://www.portadelaidefc.com.au/players/$1/first-last, https://www.richmondfc.com.au/players/$1/first-last, https://www.saints.com.au/players/$1/first-last, https://www.sydneyswans.com.au/players/$1/first-last, https://www.westernbulldogs.com.au/players/$1/first-last, https://www.westcoasteagles.com.au/players/$1/first-last
See alsoAustralianFootball.com player ID (P3546), AFL Tables player ID (P3547)

Motivation edit

The each of the team pages under AFL.com.au were recently upgraded, which broke all of the links which were previously automated using the en:Template:AFL_player templates from the player pages based solely on the player's name. Now there is a number and the name (the name in the URL is actually superfluous, any text works). This ID will allow me to rewrite those templates to fix the links. Note that the player retains the same number when changing teams - see Saints or Fremantle, so I don't think that it should be separated into 18 separate team based IDs. The ID numbers are not duplicated across teams. I have scraped each of the 18 club websites and parsed out all 1250 AFL and AFLW IDs. Note that this includes players yet to make their debut (so do not yet have an article), so there won't be 1250 uses of this property, and it will always be incomplete. I have linked about 1000 so far in my spreadsheet. Once it's created I'll use quick statements to upload the list, having used Petscan to create a player article - WikiData Item list. The-Pope (talk) 16:20, 20 May 2020 (UTC)[reply]

Discussion edit

@The-Pope, Сидик из ПТУ: AFL player ID (P8277) has been created. Pamputt (talk) 21:49, 2 June 2020 (UTC)[reply]