Property talk:P4467

Documentation

Twitch category ID
identifier for a category on the twitch.tv website
Associated itemTwitch (Q4555537)
Applicable "stated in" valueTwitch (Q4555537)
Data typeExternal identifier
Allowed values^(?!\/)(?:\!|\!\ )?[A-Za-z\d\é]+((\ |\-|\!|\:|\'|\.|\/|\,|\*|\+|\@|\:\ |\,\ |\ \-\ |\ \&\ |\!\ |\ \–\ |\.\ |\.\:\ |\ \−\ |\ \:\ |\ \.|\ \[|\]\ \-|\ \+\ |\ \(|\!\ \-|\%\ )[A-Za-z\d\é]+){0,15}(?:\!\!|\.\.\.|\!\-|\?\!|\?|\!|\-|\+|\.|\)|\'|\ \!)?$
ExampleDota 2 (Q771541)Dota 2
Rocket League (Q20031743)Rocket League
The Last of Us (Q1986744)The Last of Us
music (Q638)Music
Sourcehttps://www.twitch.tv/directory
Formatter URLhttps://www.twitch.tv/directory/category/$1
See alsoTwitch channel ID (P5797), Facebook Gaming game ID (P6913), Twitch tag ID (P8799), Twitch team ID (P8811), Internet Game Database game ID (P5794)
Lists
Proposal discussionProposal discussion
Current uses
Total1,985
Main statement1,97699.5% of uses
Qualifier70.4% of uses
Reference20.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). Known exceptions: Life Is Strange 2 (Q30010677), SoulWorker (Q28700880), Lineage II (Q477199), Cloudlands: VR Minigolf (Q23762858)
List of violations of this constraint: Database reports/Constraint violations/P4467#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/P4467#Unique value, SPARQL (every item), SPARQL (by value)
Format “^(?!/)(?:\!|\!\ )?[A-Za-z\d\é]+((\ |\-|\!|\:|\'|\.|/|\,|\*|\+|\@|\:\ |\,\ |\ \-\ |\ \&\ |\!\ |\ \–\ |\.\ |\.\:\ |\ \−\ |\ \:\ |\ \.|\ \[|\]\ \-|\ \+\ |\ \(|\!\ \-|\%\ )[A-Za-z\d\é]+){0,13}(?:\!\!|\.\.\.|\!\-|\?\!|\?|\!|\-|\+|\.|\)|\'|\ \!)?$: 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/P4467#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/P4467#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/P4467#Scope, 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/P4467#allowed qualifiers, SPARQL
Label required in languages: en: Entities using this property should have labels in one of the following languages: en (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/P4467#Label in 'en' language, search, SPARQL

Formatter URL is broken edit

Spaces in game ID need to be escaped to %20 instead of +. Otherwise they don't work William Graham (talk) 21:00, 4 March 2018 (UTC)Reply

@Kirilloparma, Dissident93, William Graham, Jeluang Terluang: I think I fixed it by passing the URL through tools.wmflabs.org. Does it work properly now? Jc86035 (talk) 05:33, 15 September 2018 (UTC)Reply

It does work properly now. Thank you. – Jeluang Terluang (talk) 06:25, 16 September 2018 (UTC)Reply

Formatter URL broken for questionmarks edit

For example Q103144289 has a ? in its id What The Box? and will be wrongly redirected with the external formatter tool. You have to workaround by escaping ? to %253F. Then the redirect will work but the field contains an incorrect id.--Frlgin (talk) 18:09, 1 December 2020 (UTC)Reply

Proposal to expand property definition edit

The original proposal was written in a time where Twitch focused nearly entirely on gaming streams. Obviously, Twitch has now expanded significantly in their scope of what kind of material is allowed on the site, with "Just Chatting", "Slots", "Music", and "ASMR" featuring highly in the list of most watched categories when I just checked, and that's just a small set of what is categorically allowed. While this property was changed in 2020 to be compatible with Twitch's expansion, it was done so without discussion and another user has removed those changes as being out of order. I don't believe this was necessary to do, since Wikidata is by its nature flexible, but here we are.

Therefore, I formally propose this property be brought op to date to allow non-games to use it, and be changed to "Twitch category ID", which is the terminology Twitch themselves use for the resource we are linking to. Huntster (t @ c) 16:58, 5 April 2022 (UTC)Reply

@Kirilloparma: You changed the name from "category ID" back to it's original "game ID", and said it was "misleading". It should continue being "category ID" for the reasons above. Not all values are video games. (I changed it to category originally) AntisocialRyan (Talk) 02:29, 11 April 2022 (UTC)Reply

Seeing no opposition, I will restore the updated parameters. Thanks to those involved. Huntster (t @ c) 20:37, 9 May 2022 (UTC)Reply

Property should be able to handle special characters edit

The games Mysteriet på Greveholm (The Mystery at Greveholm (Q10592863)), Mysteriet på Greveholm 2: Resan till Planutus (The Mystery at Greveholm 2: The Journey to Planutus (Q120416168)) and Mysteriet på Greveholm 3: Den Gamla Legenden (The Mystery at Greveholm 3: The Old Legend (Q120416169)) all use the special character å which isn't supported by the property. For that reason the property can't be used properly as it can't link to the correct external identifier. I have in the mean time added the identifiers with the character "a" instead but that doesn't link correctly.

Can someone make the property properly handle special characters and also spaces for that matter. Sabelöga (talk) 22:36, 6 July 2023 (UTC)Reply

@Sabelöga: It’s supported, I could add it. It does cause a constraint violation, but a value violating a constraint is definitely better than a wrong value – if the link doesn’t work, it means that the value is wrong. Of course, the constraint should be fixed to allow all correct values, but I don’t know what Twitch allows in identifiers, someone with more knowledge than me needs to figure it out. For the time being, I lowered the severity of the constraint from mandatory to normal. —Tacsipacsi (talk) 10:53, 9 July 2023 (UTC)Reply
@Tacsipacsi Thanks. I agree that a correct value with a constraint is better than a faulty value. Also, how did you add the correct value? When I tried, the å just removes the rest of the message. Could you also add the correct value to the other two items? Sabelöga (talk) 22:42, 10 July 2023 (UTC)Reply
@Sabelöga: I simply copied and pasted the value from the Twitch URL (I use Firefox). I have no idea why it cut off the rest for you. —Tacsipacsi (talk) 07:30, 12 July 2023 (UTC)Reply
Return to "P4467" page.