Property talk:P564

From Wikidata
Jump to navigation Jump to search

Documentation

singles record
win/lose balance for a player in singles tournaments
Descriptionwin/lose balance for a player in singles tournaments
Data typeString
Template parameter|singlesrecord= in en:template:Infobox tennis biography
Domain
According to this template: person
According to statements in the property:
human (Q5)
When possible, data should only be stored as statements
Allowed values\d+–\d+
ExampleSteffi Graf (Q11662) → 900–115
Andy Murray (Q10125) → 672–196
SourceExternal reference, Wikipedia list article (either infobox or source) (note: this information should be moved to a property statement; use property source website for the property (P1896))
Robot and gadget jobsDeltaBot does the following jobs: could be updated from ATP website
Tracking: usageCategory:Pages using Wikidata property P564 (Q24031410)
See alsodoubles record (P555)
Lists
Proposal discussionProposal discussion
Current uses
Total4,201
Main statement4,19499.8% of uses
Qualifier50.1% of uses
Reference2<0.1% of uses
Search for values
[create Create a translatable help page (preferably in English) for this property to be included here]
Single value: this property generally contains a single value. (Help)
List of violations of this constraint: Database reports/Constraint violations/P564#Single value, hourly updated report, SPARQL
Type “human (Q5): item must contain property “instance of (P31)” with classes “human (Q5)” or their subclasses (defined using subclass of (P279)). (Help)
List of violations of this constraint: Database reports/Constraint violations/P564#Type Q5, hourly updated report, SPARQL
Format “\d{1,10}–\d{1,10}|: value must be formatted using this pattern (PCRE syntax). (Help)
List of violations of this constraint: Database reports/Constraint violations/P564#Format, hourly updated report, SPARQL
Pattern ^(\d+) ?- ?(\d+)$ will be automatically replaced to \1–\2.
Testing: TODO list
This property is being used by:

Please notify projects that use this property before big changes (renaming, deletion, merge with another property, etc.)

Dash in Career record of tennis player

[edit]

Hi, following this Talk section I'd like to avoid next reverting. So, I repeat the question: Is there any reason to have hyphen "330-215", instead of correct dash "330–215"? Right record we can see in articles: 2014 Roger Federer tennis season, Jana Novotná (en iw) vs wrong from WD in Jana Novotná (cs iw). Best regards--Kacir (talk) 17:16, 27 December 2014 (UTC)[reply]

I think that it depends of language which is the correct mark between those numbers. It may be that I remember wrong, but somehow I remember that someone said it's possible to change those marks locally (from "-" to ":" etc.) using some module. Anyway, we should only use either "-" (it's easy to write) or "–" (most used on Wikipedia). --Stryn (talk) 21:43, 27 December 2014 (UTC)[reply]
I don't know any language, where hyphen is correct form, though may be, exists. BTW, hyphen was the reason, why English Wiki didn't accept P564 from WD. Updating of records is concerned only numbers, no mark. There is no problem. I have asked mate to create module for local cs iw and it should be possible to do that.--Kacir (talk) 19:05, 29 December 2014 (UTC)[reply]
@Stryn, Kacir: Wikipedia templates can use something like Template:Replace (Q12469852). But I do not think that this is efficient way. Many templates in different wikies will have same code. "–" allow to avoid additional code in wiki templates. But you are right, "-" is easier to write. To minimize this issue I can schedule bot task that will replace "-" to "–" continuously. — Ivan A. Krestinin (talk) 17:31, 6 January 2015 (UTC)[reply]
It would be fine, at first I considered to ask for robotic replacement.--Kacir (talk) 23:42, 6 January 2015 (UTC)[reply]
Ok, no oppose comments for a long time. I start working. — Ivan A. Krestinin (talk) 19:58, 21 January 2015 (UTC)[reply]