Jump to content

Template talk:IMDb name/Archive 1

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

Piped link?

Acording to Thorpe, the IMDb article is located at The Internet Movie Database, not the Internet Movie Database [1]. The other IMDb template, {{imdb title}}, links to The Internet Movie Database. Shouldn't {{imdb name}} have the piped link removed to maintain consistency? ♫ Bitch and Complain Sooner ♫ 14:50, 28 March 2006 (UTC)

There's a mirror-image discussion of this at Template talk:Imdb title#Linked text. Per the comment there, unpiping the link on this template is probably the best way to make them consistent. —Whouk (talk) 08:10, 30 March 2006 (UTC)
Depiped. —Josiah Rowe (talkcontribs) 08:25, 30 March 2006 (UTC)

New Category

This needs to go into Category:Film templates. Lady Aleena 22:05, 3 February 2006 (UTC)

Format

I want to alter the template to include a link to IMDb. I propose:

[http://www.imdb.com/name/nm{{{id}}} entry on ''{{{name}}}''] at the [[Internet Movie Database]]

producing something like

I propose a similar alteration to Template:imdb title. Any objections?--Phil | Talk 11:46, Sep 21, 2004 (UTC)

I like it. --Ponder 12:56, 2004 Sep 21 (UTC)
Well, I too thought that when I first proposed this template, but Nunh-huh said something important [2]: "it would be better if it were all formatted as an external link instead of an internal link to Wikipedia's IMDB article and an external link. We don't really want 100s of articles pointing to our Internet Movie Database". And he's right. Would be wrong to directly connect all movie and actor pages to our IMDb article, because the what links here page would be overloaded.
But, there's a solution for that. We could create a redirect page to IMDb on an article Internet Movie Database references, and then we link to this page on the template. This way, all links to IMDb with the template would be under the same redirect page, and that way it'd be easier to differ from these template links to normal ones. What you think? Kieff | Talk 03:20, Sep 22, 2004 (UTC)

File:Imdb mini logo.gif Image:Imdb mini logo.gif

Well I thought it was a good idea, some editors changed it a bit. However, I dont believe it was a resource hog, considering it was only 537 bytes, and several of the stubs have images. Oh well. Who 18:23, 11 May 2005 (UTC)

Seeing as there was never any consensus that the logo should be removed (it was removed by one editor) I have reverted back to the version with the logo. Any opinions on this matter are welcome, but please do not remove the logo until a consensus is reached. Nick Catalano (Talk) 23:34, 30 May 2005 (UTC)

Unfortunately it is a resource hog and I agree with that editor. This has been in discussion for quite some time. See here for links to reasons and discussions why. K1Bond007 03:02, May 31, 2005 (UTC)
The link you gave does not provide reasons or disucssions. Please explain why this image should not be present? Mperry 22:36, 30 December 2005 (UTC)
Because it implies that Wikipedia is endorsing IMDB. Rhobite 01:51, 4 January 2006 (UTC)
How does the image imply that but the link does not? Mperry 03:18, 17 January 2006 (UTC)

name attribute

I propose we replace the {{{name}}} attribute with {{PAGENAME}} this proposal also includes changing Template:Tvtome person.

See full proposal.

<>Who?¿? 22:04, 26 Jun 2005 (UTC)

Interwiki

When the meta:interwiki map gets updated, we can change the link to [[imdbname:{{{id}}}|{{{name}}}]]. Dread Lord CyberSkull ✎☠ 07:32, 2005 August 27 (UTC)

ex: Jack Nicholson Dread Lord CyberSkull ✎☠ 02:23, 2005 August 28 (UTC)

I disapprove of the use of an interwiki link. It means you don't get an external link icon. This is confusing. Unless there's some way to get an external link icon, this should just use an external URL. I see no "abstraction" merit in using an interwiki link here - this template itself provides a central point to control the URL format. --KJBracey 17:25, 24 October 2005 (UTC)

I don't see a problem with that – after all, it is in the "External links" section, does have a (slightly) different colour than the rest of the text, and the text does say what the link is. People aren't as stupid as one might think, you know… ;-) Jon Harald Søby \ no na 15:11, 28 October 2005 (UTC)
It's not that people won't figure out what's going on, it's just that a lack of consistency lowers the perceived quality. (And are they different colours? I'd never noticed). There is a clear convention on Wikipedia for external links to have an icon, and as such a link without an icon will be initially assumed to be an internal one. As a casual Wikipedia user, I was puzzled for quite a few days as for what the strange significance of the lack of icon was, until I figured out that it was just an implementation side-effect.
Also, the icon is made more important by the fact that the template contains two links - one external and one internal. They should be vividly distinguished - it's not enough to say "it is in the External links section"; the other one isn't an external link!
My primary objection is that some sort of perceived behind-the-scenes "neatness" - ie using interwiki - should be ranked a lot less important than the user-visible presentation. If there's an easy way to use the interwiki and have the icon, then I'd be all for it, but if we have to make a choice – presentation is much more important. Maybe this discussion should be referred up to Wikipedia:Interwiki, where the use of interwiki as a general external link "template" is discussed. --KJBracey 16:00, 28 October 2005 (UTC)
Yeah, I know, old old old topic. However, I just encountered the use of an interwiki to IMDbname that was not in the external links section, but rather was part of the main article text. When I clicked the link, sure enough, I was surprised to be dumped into IMDb. My expectations as a reader were not met. Any kind of link to any external url MUST have the external link icon. No exceptions.
Trappist the monk (talk) 12:26, 1 August 2012 (UTC)

Is this the final outcome at this point? The case was made at meta for adding this shortcut to the interwiki database based on it being used, and I added it based on that case (see m:Talk:Interwiki_map/Archives/2007/12#More_IMDb (which by the way is an interwiki link, Meta is not en:wp, it is a different wiki) where this was proposed. It's in there now, and it works. The template can be changed to use it, and if some sort of icon is desired, one can be given. We have loads of other links to external sources. I don't think I agree with this and would urge that the template be changed to use the interwiki link. Else why have them? Adding interwikis that are not used is a waste of time and effort in my view. ++Lar: t/c 11:18, 14 December 2007 (UTC)

  • The template has been changed by User:SuperDude115. I have reverted the edit because I would like some discussion before such a radical change.

The proposed change switches from a text format to a table format and would require editing of most of the pages using the template, which I think is a pain. Hektor 21:02, 30 September 2005 (UTC)

Proposal for new template layout

What do you think of that, should you give that a try? --SuperDude 01:54, 30 October 2005 (UTC)

I oppose. IMDb is popular, but not very accurate. I created the template for IMDb because it has an extensive information on various movies, so it is useful, but I don't give IMDb that much credit to make a special "box" like this to it. It's just... well, too special. IMDb is just another site, you see, so a basic external link is all we really need. ☢ Ҡieff 02:03, 30 October 2005 (UTC)
"Popular, but not very accurate"? Much like Wikipedia then :) Sounds like an ideal partner... But yes, I agree, I see no call to have any sort of special box, particularly one on every single film/actor page. It's just another reference source, and doesn't deserve anything more than a link in "External links". Indeed, for most articles, it will be one of the less informative links, below fan sites, official sites, etc. IMDb does get recognition enough to have a link to their Wikipedia entry on every link. --KJBracey 09:02, 30 October 2005 (UTC)
I oppose only because I think that the existing list item link is sufficient and fits well into the external link sections. The box does not fit well. — Mperry 16:50, 28 January 2006 (UTC)
With all due respect, IMDb's accuracy is much greater than Wikipedia's. That said, I also oppose because I think it looks a bit silly and would throw off some entries all throughout Wikipedia where the simple template has been used within dialogue.

Add icon

For visibility the following icon can be added:


as is done in the Dutch version of this template. This would result in the following:

Ilse@ 14:26, 29 January 2006 (UTC)

I want to put template:Imdb disambig on the template:imdb pages, inside the noinclude, so people can find what they need without having to dig into the talk pages. Any objection? —wwoods 02:05, 18 February 2006 (UTC)

class="plainlinks"

This is conceptually wrong, as I've stated about Template:Imdb title. Unless there's been some change to the style guides I've missed, external links need an icon. Doubly so if it's on the same line as an internal link. I don't know why these templates are now locked, but someone please change them back. --KJBracey 12:52, 4 April 2006 (UTC)

I agree, it must indicate it's an external link. Furthermore, it disrupts anyone who has set a custom icon for links to imdb. Lastly, it wasn't discussed, nor changed two other imdb templates. —Fitch 20:39, 6 April 2006 (UTC)

See my responses on the Talk page for Imdb title. I also downgraded the protection on that Template to Semi-protection. Ëvilphoenix Burn! 01:51, 7 April 2006 (UTC)

Why don't you downgrade protection here, too? —Fitch 14:18, 7 April 2006 (UTC)
Done. I would have yesterday, but I got confused looking at the protect tab and saw that it was unprotected, but I was looking at the Talk page and not the Template itself. Duh. Ëvilphoenix Burn! 16:34, 7 April 2006 (UTC)
No problem. Sorry I sounded so confrontational, I should be more kind —Fitch 22:10, 7 April 2006 (UTC)

name = Name

What does that add  ? It seems fine without it. -- Beardo 14:06, 16 September 2006 (UTC)

It was necessary before the MediaWiki code allowed for IF conditionalss. It is still useful in case you have a page title like "Name (actor)". You'd use the name parameter in order to strip the "(actor)" from the IMDb link. ☢ Ҡiff 01:52, 21 October 2006 (UTC)
Thanks. So it's not necessary every time - just when we want to refer to someone by a name different to the article title. -- Beardo 02:16, 21 October 2006 (UTC)

IMDb Icon

I think it'd look quite neat to have a little imdb icon next to the text. Like this:

John Doe at IMDb Image:Imdb.PNG

Does anyone have any objections to this? Lincalinca 14:29, 23 September 2006 (UTC)

Can you point to the exact location? All I found was "it's only used to generate link". I don't see the harm, it's a small decoration that makes IMDb links easier to identify in a glance. ehudshapira 00:04, 26 October 2006 (UTC)

Please add this

Since the page is protected. Best wishes, Travb (talk) 07:33, 8 January 2007 (UTC)

Surely all of these can be combined into a single Template:imdb using parameters for name, title, episode, and company? ∞ΣɛÞ² (τ|c) 03:23, 12 June 2007 (UTC)

Incorrect upside-down filmographies generated by this template

the filmographies generated are a violation of WP:LOW. can it be changed, or should this template stop being used?

This template doesn't have anything to do with the filmography listings, it's just used to add a link to the imdb at the external links section of a page. If people use imdb to cut and paste someone's filmography, or otherwise copy the formatting from there, that's a different problem and you could mention it at Wikipedia talk:WikiProject Films. Thanks. - Bobet 17:22, 10 February 2007 (UTC)
.. oops got confused. this doesnt generate any filmographies, read some wikicode wrong, sorry. —The preceding unsigned comment was added by 82.13.40.254 (talk) 17:26, 10 February 2007 (UTC).

Please

Please add ca:Template:Imdb name, thank's.
 Done --Philosopher Let us reason together. 19:31, 7 May 2008 (UTC)

Problem and suggestion

Problem

The current IMDb templates (name and title) can't be used for referencing useful direct links inside IMDb, such as:

  • Document "Filmography by TV series for Richard Dixon"
@ http://www.imdb.com/name/nm0228960/filmoseries#tt0098833
  • Document "Episodes cast for 'Jeeves and Wooster' (1990)"
@ http://www.imdb.com/title/tt0098833/epcast

Because even using "id=0098833/epcast", the template will add a trailing slash that breaks the URL for IMDb. (Note: this sort of pages and template usages is also for sources in a References section or a <REF> note, not just the External links. The point would be to be able to make such links with the templates, thus centralizing and uniformizing most links to IMDb.)

Suggestion

To replace the current template segment:

[http://www.imdb.com/name/nm{{{1|{{{id}}}}}}/

With an optional param "nm" set outside the two others:

[http://www.imdb.com/name/nm{{{nm|{{{1|{{{id}}}}}}/}}}

This would allow a third, completely open-ended mode of invocation, such as:

* {{imdb name| nm=0228960/filmoseries#tt0098833 }}

A similar modification to {{Imdb title}} would allow to invoke:

* {{imdb title| tt=0098833/epcast }}

An alternative solution could be to remove the trailing slash from the templates, because you can link to an IMDb URL without the trailing slash, and IMDb will automatically redirect you to the slashed URL if necessary -- but that's usually to be avoided, because the automatic redirection can take time, overloads the target server (having all of Wikipedia links to IMDb generate a redirection would be a perf nuisance to them), and it doubles the browser's chances to timeout on the URL.

— Komusou talk @ 16:31, 27 July 2007 (UTC)

Removing the slash is not a good solution. I'd go with the more complicated change of the template. thanks. --Steinninn 06:19, 6 September 2007 (UTC)
Per WP:TEMPTEST I've added the sandbox and testcases subpages. The current {{Imdb name/sandbox}} implements a solution to this problem. Visit {{Imdb name/testcases#Detail pages 2}} to see the results. – Conrad T. Pino 14:55, 15 October 2007 (UTC)

protected tag

{{edit protected}} I can't see any reason why this template shouldn't have {{pp-template|small=yes}} like {{imdb title}}. --Steinninn 19:50, 2 October 2007 (UTC)

Done. --- RockMFR 05:04, 3 October 2007 (UTC)

Edit from sandbox request 15-Oct-2007

The current sandbox {{Imdb name/sandbox}} implements three new behaviors:

  1. Descriptions: Jaye Davidson at IMDb
  2. Retrieved on: Jaye Davidson at IMDb
  3. Detail pages: Jaye Davidson at IMDb

The current sandbox is well tested in {{Imdb name/testcases}} with

{{Imdb name}} test cases above and
{{Imdb name/sandbox}} test cases below.

Thank you – Conrad T. Pino 20:45, 15 October 2007 (UTC)

//

Ah, well: when I reported the problem with deep URLs, I hadn't time to look at the code and propose something concrete, so I'm glad you picked up the slack and started it. But I see at least two problems with the current sandbox codes (I mean both {Imdb name} and {Imdb title}), probably three, so it'll need some discussing and tweaking before installing (that's why I'm removing the {Editprotected} for now). Let's see what I see:

1) The first one is really a minor point, but useful: the top of the template should change from:

<noinclude>{{Template sandbox notice}}</noinclude><!-- Begin {{Imdb name/sandbox}} -->[http://

To:

<noinclude>{{#ifeq:{{SUBPAGENAME}}|sandbox|{{Template sandbox notice}}
}}
</noinclude><!-- Begin {{Imdb name/sandbox}}
-->[http://

(There are indeed four lines, but it creates no whitespace and keeps the code easy to read.) This is so that the code can be fully copy-pasted anywhere, from sandbox to template and back and forth, yet will display the sandbox notice only when in the sandbox. (Currently, either the Editprotected admin would copy the sandbox notice in the live template, or would have to figure out that the top noinclude zone has to be deleted. And anyone trying a new sandbox would have to add it again, etc., it's not very practical.)

2) The second one is about the two switches, which is a lot of duplicated information and would be a problem to keep in synch long term, not to mention the waste of expand size and resource. The two switches can be merged into a single one that performs both the suffix of the URL and the prefix of the link label, with its lines such as this:

 |award|awards  = awards Awards for
 |biography|bio = bio    Biography for

(The extra spaces are inconsequential because it's folded to a single space, it just keeps the code more easy to read.) And the test should force lowercase of the input so as to become case-insensitive with a:

{{#switch: {{lc: {{{4|{{{select|}}}}}} }}

So that it'll work even if someone types "Bio" (or even "biO" or "BIO").

3) Now the more debatable part: I'm not sure a switch is a good implementation here, for various reasons:

  • 3.1) It'll require Editprotected changes for each new need because everything is harcoded in the switch. For instance, the two examples I gave of my problems with the template aren't solved by the current code, because {Imdb title} is missing the /epcast case, and {Imdb name} is missing the /filmoseries case. They can be added, but there are probably tons of other suffixes not handled yet that would need to be added one after another with long {Editprotected} waits.
  • 3.2) Even then, the case of /filmoseries#tt0098833 for a direct anchor inside a long list such as [3] can't be handled by the switch.
  • 3.3) As I understand it, a switch is a very resource-consuming thing because the whole code has to be transcluded and expanded before it is parsed; the switch for the {Imdb title} is huge; and the Imdb templates are transcluded on, what, thousands, dozens of thousands of pages? That could be a real hog, for a switch that's not absolutely necessary.
  • 3.4) For all of the above, I think it would be preferable to investigate code for a simpler, open syntax such as the one I was suggesting:
{{Imdb name| nm=0228960/filmoseries#tt0098833 }}
{{Imdb title| tt=0098833/epcast }}
This would wrap and override the id param and allow a completely free URL suffix, no more big switch that has to handle every possible case, give automatic upgrades because we can type any new suffix as param, a very small template size, and no resource drain. And as for the link label prefix, it would also make the "description=" param (whose name was a bit longish) essentially redundant, since we would set the whole label ourselves when we use an override:
{{Imdb title| tt=0098833/epcast | name=Episodes cast for ''Jeeves and Wooster'' (1990)}}

4) It doesn't change your additions with the "Retrieved". On this front, an extension could be to also add the standard archiveurl= and archivedate= from {{Cite web}}, because when an Imdb page is used as a reference to source a point, it's better to get from the start a stable copy of the revision we have retrieved and used as source, either from Archive.org if already available, or creating one on-the-fly with WebCite. But there's no hurry for such extension. Well, that's how I see it for now. — Komusou talk @ 18:40, 17 October 2007 (UTC)

I'd like to begin with thank you, thank you, thank you! Response by points follows:
1) Concur on all points. The full copy paste in either direction is highly desirable. Please consider what we should do with "<!-- Begin {{Imdb name/sandbox}} -->" and trailing partner? I suggest dropping both comments.
2) Concur on all points. I will reimplement the switches as suggested while we resolve point 3 and it's descendants.
3.1) Concur on all points.
3.2) Comment – An additional #if with new parameter can provide desired function however that doesn't address the 3.3 and 3.4 resource issues below. Let's resolve those first.
3.3) Concur on all points. Given {{Imdb name}} and {{Imdb title}} use, both should remain light weight.
3.3.1) Should we consider {{Imdb name detail}} and {{Imdb title detail}} or similar with shorter names?
3.4) Comment – Adding "nm" and "tt" which partially duplicate "{{{1|{{{id|}}}}}}" content gives pause in:
3.4.1) new users undestanding the application programming interface
3.4.2) remaining light weight and
3.4.3) remaining robust (forgiving) when misused.
3.4.4) I want easy editing. Suggested "name" and "title" parameter use is both labor intensive and error prone.
Suggestion 3.3.1 above is also suggested here. I will take more time later to consider alternatives based on your suggestion and your response will pay a big part as I reconsider.
4) Concur on all points. Let's pick that up when we're done with the above.
Thank you once again – Conrad T. Pino 21:02, 17 October 2007 (UTC)

Omission

Stephen Comey was an original cast member but is not listed on list provided (SteveComey (talk) 16:04, 21 March 2008 (UTC))

Isn't this template better?

Isn't this template better:

???

Kubek15 (Sign!) (Contribs) (UBX) 12:48, 25 March 2008 (UTC)

It's rather hard to tell, let's compare:
[http://www.imdb.com/{{#if:{{{1|{{{id|}}}}}}|name/nm{{{1|{{{id|}}}}}}|Name?{{urlencode:{{PAGENAME}}}}}}/ {{{2|{{{name|{{PAGENAME}}}}}}}}] at the [[Internet Movie Database]]
[[Image:Animlogo2.png|12px]] [http://www.imdb.com/name/nm{{{id}}}/ {{#if:{{{label|}}}|{{{label}}}| {{PAGENAME}} }}] at the [[Internet Movie Database]]

What exactly is it that you think is better about this later template? Personally I don't like the image there. Also, if you put {{imdb name}} withought any parameter into an article, it will automatically generate an estimated link, witch can be used to more easily find the correct link. So I'd say, no change is needed. --Steinninn 14:20, 25 March 2008 (UTC)

Seems to break some hitherto working lks

_ _ Changing the call in Jack Randall (English actor) from

{{imdb name|Id=1470232|name=Jack Randall}}
Jack Randall at IMDb

(which seems to reliably generate http://www.imdb.com/find?q=Jack%20Randall%20(English%20actor)/;s=nm in previewing the article) to

{{imdb name|id=1470232|name=Jack Randall}}
Jack Randall at IMDb

(http://www.imdb.com/name/nm1470232/ ) seems to fix the problem of lk'g to the search (and getting wrong page) in spite of ID being provided, but there may be more than that going on than that. (An instability at IMDb??) I'm tempted to just revert the search feature, which, even if it never ignored the ID, endorses sloppy lks and encourages failure to do the research that is needed in light of frequently ambiguous actor names like this one.
_ _ If indeed the casing is the whole problem, it's a horrible trap for users, especially since it will sometimes work in spite of the casing.
--Jerzyt 18:00, 9 April 2008 (UTC)

Update /doc

A better example needs to be used, because the one presently in the /doc page is now a redlink. — SMcCandlish [talk] [cont] ‹(-¿-)› 20:27, 24 August 2008 (UTC)

Done. Flowerparty 23:16, 27 October 2008 (UTC)

Change to {{cite web}} format

I would like to change this into a proper citation format. It would change from:
IMDb name/Archive 1 at the Internet Movie Database
to:
"IMDb name/Archive 1". Internet Movie Database.--2008Olympianchitchatseemywork 08:37, 29 November 2008 (UTC)

This template is designed for external links, not ==References==. It would be considered an incomplete citation for reference purposes anyway (e.g., no date). WhatamIdoing (talk) 06:36, 1 October 2009 (UTC)

Filming locations

Could we create a template for filming locations? An example can be found here. Something like {{imdb location|tt0499448}}. --Thorwald (talk) 02:35, 23 April 2009 (UTC)

It is interesting that many American female actors have the name Cameron. This name come from Scots Gaelic and means wry or twisted nose! The name Campbell, also from Scots Gaelic, means wry or twisted mouth. Both names are not only common in Scotland as surnames but somewhat ironically as christian or given names for males in their native land. Indeed I had a colleague named Cameron Campbell. —Preceding unsigned comment added by 86.157.166.94 (talk) 23:13, 15 October 2009 (UTC)

double-redirect

{{editprotected}} Template:imdb name redirects to template:IMDB name which redirects to template:IMDb name; the first should redirect to the last. —Eekerz (t) 12:21, 23 September 2010 (UTC)

Already fixed by SoWhy. — Martin (MSGJ · talk) 16:16, 23 September 2010 (UTC)

Awards option

The {{IMDb name award}} functionality could easily be merged into this template. There's a demo of it in the sandbox. Any comments? -- WOSlinker (talk) 11:12, 7 October 2010 (UTC)

Use interwiki?

Can these templates be modified to use the interwiki prefixes?

Other prefixes include imdbtitle:, imdbcompany:, and imdbcharacter:. – Allen for IPv6 13:14, 14 November 2010 (UTC)

The links would loose their little icons to signify an external link if it was changed though. -- WOSlinker (talk) 14:29, 14 November 2010 (UTC)
If you just need the icon that is easy enough.
If you have other concerns please let me know. – Allen for IPv6 05:16, 15 November 2010 (UTC)

Leading zero in id is definitely mandatory

==Detailed instructions==
...
5. Copy '''only''' that number (here, "<code>0805658</code>"), omitting the "<code>nm</code>" but
keep all the leading zeros (though IMDb currently seems to be able to add them as needed)

IMDb currently does not always work around an omitted leading zero.

At Tyrese Gibson#External links I just had to make this change:

Revision as of 23:25, 1 February 2012 ... AHMartin

The flawed IMDb name ID of 879085 did indeed work when linking from wiki.riteme.site to www.imdb.com. However, it failed when linking from en.m.wikipedia.org to m.imdb.com on my mobile phone.

I leave it to others to debate whether this merits a change in the template documentation, a change in the template, or a report the asymmetry to IMDB.

P. S. I don't know whether any other IMDb templates share the same bug on mobile platforms. --AHMartin (talk) 04:57, 2 February 2012 (UTC)

Subsections?

So there is no syntax that allows you to reference the Awards section or the Bio section directly?
That is fairly common in articles. Varlaam (talk) 19:48, 14 November 2012 (UTC)

Yes, there is use the section=awards or section=bio param. It's mentioned in the last paragraph of the usage section of the docs. -- WOSlinker (talk) 22:10, 14 November 2012 (UTC)

Common error

Including the nm prefix as {{IMDB name|nm0808774}} rather than the expected {{IMDB name|0808774}} causes the template to emit an invalid URL. It would be good if we could either trap and warn of such errors (perhaps with a tracking category), or accommodate them, using Lua. The same applies to {{IMDb title}}; so please see discussion at Template talk:IMDb title#Common error. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 19:20, 22 March 2013 (UTC)

Added something in the sandbox to evaulate. No Lua involved. -- WOSlinker (talk) 19:24, 22 March 2013 (UTC)

Looks good, thank you. Let's deploy it! Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 07:50, 23 March 2013 (UTC)

 Done -- WOSlinker (talk) 13:21, 23 March 2013 (UTC)

Title without disambig

Should we add the use of {{Title without disambig}} to this template so that it removes any part of the pagename in brackets automatically? -- WOSlinker (talk) 14:18, 24 March 2013 (UTC)

 Done -- WOSlinker (talk) 18:46, 16 April 2013 (UTC)

Support for Wikidata properties

I've added support for the P345 property from Wikidata to the sandbox template, by analogy of a similar change to {{IMDb title}}. It seems to be working as expected, so unless anyone objects I will be adding the change to this template as well. Gabbe (talk) 12:38, 23 April 2013 (UTC)

Would you mind explaining the effect of those changes? -- Michael Bednarek (talk) 13:29, 23 April 2013 (UTC)
Certainly! Presently, the template links to the page on IMDb given by the "id=" parameter. If that parameter is missing, it links to a page-search on IMDb. For example, if you insert {{IMDb name|0000866}} into the "Saul Bass" article it will link to http://www.imdb.com/name/nm0000866/, but if you just insert {{IMDb name}} it will (at present) link to http://www.imdb.com/Name?Saul+Bass/ instead. My suggestion is to insert a check for the IMDb identifier property for the corresponding item on Wikidata (see WP:WDATA for more info on this). If my proposal was implemented, it would function as follows: If the "id" parameter is set, the template behaves as before (that is, {{IMDb name|0000866}} will link to http://www.imdb.com/name/nm0000866/). If it isn't set, it will look for the the P345 property at the corresponding item on Wikidata (namely, Q536884) and take the parameter from there. In other words, {{IMDb name}} would also link to http://www.imdb.com/name/nm0000866/. If that property has not been set for the corresponding item on Wikidata, it would behave as before (that is, link to http://www.imdb.com/Name?Saul+Bass/). I've made the changes to the {{IMDb name/sandbox}} template, so you can use that to experiment, if you like. Gabbe (talk) 13:56, 23 April 2013 (UTC)
Thank you for this lucid explanation. It never occurred to me, and I've never seen it, that the template can be used without the parameter "id". This proposal seems like an uncontroversial improvement without a downside. -- Michael Bednarek (talk) 05:22, 24 April 2013 (UTC)

Since there were no objections, I've gone ahead and implemented the changes I suggested. Gabbe (talk) 07:40, 24 April 2013 (UTC)

Edit request re the above

{{#if:{{{1|{{{id|}}}}}}||[[Category:IMDb template with no id set]]}}{{#if:{{{1|{{{id|{{#property:P345}}}}}}}}||[[Category:IMDb template with no id set]]}}

The value of this tracking category is diluted by its now containing some articles where editors have opted to use the Wikidata property instead of a parameter. (E.g. Daniella Kertesz, where I did just that.) It might also make sense to rename the category to "IMDb template with no id set (and no Wikidata value)", or something like that.

I'm posting here simply because it's the template I noticed this on... but, if there are no objections, it'd be great if someone could do the same for {{IMDb title}} and any other templates that both use Wikidata and use this tracking category. — PinkAmpers&(Je vous invite à me parler) 20:20, 12 July 2013 (UTC)

Done both templates. Haven't renamed the category yet but could do if really needed. -- WOSlinker (talk) 22:08, 12 July 2013 (UTC)
Hmm... still getting false positives when the first parameter is left blank but the second is specified, e.g. with Donald Glover. We could just have people use 2= instead of ||, but that's non-intuitive. Any ideas for how to fix this? Would checking for Wikidata first work? — PinkAmpers&(Je vous invite à me parler) 23:15, 12 July 2013 (UTC)
I've fixed it, by checking the =1 and wikidata separately. -- WOSlinker (talk) 11:29, 13 July 2013 (UTC)
Thanks again! — PinkAmpers&(Je vous invite à me parler) 12:09, 13 July 2013 (UTC)

Bot to convert

Hi, please see [4]. Rcsprinter (whisper) @ 21:44, 19 September 2013 (UTC)

TFD

The template is up for discussion, so someone should add the inline discussion tag. STATic message me! 16:30, 5 October 2013 (UTC)

Done.
Trappist the monk (talk) 19:11, 5 October 2013 (UTC)

Request for comments on "edit in Wikidata" links, for templates using Wikidata

You are invited to join the discussion at Wikipedia talk:Wikidata#Edit in Wikidata links. Thanks. Evad37 [talk] 01:38, 5 June 2015 (UTC)

Template-protected edit request on 14 October 2015

the page name of the choreographer geeta is wrong it is "KAPUR" not kapoor allow me to edit the name of the page IMEGLEO (talk) 17:45, 14 October 2015 (UTC)

 Not done, the template does not need amending. Your dispute is over the article title. You should discuss this at Talk:Geeta Kapoor and submit a move request if necessary. Nthep (talk) 17:50, 14 October 2015 (UTC)

Template-protected edit request on 28 January 2016

Since the leading zeroes on the id are needed for the link to work properly on mobile, could we just automatically zero-pad the id parameter using a parser function? Then the part of the template that deals with the id would go from

name/{{#ifeq:{{Str left|{{{1|{{{id}}}}}}|2}}|nm||nm}}{{Trim|{{{1|{{{id}}}}}}}}

to something like

name/{{#ifeq:{{Str left|{{{1|{{{id}}}}}}|2}}|nm|{{{1|{{{id}}}}}}|nm{{Trim|{{padleft:{{{1|{{{id}}}}}}|7}}}}}}

(which assumes that if the id starts with "nm" it's because the editor copy-pasted it from the IMDb URL and thus it is already a correctly formatted 7-digit number). Then links will still work for users on mobile, even when editors don't zero-pad the id correctly. —Laoris (talk) 05:57, 28 January 2016 (UTC)

@Laoris: please make your edit in the template sandbox , verify the testcases, then reactivate the edit request. — xaosflux Talk 11:21, 28 January 2016 (UTC)

Bug? breaking because of leading 0 omitted

At WP:OTRS ticket:2016051510011261 a reader writes in saying that links generated by this template are broken for them, and always lead to an HTTP 404. I am unable to replicate this outcome, and for me, the links work. The reader says that the problem is the omission of leading zeros in the URL.

Somehow I am redirected, but some other people report not being redirected.

In the archives, another user had the same complaint.

I am telling the reader that I am noting the issue, but I am not sure how to address it further. Thanks to anyone who has insight and can address the issue. Blue Rasberry (talk) 15:06, 17 May 2016 (UTC)

  • Based on a note in the description of this template, it appears the leading 0 is not auto-added by IMDb for the mobile site. I had to update one page as it failed on my phone, but worked on the computer. Maybe a bot should be created that will double-check all IMDb links and add missing leading zeroes until it is the full 7 digits, or if the template can be updated to do that itself. I'm guessing this affects all variants of this template. Andyross (talk) 15:07, 22 September 2016 (UTC)
I have confirmed the explanation above by Andyross. This issue is a problem at the imdb.com website for mobile users. On a Windows laptop, the IMDb website automatically redirects http://www.imdb.com/name/nm148/ to http://www.imdb.com/name/nm0000148/, which works correctly. But on an Android smart phone, the IMDb website redirects that URL to http://m.imdb.com/name/nm148/ without the leading zeros, which does not work. On the phone, if the URL http://m.imdb.com/name/nm0000148/ is manually entered in the mobile browser, the web page is displayed correctly.
This mobile device problem was raised at IMDb three years ago, and the response was to have Wikipedia fix the issue.
Having a bot edit the numerous pages that use this template to expand the ID to seven digits would be a huge number of edits, with some risk involved. On the other hand, if this template could automatically pad the ID to seven digits, there would be a single edit (to the template) to fix the issue. I have just made a number of page edits to correct this mobile issue, and I imagine other editors have done the same. The template fix would certainly be a time-saver, and would solve the issue immediately. CuriousEric 00:28, 29 December 2016 (UTC)
I've put some changes in the sandbox, but could do with a bit of further testing before deployment. -- WOSlinker (talk) 10:04, 29 December 2016 (UTC)
WOSlinker, thank you for working on the template. I ran the test cases in the sandbox in Windows and on an Android mobile phone. The template changes in the sandbox fixed the mobile issue in the short test "1109". I also tested cases using ID "1" (which is Fred Astaire) to verify it worked with single digits (which it did), but was not sure if those cases should be permanently added. I did add another short test using "nm1109" which did not work on mobile unfortunately. I recommend this case be fixed as well, if not too much trouble. CuriousEric 15:44, 29 December 2016 (UTC)
Wasn't sure if anyone would ever put nm with a shortened number as when the urls are like http://www.imdb.com/name/nm0000148 wouldn't people either take the full nm+number or just the number as the parameter? -- WOSlinker (talk) 18:48, 29 December 2016 (UTC)

I'm not sure either, I haven't seen "nm" with a short number in an article... just thought I'd try it. If you think it's not used (which may be the case), feel free to revert my test case for it. In which case the template change fixes the mobile "short number" issue as-is. If "nm" with a short number is found to be used later, the template could be enhanced if needed. Thanks. CuriousEric 22:02, 29 December 2016 (UTC)

I've made the changes in live now and also added a tracking category for that type of parameter at Category:IMDb template with invalid id set, so it will be possible to see if anythig does it that way. If everytihng works ok, will look at also doing {{IMDb title}} in a few days. -- WOSlinker (talk) 22:46, 29 December 2016 (UTC)
Thank you for adding the category. It showed 11 incorrect uses of {{IMDb name}} which I have fixed. Some uses were unexpected, such as "/" after the ID, which broke the link for non-mobile users. CuriousEric 16:05, 30 December 2016 (UTC)

Could someone please paste the following immediately after the open <includeonly> tag:

{{EditAtWikidata|pid=P345|{{{1|{{{id|}}}}}}}}

to add the blue {{EditAtWikidata}} pencil. I've added the same to the sandbox already. — OwenBlacker (talk) 19:12, 5 March 2017 (UTC)

Done — JJMC89(T·C) 19:30, 5 March 2017 (UTC)

ID doesn't seem to be required as stated in the doc

If the ID is required, then why, under George W. Bush#External links, does the code {{IMDb name}} yield a correct link to George W. Bush on IMDb? Not only why, but how? Largoplazo (talk) 22:35, 6 January 2018 (UTC)

@Largoplazo: Because the value is inherited from the linked wikidata page. But this would indicate that the documentation here needs to be updated. C679 11:36, 17 February 2018 (UTC)
Aha. Can a knowledgeable person please edit the documentation to reflect this? Largoplazo (talk) 13:02, 17 February 2018 (UTC)

Template-protected edit request on 27 March 2018

Given that the Internet has been moving to HTTPS for years now (including Wikipedia), and given that IMDb is available in HTTPS (at least where relevant to these templates), we might as well add that "s" to all relevant links in templates listed under {{IMDb}}. This would improve the privacy and security of any user clicking the transcluded links, as well as cohere with the overall project on Wikipedia of converting HTTP links to HTTPS where appropriate. I assume this change would be uncontroversial, hence my use of the edit request template.

I would have requested this edit on {{IMDb}}, which might technically be the more appropriate place, but the talk page there hasn't had any activity in years and its number of page watchers is much lower. Feel free to move this edit request there if deemed more appropriate. Thanks. ―Nøkkenbuer (talkcontribs) 18:41, 27 March 2018 (UTC)

 Done — JJMC89(T·C) 02:25, 28 March 2018 (UTC)
Thanks, JJMC89! Unless you have any objections, I'll proceed to convert all HTTP links to HTTPS ones in the relevant documentations (after checking for availability, of course). ―Nøkkenbuer (talkcontribs) 04:45, 28 March 2018 (UTC)
WOSlinker has already updated the documentation for these. — JJMC89(T·C) 14:14, 28 March 2018 (UTC)

Handling 8-digit name IDs

We could just change the "7" to an "8" in the two places where it occurs, but I question whether the approach of chopping off IDs considered too long can be considered correct. It silently produces an incorrect result, but should instead have populated Category:IMDb template with invalid id set.

I'm not going to request any changes until I can test the behavior of the mobile interface, where the documentation says leading zeroes are treated differently.

The example of an 8-digit ID came from User talk:Gilcats#Help me! with IMdb Name Id with 8 digits. — jmcgnh(talk) (contribs) 17:29, 1 October 2018 (UTC)

This just happened with some actress I found on the new page feed, Sameera Sherief, her ID goes to a different person. Wgolf (talk) 20:00, 17 March 2019 (UTC)
This is now fixed. -- WOSlinker (talk) 21:29, 17 March 2019 (UTC)
Thanks WOSlinker. @Wgolf: - please can you confirm with the example, above? Lugnuts Fire Walk with Me 14:18, 18 March 2019 (UTC)
Yep it works (now if the person is notable is another question for another time) Wgolf (talk) 20:00, 18 March 2019 (UTC)

As a side note, the code that adds the IMDb template with invalid id set has not been updated and could do with looking at as well. -- WOSlinker (talk) 20:39, 18 March 2019 (UTC)

Wikidata tracking

See discussion Wikipedia talk:Wikidata#Redundant parameters in wikidata tracked templates Bogger (talk) 10:12, 1 September 2019 (UTC)

I use the {{imdb}} template family all the time, either to add a WP:EL or to solve a problem (with due regard to Wikipedia:External links/Perennial websites#IMDb - I've seen split biographies, duplicate biographies, wrong birth and death dates, you-name-it). I agree with the long-established WP:CONSENSUS - IMDb is not WP:RS.

I have just discovered that it is possible to use {{imdbname}} in main text and to make it look exactly like a Wikipedia bluelink. Diff - look at the first two words, which are boldfaced and which bluelink directly to IMDb with no sign that it's both off-wiki and non-RS.

I do not know if this is possible with other templates in the {{IMDb}} family, but I bet a pound to a penny that it is. This needs to be somehow stopped, and any other existing misuse removed. Narky Blert (talk) 17:13, 8 August 2020 (UTC)

Links using [[imdbname]](!), which is not a template, are possible via the meta:Interwiki map. There are more than 350 of them. I agree that IMDb should not be on that list, but the place to discuss this is meta:Talk:Interwiki map. It seems there has been very little discussion about IMDb there so far. -- Michael Bednarek (talk) 03:47, 9 August 2020 (UTC)
PS: I corrected the links to "Interwiki map" in my previous post. -- Michael Bednarek (talk) 04:12, 10 August 2020 (UTC)
@Michael Bednarek: Thank you for your advice. I've posted at meta:Talk:Interwiki map#Proposed removals. Narky Blert (talk) 19:47, 10 August 2020 (UTC)
This strikes me as something that should be addressed here locally, perhaps through an edit filter, rather than by a direct change to the MediaWiki software. Nardog (talk) 02:53, 29 August 2020 (UTC)

More useful IMDb listing

A more useful IMDb listing that shows the episodes of television series is available. Can this be made available through the template?

Compare these:

* [https://s.media-imdb.com/name/nm0026578/?ref_=tt_cl_t1 more useful IMDb]
* {{IMDb name|id=0026578|name=Dave Anderson}}


From the current Template listing try to find which episodes he was in?

Jim Craigie (talk) 10:00, 2 October 2020 (UTC)

Template-protected edit request on 18 September 2022

On the 11th line in the template code, can be found the switches for the |source= parameter.
I would like to add | filmography | film = film Films of so that setting the above parameter to film will produce:

{{IMDb name|0217977|David Delve|section=film}} gives:
Films of David Delve at IMDb

It should be noted that # must be included in the final URL (https://www.imdb.com/name/nm0217977/#filmography) else IMDb will return a 404 error when trying to link directly to § Filmography (I don't know if this is already part of the template). The reason for my request is Special:Diff/1111024304. I recognize that IMDb isn't considered a reliable source, but may be useful in this circumstance. Alternatively, I could unlink David Delve's name, but I would still like my requested edit considered. Thank you. — CJDOS, Sheridan, OR (talk) 23:01, 18 September 2022 (UTC)

 Not done: please make your requested changes to the template's sandbox first; see WP:TESTCASES. – Jonesey95 (talk) 14:37, 19 September 2022 (UTC)
I see little reason to provide this option. The filmography is already near the top of the linked page. Please establish consensus before making this request again. Nardog (talk) 18:06, 19 September 2022 (UTC)