Wikidata:Property proposal/Internet Game Database numeric game ID

From Wikidata
Jump to navigation Jump to search

Internet Game Database numeric game ID[edit]

Originally proposed at Wikidata:Property proposal/Creative work

Descriptionnumeric identifier for a game on IGDB; use as qualifier for P5794 "Internet Game Database game ID"
RepresentsInternet Game Database (Q20056333)
Data typeExternal identifier
Domainvideo game (Q7889)
Allowed values[1-9]\d+
Example 1Super Mario Odyssey (Q28234671) → 26758
Example 2Half-Life 2 (Q193581) → 233
Example 3Portal 2 (Q279446) → 72
Example 4The Legend of Zelda: Breath of the Wild (Q17185964) → 7346
Sourcehttps://www.igdb.com
Planned useI intend to write a script for my bot to import these qualifiers for all existing IGDB IDs via the IGDB API.
Number of IDs in sourceAround 251,439, same as Internet Game Database game ID (P5794)
Expected completenessalways incomplete (Q21873886)
See alsoInternet Game Database game ID (P5794)
Single-value constraintyes
Distinct-values constraintyes

Motivation[edit]

Currently, we only have the URL slugs from IGDB, but they're not stable and can be broken in the future if the game's name changes.

The numeric ID would be used as a qualifier to keep track of games that have been renamed. I'll write a script for my bot to automatically attach these on all existing IGDB IDs using the IGDB API. Very similar use case to Twitter (X) numeric user ID (P6552).

Note that there is no formatter URL because IGDB doesn't allow you to link to a page via the numeric ID currently. Nicereddy (talk) 18:23, 23 December 2020 (UTC)[reply]

Notified participants of WikiProject Video games -Nicereddy (talk) 18:25, 23 December 2020 (UTC)[reply]

Discussion[edit]

@Jean-Frédéric: we might want to make sure IGDB committed to keeping that workaround functional until a direct link to the numeric ID is possible, but that sounds like a good solution to me. Nicereddy (talk) 23:13, 23 December 2020 (UTC)[reply]
 Support If you click on the share tab on the Odyssey page, you can see the https://www.igdb.com/g/kna link. So I do not think it is a temporary workaround. A direct link would be better of course. The numeric id can also be taken from the HTML source. —Dexxor (talk) 09:08, 24 December 2020 (UTC)[reply]