Wikidata:Property proposal/All the Tropes identifier

From Wikidata
Jump to navigation Jump to search

All the Tropes identifier[edit]

Descriptionidentifier in All the Tropes
RepresentsAll the Tropes (Q70487275)
Data typeExternal identifier
DomainWikidata item (Q16222597)
Allowed valuesurl-safe chars
Example 1Game of Thrones (Q23572)Game_of_Thrones
Example 2A Song of Ice and Fire (Q45875)A_Song_of_Ice_and_Fire
Example 3Lady Gaga (Q19848)Lady_Gaga
Example 4George R. R. Martin (Q181677)George_R._R._Martin
Example 5damsel in distress (Q2293837)Damsel_in_Distress
Example 6Death Note (Q1834)Death_Note
Example 7Metal Gear Solid (Q6582527)Metal_Gear_Solid
Example 9City of Angels (Q168010)City_of_Angels_(film)
Example 10Dragon Ball (Q2020)Dragon_Ball
Example 11Yuno Gasai (Q16650986)Mirai_Nikki/Characters#Yuno_Gasai_-_The_2nd
Sourcehttps://allthetropes.org/wiki/Category:Trope (ATT site, existing links to it from Wikimedia sites, identifying whether there is a corresponding page for items that already have a TVT link)
External linksUse in sister projects: [ar][de][en][es][fr][he][it][ja][ko][nl][pl][pt][ru][sv][vi][zh][commons][species][wd][en.wikt][fr.wikt].
Number of IDs in sourceless than 155,870 (https://allthetropes.org/wiki/special:statistics) as WD:N allows
Expected completenessalways incomplete (Q21873886)
Formatter URLhttps://allthetropes.org/wiki/$1

Motivation[edit]

ATT is a fork of TV Tropes that was created after they changed their license. @Arlo Barnes, Jean-Frédéric:--Trade (talk) 12:48, 29 October 2020 (UTC)[reply]

applsdev Arlo Barnes BugWarp Coloradohusky CptViraj Cupkake4Yoshi Cwf97 Cynde Moya Danrok Datumizer Dexxor Diggr Dispenser Dollarsign8 DoublePendulumAttractor EdoAug Edolusill Eniehack Facenapalm Floyd-out FullyAwesome Harshrathod50 Jean-Frédéric Jotamide Keplersj Kirilloparma Lewis Hulbert LotsofTheories Macocobovi Macrike Master Of Ninja Matthias M. Metafire18 Nicereddy Nw520 Oduci Poslovitch Rampagingcarrot RampantSpirit Sanqui Santer Sight Contamination Sir Lothar thgiex Tomodachi94 VGPaleontologist Wd-Ryan WikiSyn YotaMoteuchi

Notified participants of WikiProject Video games

WikiProject Movies has more than 50 participants and couldn't be pinged. Please post on the WikiProject's talk page instead.

Konggaru Starry K. Erne Mogilevich Santer AldNonUcallinme? Thibaut120094 Shikeishu C933103 Sight Contamination -Zest Vulphere Sakretsu Jean-Frédéric Tris T7 TT me
Wallacegromit1 Jeanjung212 Bagas Chrisara ミラP CrystallineLeMonde
Nicereddy Shisma (talk) MatrosMonk Bwk24 Mickn Rin RPI2026F1 Yirba Eniehack Wiccio

Notified participants of WikiProject Anime_and_Manga--Trade (talk) 23:11, 29 October 2020 (UTC)[reply]

Discussion[edit]

Numeric identifier[edit]

@Trade: and others: What about an URL formatter such as "https://allthetropes.org/w/index.php?curid=$1". Hence, the identifier for Game of Thrones (Q23572) is 118532. AFAIK, it is better to use the numeric identifier because it does not move while a page title can be renamed. This is what we did for the latest Mediawiki website identifiers. Pamputt (talk) 20:56, 28 November 2020 (UTC)[reply]

How am i supposed to link to iMirai_Nikki/Characters#Yuno_Gasai_-_The_2nd using the numerical ID? @Pamputt:--Trade (talk) 21:49, 28 November 2020 (UTC)[reply]
@Trade: I think it would be better not to link to sections (in the same way that you don't link to the Wikipedia section; i.e. Ciri of Cintra). But if we really want to do it, we would have this identifier "74458#Yuno_Gasai_-_The_2nd". Pamputt (talk) 09:17, 29 November 2020 (UTC)[reply]

@Shisma, Arlo Barnes, GethN7, Lockal, Looney Toons (ATT), MJL: are you ok to use numerci identifier instead of page title for the identifier? Pamputt (talk) 12:19, 29 November 2020 (UTC)[reply]

 NeutralArlo Barnes (talk) 14:23, 29 November 2020 (UTC)[reply]
Pamputt I only have a use for ids that can be extracted or deduced from the url 🤷 --Shisma (talk) 14:35, 29 November 2020 (UTC)[reply]
@Shisma: For your information, you can find the numeric identifier by clicking on "Page information" on the left menu (example) or searching for "wgArticleId" in the source code of the HTML page. Pamputt (talk) 16:38, 29 November 2020 (UTC)[reply]
Pamputt for the best of both worlds would could probably do something like Twitter (X) username (P2002) and Twitter (X) numeric user ID (P6552): a separate property for the numeric id that a bot could aquire. That new property could be generalized for all properties that link MediaWiki pages. --Shisma (talk) 14:46, 29 November 2020 (UTC)[reply]
I could create two properties (text and numeric IDs) but I would like to be sure both properties will be used. If only one is used, then let us create only one. Pamputt (talk) 16:38, 29 November 2020 (UTC)[reply]
Pamputt, "curid" is too obscure for generic users, with very little extra benefit (rename + remove old page is a rare case). We already have many links to external MediaWiki sites, nobody has ever complained about literal identifiers. Trade as for links to hashes, adding such links moves responsibility of checking non-persistent by its nature fragments on Wikidata editors shoulders. Instead, editors of "All the Tropes" should create redirect pages and keep consistency on their side. This is a win-win for both sides: both "All the Tropes" and Wikidata could link to these pages and rename sections (if needed) in a centralized manner. --Lockal (talk) 15:09, 29 November 2020 (UTC)[reply]
@Lockal: to explain how to find the numeric identifier, it is possible to use Wikidata usage instructions (P2559). When you write "nobody has ever complained about literal identifiers", I disagree and that is why I am proposing to use the numeric identifier. At least Jura1 and ArthurPSmith wrote that using a stable identifier is better than a possible non-stable one in Wikidata:Property_proposal/OpenStreetMap_user_name. And I think I read other discussions about hte interest of stable identifier even if more obscure but I could not find them for now. Pamputt (talk) 16:48, 29 November 2020 (UTC)[reply]
I had a quick look on other properties that link to external wiki websites and most of them use "string" identifier but the latest properties created seems to use preferably "numeric" identifiers (Salzburgwiki ID (P8854), FINA Wiki ID (P8861), RegiowikiAT ID (P6228), ...). It seems that there is therefore a kind of willingness to use stable identifiers Pamputt (talk) 16:58, 29 November 2020 (UTC)[reply]
We are not terribly consistent when it comes to Mediawiki sites: this can given a (possibly incomplete) overview. Initially we left them with string datatype. --- Jura 17:00, 29 November 2020 (UTC)[reply]
@Pamputt: I would very much be against using a numeric identifier for this property. Strings are more helpful for the end user to be able to contribute. Having a numeric identifier sounds great, but if a page is deleted and redirected then the identifier will change (while the string wouldn't).
However, I would be okay with the doing a Twitter (X) username (P2002) and Twitter (X) numeric user ID (P6552) type of situation where the id is just for all mediawiki sites (a property I have previously proposed before). –MJLTauk 19:59, 29 November 2020 (UTC)[reply]
@MJL: could you give the link to the discussion about your proposal? FYI, Shisma is currently proposing Wikidata:Property proposal/curid. Pamputt (talk) 20:10, 29 November 2020 (UTC)[reply]
@Pamputt: Wikidata:Property proposal/Mediawiki Wiki. –MJLTauk 20:17, 29 November 2020 (UTC)[reply]

@Shisma, Arlo Barnes, GethN7, Lockal, Looney Toons (ATT), MJL: @Trade: ✓ Done All the Tropes ID (P8895). We will not solve the debate about the numerci identifier now so I have created the property as requested (page name). Pamputt (talk) 13:20, 30 November 2020 (UTC)[reply]