Wikidata:Property proposal/Soccerway team ID
Soccerway team ID
editOriginally proposed at Wikidata:Property proposal/Sports
Description | team ID on the Soccerway website |
---|---|
Represents | Soccerway (Q24192203) |
Data type | External identifier |
Domain | association football team (Q15944511) |
Allowed values | [1-9]\d* |
Example 1 | FC Cincinnati (Q20855983) → 35679 |
Example 2 | France men's national association football team (Q47774) → 944 |
Example 3 | AFC Wimbledon (Q48851) → 4593 |
Source | https://int.soccerway.com/teams/club-teams/ |
Planned use | for 'External links' sections on Wikipedia |
Expected completeness | always incomplete (Q21873886) |
Formatter URL | https://int.soccerway.com/teams/wd/wd/$1/ |
See also | Soccerway player ID (P2369) |
Motivation
editThese 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)
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 player 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)
- Support David (talk) 06:53, 8 November 2018 (UTC)
- @ديفيد عادل وهبة خليل 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)
- Support with numerical IDs. Thierry Caro (talk) 10:55, 15 November 2018 (UTC)
@ديفيد عادل وهبة خليل 2, Thierry Caro, IagoQnsi: Done: Soccerway team ID (P6131). − Pintoch (talk) 16:33, 15 November 2018 (UTC)