Open main menu

Wikidata:Property proposal/Identifiant itch.io

< Wikidata:Property proposal

ID on itch.ioEdit

Return to Wikidata:Property proposal/Authority control

   Ready Create
DescriptionURL of the game on itch.io
Data typeURL
Domainvideo game (Q7889)
Allowed values\S+:\S+
Example 1Night in the Woods (Q19383244) → finji:night-in-the-woods
Example 2Pikuniku (Q60774329) → devolverdigital:pikuniku
Example 3Anodyne (Q16267613) → sean-han-tani:anodyne
Sourceitch.io (Q22905933)
Planned useAdding link to a few games to itch.io
Number of IDs in source> 152 000, but most are likely not in wikidata, so I guess much less
Expected completenessalways incomplete (Q21873886)
Formatter URLhttp://tools.wmflabs.org/wikidata-externalid-url/?p=XXX&id=$1
Robot and gadget jobsnone planned

MotivationEdit

Completeness along GOG application ID (P2725) or Steam Application ID (P1733), also would be useful combined with Visual Novel Database ID (P3180) since there is a few VN on itch.io Misc (talk) 19:42, 11 February 2019 (UTC)

DiscussionEdit

ΛΧΣ21 Vacation9 John F. Lewis (talk) Bene* talk #Reaper (talk) Josve05a (talk) Chris Mason (talk) FunPika Arthena (talk) Wangxuan8331800 (talk) Sjoerd de Bruin (talk) Zerabat (talk) Nicereddy (talk) Syum90 (talk) DrakeCaiman (talk) --George (Talk · Contribs · CentralAuth · Log) Andreasburmeister (talk) Danrok (talk) 18:20, 30 October 2015 (UTC) Macrike (talk) Dispenser (talk) 16:56, 7 July 2017 (UTC) --Zache (talk) 13:34, 12 July 2017 (UTC) Mohammed Adam (T) SharkD  Talk  06:41, 9 November 2017 (UTC) ZebaX2010 (talk) 00:49, 21 November 2017 (UTC) Sight Contamination (talk) Lewis Hulbert (talk) 20:26, 13 December 2017 (UTC) Jean-Fred (talk) 10:48, 28 February 2018 (UTC) Santer (talk) Cloaker416 (talk) 22:18, 12 June 2018 (UTC) Rampagingcarrot (talk) 19:57, 28 June 2018 (UTC) Diggr (talk) 08:07, 3 July 2018 (UTC) Harsh Rathod Poke me! 09:42, 7 July 2018 (UTC) Kirilloparma (talk) 00:30, 5 August 2018 (UTC) Sir Lothar (talk) 10:10, 10 August 2018 (UTC) Cwf97 (talk) 14:33, 22 October 2018 (UTC) Esteban16 (talk) 00:08, 27 October 2018 (UTC) Peterchanws Brasig Le Yota de Mars YotaMoteuchi (talk) 08:09, 22 May 2019 (UTC)   Notified participants of WikiProject Video games

I propose to use the full URL here, since itch.io has 1 website per creator, so using a external_id would requires some more complex transformation than just a prefix (like gog.com allow). A regexp matching would be fine, not sure if this can be done (something like https://$1.itch.io/$2 with external_id matched against (\S+)/(\S+) ).

  •   Support David (talk) 07:29, 12 February 2019 (UTC)
  •   Comment Sounds like a job for wikidata-externalid-url − it could easily convert finji:night-in-the-woods into the correct URL. (Using the full URL, this would not have much practical difference than full work available at (P953)) Jean-Fred (talk) 22:00, 1 March 2019 (UTC)
  •   Comment That seems much better, I have a provisional (untested) patch here --Misc (talk) 22:54, 1 March 2019 (UTC)
  •   Support Good addition to other Store IDs (GOG, Humble, Epic, Steam). Jean-Fred (talk) 08:57, 2 March 2019 (UTC)
  •   Comment I was curious how many itch.io usage would need to be migrated to this property − in the end it’s just a few dozen (and as I am so proud of my SPARQL here it is ^_^) Jean-Fred (talk) 18:15, 3 March 2019 (UTC)
  •   Comment Looking at the data, I noticed many usage from developer to their itch.io subdomain (eg Red Fox Game Studios (Q57019633)). Should this proposal cover only the games or also the developers? I’d be tempted to say both. Jean-Fred (talk) 18:15, 3 March 2019 (UTC)
# All itch.io URLs 
SELECT ?item ?itemLabel (SAMPLE(?typeLabel) as ?nature) ?propertyLabel ?url
WITH {
  SELECT ?property WHERE {
    ?property rdf:type wikibase:Property.
    ?property wikibase:propertyType wikibase:Url .
  }
} AS %properties
WITH {
  SELECT ?item ?url ?property WHERE {
    INCLUDE %properties .
    ?property wikibase:directClaim ?wdt.
    ?item ?wdt ?url.
    FILTER regex (STR(?url), "itch.io").
  }
} AS %items
WHERE {
  INCLUDE %items.
  ?item wdt:P31 ?type.
  SERVICE wikibase:label {
    bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". 
    ?type rdfs:label ?typeLabel.
    ?item rdfs:label ?itemLabel.
    ?property rdfs:label ?propertyLabel.
  }
} GROUP BY ?item ?itemLabel ?propertyLabel ?url

Try it!

  •   Comment If we use both, wouldn't it mean we can't enforce constraint (like making sure distribution format (P437) has a value of itch.io (Q22905933), since this wouldn't make sense for a developer ? Misc (talk) 23:28, 3 March 2019 (UTC)
  •   Comment So, wouldn't it make more sense to have a separate "profil on itch.io", for developper/studio, and keep this property for game ? Then the 2nd one can just be a simple url ($1.itch.io). This would also permit to extract informations such as the twitter account associated with the developper/studios, since that's in the webpage in a parsable format (a meta tag). I see also there is a numerical ID for both games and developpers in the same meta tag, not sure how to use it except injecting in some query url like https://itch.io/games-like/XXX ), so I think this might not be that useful. --Misc (talk) 20:32, 8 March 2019 (UTC)
  •   Support Developers and video games needs their own seperate identifiers. --Trade (talk) 13:15, 1 June 2019 (UTC)
  •   Oppose proposed format. Use URL-datatype instead. --- Jura 22:02, 1 June 2019 (UTC)
  • @Jura1: What advantages and disadvantages do you see either way? This will affect the tennis one I proposed too. --99of9 (talk) 00:53, 4 June 2019 (UTC)
  • The proposed format is not an identifier used on that site nor does it allow to generate urls directly at Wikidata. The only advantage I see it that it might save 15 bytes per value. --- Jura 07:42, 4 June 2019 (UTC)
  •   Support either way (URL or compound ID). Another small advantage of using this compound ID method is that if they change their URL format somewhere down the track, we can adapt more easily. --99of9 (talk) 03:20, 3 July 2019 (UTC)
  •   Comment I have been thinking a lot about this, and I see more and more where Jura1 is coming from. I’m not sure I care either way − I think I’m just more "used" to the idea of IDs and compound IDs (pun intended ;)) than URLs. I wonder if this would be worth bringing to the Project chat to get more opinions involved? Jean-Fred (talk) 09:34, 3 July 2019 (UTC)