Jump to content

Template talk:IMDb title

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by 68.189.242.116 (talk) at 19:20, 15 October 2022 (→‎Proposal to support links to the IMDb reference subpage: s 2). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Please add {{WikiProject banner shell}} to this page and add the quality rating to that template instead of this project banner. See WP:PIQA for details.
WikiProject iconFilm Template‑class
WikiProject iconThis template is within the scope of WikiProject Film. If you would like to participate, please visit the project page, where you can join the discussion and see lists of open tasks and regional and topical task forces. To use this banner, please refer to the documentation. To improve this article, please refer to the guidelines.
TemplateThis template does not require a rating on Wikipedia's content assessment scale.
Please add {{WikiProject banner shell}} to this page and add the quality rating to that template instead of this project banner. See WP:PIQA for details.
WikiProject iconTelevision Template‑class
WikiProject iconThis template is within the scope of WikiProject Television, a collaborative effort to develop and improve Wikipedia articles about television programs. If you would like to participate, please visit the project page where you can join the discussion. For how to use this banner template, see its documentation.
TemplateThis template does not require a rating on Wikipedia's content assessment scale.

Template-protected edit request on 16 April 2022

Hey, have added a check for same Wikidata to sandbox, copied from Template:Metacritic television and changed values, please add to live. Should populate Category:IMDb ID same as Wikidata. — Preceding unsigned comment added by Indagate (talkcontribs) 08:03, 16 April 2022 (UTC)[reply]

Not done for nowTo editor Indagate: is it just me? or is the text at the top of the sandbox page, and the texts on the test cases page as well, really screwed up? Seems we ? need more info on this edit, because until we're happy with the sandbox and test cases, there can be no change. P.I. Ellsworth - ed. put'r there 12:28, 23 April 2022 (UTC)[reply]
Hey @Paine Ellsworth, thank you for responding, think it looks better now, can you take a look please? The live and sandbox look same as they should, difference should be adding to categories Indagate (talk) 14:33, 23 April 2022 (UTC)[reply]
Thank you, Indagate, very much – and  done. P.I. Ellsworth - ed. put'r there 22:52, 23 April 2022 (UTC)[reply]
I have reverted. The code is badly broken and incorrectly added thousands of articles to Category:IMDb ID different from Wikidata. The category should be created first if this is the right name. It shouldn't be added when no ID is even specified in the template call and the Wikidata default is used, and it shouldn't be added when the same ID as Wikidata is specified. PrimeHunter (talk) 00:37, 24 April 2022 (UTC)[reply]
For example, Kill Switch (2017 film) was added and it just says {{IMDb title}}. Alien 3 was added and it says {{IMDb title|0103644|Alien 3}} which matches wikidata:Q108543#P345 and makes the same link to https://www.imdb.com/title/tt0103644/. PrimeHunter (talk) 00:44, 24 April 2022 (UTC)[reply]
Thanks for implementing @Paine Ellsworth, and thanks for seeing issue @PrimeHunter. Thought should create categories when they have content as someone might delete if no content but will create first next time then. Not sure why it says different when pulling from same place it's checking. Issue with some is probably they have tt in front of ID there but not here so can setup ignore those letters. Will try and fix today. Indagate (talk) 06:55, 24 April 2022 (UTC)[reply]
The check inserted a slash in value=tt/{{{1|{{{id|}}}}}}. I don't think a slash should ever be there. There should be no check at all if {{{1|{{{id|}}}}}} is unspecified. PrimeHunter (talk) 12:58, 24 April 2022 (UTC)[reply]
Thanks @PrimeHunter, removed the slash and moved it up so part of the first if function so only called when ID entered, hope that looks better. Indagate (talk) 14:06, 24 April 2022 (UTC)[reply]
To editor Indagate: arrow reverted – thoughts? P.I. Ellsworth - ed. put'r there 00:47, 24 April 2022 (UTC)[reply]
 Done I created a new sandbox doing it differently. This should avoid any errors mentioned above and a few I noticed with the implementation that were not noted. This will not categorise templates with the same value as wikidata at the moment, as mentioned above. Terasail[✉️] 20:15, 10 May 2022 (UTC)[reply]
Thank you for sorting that Terasail, is same ID tracking possible like it is for other external link templates? Maybe with an if rule so only track if it has content to avoid issue PrimeHunter mentioned with Kill Switch (2017 film), issue they found with Alien 3 maybe possible to check for the ID with or without the tt? Indagate (talk) 20:38, 10 May 2022 (UTC)[reply]
@Indagate Adding the "same" tracking wouldn't affect Kill Switch (2017 film) or cause unwated tracking. The main issue with Alien 3 was that it was tracked as different, which it would no longer be. But I decided to be safe and just not track it at all for the moment, it is an easy change to turn it back on, in the future if no problems with the current implementation are found. (Just change |nocatsame=1 to |nocatsame={{{qid|}}} for both tracking templates). Thanks, Terasail[✉️] 20:59, 10 May 2022 (UTC)[reply]
 Note: I have now added categorization to "same" id's Terasail[✉️] 13:37, 16 June 2022 (UTC)[reply]

Hey, please copy change from sandbox. Have added an if function to the wikilink so that it can be hidden. Use cases would be articles with multiple uses of the template such as List of accolades received by Marvel Cinematic Universe films#External links where it only needs to be linked at first mention in section. No change to current results per Template:IMDb title/testcases so guess uncontroversial enough for above template. I can add to doc if accepted.

— Preceding unsigned comment added by Indagate (talkcontribs) 13:30, 12 June 2022 (UTC)[reply]

 Done — Martin (MSGJ · talk) 07:41, 16 June 2022 (UTC)[reply]
Thank you Martin Indagate (talk) 14:12, 16 June 2022 (UTC)[reply]

Episodes list category

Have also added new tracking category to sandbox, please copy to main with above. Adapt existing tracking category for uses of this template on episode articles, for episode list articles. Adding to category if WikiData P360 (is a list of) matches Q21191270 (television series episode). Thanks, Indagate (talk) 17:17, 14 June 2022 (UTC)[reply]

Credits

Hey, please copy changes from sandbox, have copied the current switch function for the awards section for the credits section, example:

Use cases would be entries in Category:Lists of actors by series, some of which already have similar, e.g. one, two

Thanks, Indagate (talk) 21:19, 3 July 2022 (UTC)[reply]

I don't understand why it needs to point to #cast. Directors and writers are of course part of "full cast and crew". Nardog (talk) 03:39, 4 July 2022 (UTC)[reply]
As I understand the proposal, it will save reader who click on an IMDb link the hassle of finding, and clicking, the "All cast & crew" link on IMDb's newly designed pages, where that link is now not in a prominent position. I think it would an improvement; in fact, this behaviour, although without the #cast part in the URL, could be considered as the default for this template. -- Michael Bednarek (talk) 06:50, 4 July 2022 (UTC)[reply]
The #cast part of url is because the use cases are just cast lists so thought better to link directly to that section. Current non-template links seem to favour #cast.
Don't think it should be default behaviour as there's lots of other information than cast & crew on main page for a title Indagate (talk) 06:59, 4 July 2022 (UTC)[reply]
Creating a new template is another option, like Template:IMDb episodes, less code on article but another template. Thanks, Indagate (talk) 07:01, 4 July 2022 (UTC)[reply]
(FWIW I highly recommend turning on the "reference view" at https://www.imdb.com/preferences/general if you have an IMDb account and haven't done so already. It saves you "the hassle of finding, and clicking, the 'All cast & crew'".) Nardog (talk) 15:35, 4 July 2022 (UTC)[reply]
I don't think that having it point at #cast is a benefit just to hide writing and directing credits? It is a negative in my opinion and should be added as just "/fullcredits" rather than "/fullcredits#cast". Side note: I updated the sandbox so that there wasn't a duplicate switch. Terasail[✉️] 13:11, 4 July 2022 (UTC)[reply]
The writing and directing credits aren't hidden, just page scrolled down a bit to focus on the part that's relevant to article, the cast. Articles where this would be used don't focus on the crew so don't need the link to focus on that part. Thanks, thought safer to just copy the switch. Thanks, Indagate (talk) 14:27, 4 July 2022 (UTC)[reply]

QID for ID retrieval

Hey, please copy changes from sandbox, fix for [1] by @Terasail: which seems to have broke the IMDb template, have tried to allign this with Template:Netflix title to hopefully fix. Converted that to sandbox and looks good in preview, and test cases look good. Thanks, Indagate (talk) 19:22, 6 July 2022 (UTC)[reply]

@Indagate I have just added the option use just the wikidata item without an id parameter. It wasn't so much that I broke the template but that my script just assumed that it worked the same way as the netflix template. Terasail[✉️] 10:55, 7 July 2022 (UTC)[reply]
Thanks, other changes I made were alligned with Netflix title and wasn't sure if needed here Indagate (talk) 11:20, 7 July 2022 (UTC)[reply]
Ah yes, I did forget to remove |nocatsame=, however the extra parameters of {{EditAtWikidata}} should be kept for this template since they serve a different purpose than the Netflix template. Terasail[✉️] 11:55, 7 July 2022 (UTC)[reply]

Section: soundtrack?

Would be nice to be able to link directly to the soundtrack, just like linking to the awards. Seems to be working in the sandbox. Especially useful when linking from songs used in a film or TV series; those articles often have a "used in media" section. SQB (talk) 09:10, 15 August 2022 (UTC)[reply]

Looks good. Don't think it would be useful for "used in media" section as IMDb should only be linked in external link section, not in main body of an article. Potential use cases in Category:2020s film soundtrack albums, and preceding decades. Have added music as an alias as seems common alternative word. Thanks, Indagate (talk) 11:21, 15 August 2022 (UTC)[reply]

Cf. https://www.imdb.com/title/tt6217926/reference vs. https://www.imdb.com/title/tt6217926/

Unlike the main page for the movie, the reference subpage is not full of ads and contains the sort of information that Wikipedia users might actually be looking for. Right now the template doesn't support linking to the reference subpage.

There are two possible implementations:

  1. Make the reference page the default
  2. Support the reference subpage as a section parameter, giving editors the option of linking to the IMDb main page or the reference subpage

Brought here from Wikipedia:Village_pump_(proposals)#Change_URLs_of_IMDb_links, where the idea was put forward by Otto von B. Andreas JN466 15:26, 7 October 2022 (UTC)[reply]

Oppose 1, provides less information overall, similar number of ads.
Oppose 2, not something that needs to be an option as isn't an article that needs it specifically, so would create inconsistency
Thanks, Indagate (talk) 16:36, 7 October 2022 (UTC)[reply]
Support at least number 2 (adding "reference" as a section parameter like "award"). The information on the reference page is the sort I am looking for from an IMDB link. I feel unqualified to support it as the default option, but I would not oppose this. 68.189.242.116 (talk) 19:20, 15 October 2022 (UTC)[reply]