Property talk:P6841

Latest comment: 3 years ago by ArthurPSmith in topic New formatting url

Documentation

ITF tournament ID
identifier for a tennis tournament edition in the International Tennis Federation database
Associated itemInternational Tennis Federation (Q223041)
Data typeExternal identifier
Domaintennis tournament edition (Q47345468) or tennis event (Q46190676)
Allowed values^(wo)?men:1\d{8,9}$
Example2011 Cairns Tennis International – women's singles (Q3649887)women:1100024972
2010 McDonalds Burnie International – women's singles (Q3853375)women:1100021249
Mildura Grand Tennis International 2012 (Q3857838)women:1100026102
Sourcehttps://www.itftennis.com/procircuit/tournaments/women's-calendar.aspx
https://www.itftennis.com/procircuit/tournaments/men's-calendar.aspx
Formatter URLhttps://wikidata-externalid-url.toolforge.org/?p=6841&id=$1
See alsoITF player ID before 2020 (archived) (P599), ATP tennis tournament ID (P3456), WTA tennis tournament ID (P3469), ITF wheelchair player ID until 2019 (archived) (P4299)
Lists
Proposal discussionProposal discussion
Current uses
Total6
Main statement350% of uses
Qualifier350% of uses
Search for values
[create Create a translatable help page (preferably in English) for this property to be included here]
Distinct values: this property likely contains a value that is different from all other items. (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303).
List of violations of this constraint: Database reports/Constraint violations/P6841#Unique value, SPARQL (every item), SPARQL (by value)
Single value: this property generally contains a single value. (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303).
List of violations of this constraint: Database reports/Constraint violations/P6841#Single value, SPARQL
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303).
List of violations of this constraint: Database reports/Constraint violations/P6841#Type Q47345468, Q46190676, SPARQL
Format “(wo)?men:1\d{8,9}: value must be formatted using this pattern (PCRE syntax). (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303).
List of violations of this constraint: Database reports/Constraint violations/P6841#Format, SPARQL
Allowed entity types are Wikibase item (Q29934200): the property may only be used on a certain entity type (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303).
List of violations of this constraint: Database reports/Constraint violations/P6841#Entity types
Scope is as main value (Q54828448), as reference (Q54828450): the property must be used by specified way only (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303).
List of violations of this constraint: Database reports/Constraint violations/P6841#Scope, SPARQL

For wikidata-externalid-url edit

Hello ArthurPSmith  , Kristbaum has created this property. This property deserves your attention and your contest, please. Would you be kind enough to add this on Git and all that will be necessary for the proper functioning of this property?

 case 6841: // ITF tournament ID
   $itft_parts = split(":", $id);
   $gender = $itft_parts[0];
   $tour = $itft_parts[1];
   $link_string = "https://www.itftennis.com/procircuit/tournaments/$gender's-tournament/info.aspx?tournamentid=$tour";
   break;
 default:
   $link_string = $id ;
   break ;

Thank you in advance. Ping me if you want to talk to me --Eihel (talk) 11:53, 12 June 2019 (UTC)Reply

(and @Queryzo, Stevenliuyi:) --Eihel (talk) 11:55, 12 June 2019 (UTC)Reply
Done - thanks, it seems to be working! ArthurPSmith (talk) 13:28, 12 June 2019 (UTC)Reply
@Kristbaum, ArthurPSmith: I also added the property line on the page https://tools.wmflabs.org/wikidata-externalid-url/ (print "<li>ITF tournament ID - property 6841</li>";). Looking forward to seeing you again on WD. --Eihel (talk) 12:46, 13 June 2019 (UTC)Reply

New formatting url edit

Pinging: Eihel, ArthurPSmith, Kristbaum
Following an update of the ITF website the urls to the tournaments have changed. The new formatting url should probably be https://www.itftennis.com/en/tournament/$1. Example: https://www.itftennis.com/en/tournament/adelaide/aus/1989/m-gp-aus-01a-1989/draws-and-results/ for 1989 South Australian Open (Q3965481). Can this be updated? Thanks. --Wolbo (talk) 21:19, 24 August 2020 (UTC)Reply

@Wolbo: You should make a new property proposal for the new format - the id's appear to be totally different. See Wikidata:Property proposal/ITF-identificatiecode voor speler 2020 for a related one. ArthurPSmith (talk) 13:11, 25 August 2020 (UTC)Reply
Return to "P6841" page.