Property talk:P12570

From Wikidata
Jump to navigation Jump to search

Documentation

IsThereAnyDeal ID
identifier for a video game, downloadable content or video game bundle on IsThereAnyDeal
RepresentsIsThereAnyDeal (Q125180978)
Associated itemIsThereAnyDeal (Q125180978)
Applicable "stated in" valueIsThereAnyDeal (Q125180978)
Data typeExternal identifier
Domainvideo game (Q7889), video game bundle (Q96240590), video game compilation (Q16070115) or downloadable content (Q1066707)
Allowed values^(?:\_|\-{1,2})?[a-z\d]+((\-{1,2}|\_{1,2}|\-\_\-|\-\_|\_\-)[a-z\d]+)*(?:\_?|\-{1,2}\_{0,9})$
Usage notesProducts that have been delisted from digital stores are automatically deleted from the database
ExampleHelldivers 2 (Q118645527)helldivers-2
Valve Complete Pack (Q56695783)valve-complete-pack
Postal 2: Paradise Lost (Q59312244)postal-2-paradise-lost
Sourcehttps://isthereanydeal.com/deals/
Formatter URLhttps://isthereanydeal.com/game/$1/info/
Lists
Proposal discussionProposal discussion
Current uses
Total65,797
Main statement65,794 out of 176,183 (37% complete)>99.9% of uses
Qualifier3<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)
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/P12570#Single value, SPARQL
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/P12570#Unique value, SPARQL (every item), SPARQL (by value)
Format “(?:\_|\-{1,2})?[a-z\d]+((\-{1,2}|\_{1,2}|\-\_\-|\-\_|\_\-)[a-z\d]+)*(?:\_?|\-{1,2}\_{0,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/P12570#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/P12570#Entity types
Scope is as main value (Q54828448): 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/P12570#Scope, SPARQL
Item “platform (P400): Microsoft Windows (Q1406): Items with this property should also have “platform (P400): Microsoft Windows (Q1406)”. (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/P12570#Item P400, search, SPARQL

Case in point: To Be or Not to Be (Q43128737) and its value to-be-or-not-to-be--1 – it correctly points to the video game page, but its current regex ^[a-z\d]+(\-[a-z\d]+)*$ doesn't recognise it, and I'm not sure why. Removing [\^\$] makes the double dash not match.

EDIT [05:30, 1 September 2024 (UTC)]: https://isthereanydeal.com/steam/app/2190290/ (inferred from 2190290) redirects to that URL, further confirming it's correct.

Thank you, 83.28.217.24 04:00, 1 September 2024 (UTC)[reply]

✓ Done. I rewrote the regex based on the current affected identifiers, if there will be more false positives in the future we can just simplify it. Regards Kirilloparma (talk) 00:40, 2 September 2024 (UTC)[reply]