Edge Rewrite
Jump to content

Template talk:IMDb name

Page contents not supported in other languages.
Add topic
From Wikipedia, the free encyclopedia
For the old discussion about the development of this template, see this page

[edit]

If you have a browser that shows the external link icon () then you can set any IMDb links to show its own icon ()

Check out m:Help:User style for more info on CSS selectors.

Edit your "User:{your login}/monobook.css" (replace {your login} with your username) and add:

#bodyContent a[href *="imdb.com/"],
#bodyContent a[href *="imdb.co.uk/"] {
	background: url(http://upload.wikimedia.org/wikipedia/en/5/53/IMDb_external.png) center right no-repeat;
	padding-right: 13px;
}

Once you save the page, you may need to hold Shift and click Reload.

Please see help on m:Help:User style

Do you see it here on this plain link?
or on this interwiki link?

 Preceding unsigned comment added by Fitch (talkcontribs) 01:25, 12 January 2006

Template-protected edit request on 26 March 2026

[edit]

Hello everyone,

I am making this edit request, in order to suggest, the remake of this template's logic to Lua, in order to take advantage of the flexibility and high performance Scrubinto modules offer, compared to the legacy Parser functions. I believe this would be of great benefit, especially for the case of the IMDb name template, due to the widespread usage of the template.

Based of that, i have coded a full implementation in Lua, which is meant to replace this template's logic, which is supposed to be used as an in-place replacement for this template's logic.

See: Module:Sandbox/Mant08/IMDb name

This code (a fact also mentioned in the docs of the Sanbox Module i provided above), has already been tested, but with some slight localisation modifications, in the Greek Wikipedia, with succesfull results and is currently being used actively for that wiki's IMDb name template's bacbone logic, in its mainspace. This was done on purpose in order to test the code for an extended period of time in a live enviroment, in a reduced risk enviroment. Based of that, i believe this gaves an additional safety, for its usage, if used.

Of course, i am open for any suggestions for modifications, and as was my original goal, copy this sandbox under Module:IMDb name/Sandbox, if this lua conversion request reaches consensus, to.enable for other users to directly contribute, if wanted, before usage.

Note 1: The Lua code is already ready for mainspace usage.

Note 2: As slightly hinted before, you can also read more information, at the Sandbox Module's docs.

P.S.: Thank you everyone at the start when i was creating this request, that provided me with the help at the Village Pump, in my questions regarding which method to use to invoke the IMDb id property from an article, and any other relevant questions i had.

I hope this request get considered and aknowledged!

Thank you for reading! Mant08 (talk) 01:10, 26 March 2026 (UTC)Reply

 Not done for now: please establish a consensus for this alteration before posting an edit request. Zackmann (Talk to me/What I been doing) 04:24, 26 March 2026 (UTC)Reply

Consensus Needed: Converting "Template:IMDb name"'s logic to Lua.

[edit]

Final consensus result: None as of now.


Message:


I am suggesting the replacement of the IMDb Name's Template Logic With A Lua Implementation, in order to modernise the template and provide faster speeds.


Suggested Implementation:

Module:Sandbox/Mant08/IMDb name


Any recommendations/opinions in the case the suggested implementation is chosen to be used, for improvments, are welcomed.


More information can be found at the suugested module's page and in the previous Protected Template Edit Request Titled: "Template-protected edit request on 26 March 2026". Mant08 (talk) 15:45, 7 July 2026 (UTC)Reply

I think that I oppose this change. If it ain't broke, don't fix it. You claim that a lua implementation will provide faster speeds. Show us evidence to support that claim. Given that this template is typically used only once in an article, show us evidence of a need for 'faster speed'.
Trappist the monk (talk) 16:10, 7 July 2026 (UTC)Reply
I agree with Trappist. This template almost always is used only once. It should never be used as a reference. I'm actually perfectly fine if misuses of this template as a reference cause the page to load up slow. That will alert editors that they should remove the misuses. Gonnym (talk) 19:25, 7 July 2026 (UTC)Reply
@Trappist the monk I didn't suggest the change due to noticing specifc slowdowns, i just thought a more modern implementation (Anyone correct me if i am wrong, but from what i read, wikipedia now promotes Lua for templates), could provide the advantages of modern technologies to the template, for example: better flexibillity, cleaner implementation by using programmatic schemas, pottentially better performance?, so i thought, why not? Mant08 (talk) 18:24, 9 July 2026 (UTC)Reply