Property talk:P4467
Documentation
identifier for a category on the twitch.tv website
List of violations of this constraint: Database reports/Constraint violations/P4467#Single value, SPARQL
List of violations of this constraint: Database reports/Constraint violations/P4467#Unique value, SPARQL (every item), SPARQL (by value)
^(?!/)(?:\!|\!\ )?[A-Za-z\d\é]+((\ |\-|\!|\:|\'|\.|/|\,|\*|\+|\@|\:\ |\,\ |\ \-\ |\ \&\ |\!\ |\ \–\ |\.\ |\.\:\ |\ \−\ |\ \:\ |\ \.|\ \[|\]\ \-|\ \+\ |\ \(|\!\ \-|\%\ )[A-Za-z\d\é]+){0,13}(?:\!\!|\.\.\.|\!\-|\?\!|\?|\!|\-|\+|\.|\)|\'|\ \!)?$
”: value must be formatted using this pattern (PCRE syntax). (Help)List of violations of this constraint: Database reports/Constraint violations/P4467#Format, SPARQL
List of violations of this constraint: Database reports/Constraint violations/P4467#Entity types
List of violations of this constraint: Database reports/Constraint violations/P4467#Scope, SPARQL
List of violations of this constraint: Database reports/Constraint violations/P4467#allowed qualifiers, SPARQL
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)
- July and the issue still remains. Dissident93 (talk) 03:10, 3 July 2018 (UTC)
- The same situation still remains to August, I think it's gonna be fixed otherwise this property is unusable. Kirilloparma (talk) 11:53, 11 August 2018 (UTC)
@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)
- It does work properly now. Thank you. – Jeluang Terluang (talk) 06:25, 16 September 2018 (UTC)
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)
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)
- @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)
Seeing no opposition, I will restore the updated parameters. Thanks to those involved. — Huntster (t @ c) 20:37, 9 May 2022 (UTC)
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)
- @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)
- @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)
- @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)
- @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)
Format change - all links broken
[edit]Twitch has changed the way this identifier is formatted, and has not left any redirects behind for the existing values.
"The Last of Us" is now "the-last-of-us". Not even capital letters work, so most of the IDs are truly broken now (See Music -> music).
What do we do about all the historical data that is now outdated?
Notified participants of WikiProject Video games -wd-Ryan (Talk/Edits) 14:11, 17 May 2024 (UTC)
- The format changed quite a while back and it was redirecting, but the lack of redirects is new to me. Personally I'm not sure if it's actually worth keeping the old format, but some people might have a reason to want it preserved. It now seems like they're using a subset of Internet Game Database game ID (P5794) for category IDs with mods and adult games emitted, perhaps more. --Lewis Hulbert (talk) 14:44, 17 May 2024 (UTC)
- Since the content does not seem to have been archived I would say, deprecate this property and add "https://www.twitch.tv/directory/category/$1" as third-party formatter URL to Internet Game Database game ID (P5794). --Dexxor (talk) 14:45, 17 May 2024 (UTC)
- This property has values that are out of scope of IGDB, like "music". -wd-Ryan (Talk/Edits) 15:50, 17 May 2024 (UTC)
- Since the content does not seem to have been archived I would say, deprecate this property and add "https://www.twitch.tv/directory/category/$1" as third-party formatter URL to Internet Game Database game ID (P5794). --Dexxor (talk) 14:45, 17 May 2024 (UTC)
- Update: I found a formatter URL in which these IDs still redirect: https://www.twitch.tv/directory/game/$1. Examples: The Last of Us, Rocket League. Lewis Hulbert (talk) 15:00, 17 May 2024 (UTC)
- Nice find! I've added this as a preferred formatter URL in the meantime. It seems to work for even the non-game IDs. -wd-Ryan (Talk/Edits) 15:51, 17 May 2024 (UTC)
- It seems that some links with IDs that have hyphens don't seem to work now:
- Q125355801 gives "Category does not exist": https://www.twitch.tv/directory/game/adrenalin-misfits (working one: https://www.twitch.tv/directory/category/adrenalin-misfits)
- Q125355981: https://www.twitch.tv/directory/game/solar-smash (working one: https://www.twitch.tv/directory/category/solar-smash)
- Q125356919: https://www.twitch.tv/directory/game/battle-teams-2 (working one: https://www.twitch.tv/directory/category/battle-teams-2)
- Q125587743: https://www.twitch.tv/directory/game/the-dark-world-karma (working one: https://www.twitch.tv/directory/category/the-dark-world-karma)
- 85.76.11.175 11:21, 13 August 2024 (UTC)
- All Properties
- Properties with external-id-datatype
- Properties used on 1000+ items
- Properties with single value constraints
- Properties with unique value constraints
- Properties with format constraints
- Properties with entity type constraints
- Properties with scope constraints
- Properties with qualifiers constraints
- Properties with label language constraints
- Games properties