Wikidata:Property proposal/Soccerway team ID

From Wikidata
Jump to navigation Jump to search

Soccerway team ID[edit]

Originally proposed at Wikidata:Property proposal/Sports

Descriptionteam ID on the Soccerway website
RepresentsSoccerway (Q24192203)
Data typeExternal identifier
Domainassociation football team (Q15944511)
Allowed values[1-9]\d*
Example 1FC Cincinnati (Q20855983)35679
Example 2France national association football team (Q47774)944
Example 3AFC Wimbledon (Q48851)4593
Sourcehttps://int.soccerway.com/teams/club-teams/
Planned usefor 'External links' sections on Wikipedia
Expected completenessalways incomplete (Q21873886)
Formatter URLhttps://int.soccerway.com/teams/wd/wd/$1/
See alsoSoccerway person ID (P2369)

Motivation[edit]

These pages are already often linked to from Wikipedia team articles, and we already have this property for players in Soccerway. Seems like an obvious addition to me –IagoQnsi (talk) 16:58, 7 November 2018 (UTC)[reply]

Discussion[edit]

One point worth talking about with this property: do we want to keep the full URL slug, or just the numeric ID? When you click a link to Soccerway for FC Cincinnati, it takes you to https://int.soccerway.com/teams/united-states/fc-cincinnati/35679/, so you'd assume "united-states/fc-cincinnati/35679" is the ID. But all you really need is the numeric value -- the URL https://int.soccerway.com/teams/-/-/35679/ works just as well. For Soccerway person ID (P2369), we keep the entire URL slug, but for the related property P3043 (P3043), we only keep the numeric ID. I'm of the opinion that we should only keep the numeric ID (and then also we should change P2369 to do the same, and then merge P3043 into it, but that's another story). What do you all think?
To clarify, this would mean changing the allowed values to \d+ and the formatter URL to https://int.soccerway.com/teams/-/-/$1/. My example values would change to 35679, 944, and 4593, respectively. –IagoQnsi (talk) 16:58, 7 November 2018 (UTC)[reply]
@ديفيد عادل وهبة خليل 2: What's your stance on the issue I presented just above your message? Should we store the full "country/team/number" slug, or just the numeric ID? --IagoQnsi (talk) 19:23, 8 November 2018 (UTC)[reply]

@ديفيد عادل وهبة خليل 2, Thierry Caro, IagoQnsi: ✓ Done: Soccerway team ID (P6131). − Pintoch (talk) 16:33, 15 November 2018 (UTC)[reply]