![]() |
Template:IMDb title is permanently
protected from editing because it is a
heavily used or highly visible template. Substantial changes should first be proposed and discussed here on this page. If the proposal is uncontroversial or has been discussed and is supported by
consensus, editors may use {{
edit template-protected}} to notify an administrator or template editor to make the requested edit. Usually, any contributor may edit the template's
documentation to add usage notes or
categories.
Any contributor may edit the template's sandbox. Functionality of the template can be checked using test cases. |
This is the
talk page for discussing improvements to the
IMDb title template. |
|
Archives:
1,
2Auto-archiving period: 180 days
![]() |
![]() | This template does not require a rating on Wikipedia's
content assessment scale. It is of interest to the following WikiProjects: | ||||||||||||||
|
What makes this warning/error stop? Preview warning: Template:IMDb episodes should be used for list of episodes
. The case in question has nothing to do with episodes or TV, and is a stand-alone movie. —
SMcCandlish
☏
¢ 😼
11:05, 20 December 2023 (UTC)
This error is popping up on some list of character pages, for example List of Agents of S.H.I.E.L.D. characters and List of The Lord of the Rings: The Rings of Power characters (only shows when in show preview mode). - adamstom97 ( talk) 17:58, 3 June 2024 (UTC)
{{#property:P345}}
passes over the qid param. The second occurence does not, so is displaying a warning in preview and adding a tracking category due to checking the wrong wikidata page. The two uses of the {{
Wikidata}} template were also checking information from wikidata but were using the current page rather than the page passed as the qid param. I'm thinking it should be checking that other page when deciding whether to add any tracking categories. --
WOSlinker (
talk)
21:47, 3 June 2024 (UTC)
Can the wikilink in the template be changed from IMDb (identifier) to its proper target at IMDb? — Paper Luigi T • C 08:38, 1 January 2024 (UTC)
The template ought to be changed so it doesn't emit
Category:Pages using IMDb title with no id set where a parameter |qid=
has been used. --
Michael Bednarek (
talk)
10:05, 9 May 2024 (UTC)
|id=
or if the wikidata page has P345 (which is what the qid returns), then the page does not appear in the category. This can be an issue if the template is not used on the same page the qid links to, which typically happens when this template is incorrectly used as a reference.
Gonnym (
talk)
11:01, 9 May 2024 (UTC)
A 1967 film version by Mario Lanfranchi features Anna Moffo as Violetta, Franco Bonisolli as Alfredo, Gino Bechi as Giorgio Germont, and the chorus and orchestra of the Teatro dell'Opera di Roma, conducted by Giuseppe Patanèare all information that needs to be actually cited. Gonnym ( talk) 12:45, 9 May 2024 (UTC)
|qid=
is present? E.g.
Citizen Kane at
IMDb ? If so, that works against the intent of that parameter, as I understand it, and should be stated in the documentation. --
Michael Bednarek (
talk)
01:11, 10 May 2024 (UTC)
![]() | This
edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Please copy the changes from the sandbox. Have replaced the switch for sections awards and cast with the same done automatically by checking Wikidata strings, so don't need to manually include a section parameter. Removed the switch from the check for unknown parameters as not needed anymore. Also added section for soundtrack as mentioned in Template talk:IMDb title/Archive 1#Section: soundtrack? but looks like wasn't merged.
Can't be checked in Testcases because this doesn't use the qid parameter, can be checked on use case articles copying the IMDb template already there and adding /sandbox, should be same in preview, such as Hot Fuzz (soundtrack), List of accolades received by WandaVision, or List of Daredevil (TV series) characters
Will update doc if accepted. Thanks, Indagate ( talk) 17:54, 1 July 2024 (UTC)
-->
is actual text (if you don't have the syntax highlighting option enabled in the editor it helps a lot catching these), but more importantly, the code keeps going even if the first Wikidata find is correct. This should either be an if/else tree or if possible a shorter if/else tree with a switch. If you can fix these issues great, if not, let me know and I'll take a look at it. --
Gonnym (
talk)
18:42, 1 July 2024 (UTC)
|qid_testcases=
so testcases can be created. I've created 3 testcases but you've added 7 scenarios so can you please add the other 4?
Gonnym (
talk)
08:51, 2 July 2024 (UTC)
![]() |
Template:IMDb title is permanently
protected from editing because it is a
heavily used or highly visible template. Substantial changes should first be proposed and discussed here on this page. If the proposal is uncontroversial or has been discussed and is supported by
consensus, editors may use {{
edit template-protected}} to notify an administrator or template editor to make the requested edit. Usually, any contributor may edit the template's
documentation to add usage notes or
categories.
Any contributor may edit the template's sandbox. Functionality of the template can be checked using test cases. |
This is the
talk page for discussing improvements to the
IMDb title template. |
|
Archives:
1,
2Auto-archiving period: 180 days
![]() |
![]() | This template does not require a rating on Wikipedia's
content assessment scale. It is of interest to the following WikiProjects: | ||||||||||||||
|
What makes this warning/error stop? Preview warning: Template:IMDb episodes should be used for list of episodes
. The case in question has nothing to do with episodes or TV, and is a stand-alone movie. —
SMcCandlish
☏
¢ 😼
11:05, 20 December 2023 (UTC)
This error is popping up on some list of character pages, for example List of Agents of S.H.I.E.L.D. characters and List of The Lord of the Rings: The Rings of Power characters (only shows when in show preview mode). - adamstom97 ( talk) 17:58, 3 June 2024 (UTC)
{{#property:P345}}
passes over the qid param. The second occurence does not, so is displaying a warning in preview and adding a tracking category due to checking the wrong wikidata page. The two uses of the {{
Wikidata}} template were also checking information from wikidata but were using the current page rather than the page passed as the qid param. I'm thinking it should be checking that other page when deciding whether to add any tracking categories. --
WOSlinker (
talk)
21:47, 3 June 2024 (UTC)
Can the wikilink in the template be changed from IMDb (identifier) to its proper target at IMDb? — Paper Luigi T • C 08:38, 1 January 2024 (UTC)
The template ought to be changed so it doesn't emit
Category:Pages using IMDb title with no id set where a parameter |qid=
has been used. --
Michael Bednarek (
talk)
10:05, 9 May 2024 (UTC)
|id=
or if the wikidata page has P345 (which is what the qid returns), then the page does not appear in the category. This can be an issue if the template is not used on the same page the qid links to, which typically happens when this template is incorrectly used as a reference.
Gonnym (
talk)
11:01, 9 May 2024 (UTC)
A 1967 film version by Mario Lanfranchi features Anna Moffo as Violetta, Franco Bonisolli as Alfredo, Gino Bechi as Giorgio Germont, and the chorus and orchestra of the Teatro dell'Opera di Roma, conducted by Giuseppe Patanèare all information that needs to be actually cited. Gonnym ( talk) 12:45, 9 May 2024 (UTC)
|qid=
is present? E.g.
Citizen Kane at
IMDb ? If so, that works against the intent of that parameter, as I understand it, and should be stated in the documentation. --
Michael Bednarek (
talk)
01:11, 10 May 2024 (UTC)
![]() | This
edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Please copy the changes from the sandbox. Have replaced the switch for sections awards and cast with the same done automatically by checking Wikidata strings, so don't need to manually include a section parameter. Removed the switch from the check for unknown parameters as not needed anymore. Also added section for soundtrack as mentioned in Template talk:IMDb title/Archive 1#Section: soundtrack? but looks like wasn't merged.
Can't be checked in Testcases because this doesn't use the qid parameter, can be checked on use case articles copying the IMDb template already there and adding /sandbox, should be same in preview, such as Hot Fuzz (soundtrack), List of accolades received by WandaVision, or List of Daredevil (TV series) characters
Will update doc if accepted. Thanks, Indagate ( talk) 17:54, 1 July 2024 (UTC)
-->
is actual text (if you don't have the syntax highlighting option enabled in the editor it helps a lot catching these), but more importantly, the code keeps going even if the first Wikidata find is correct. This should either be an if/else tree or if possible a shorter if/else tree with a switch. If you can fix these issues great, if not, let me know and I'll take a look at it. --
Gonnym (
talk)
18:42, 1 July 2024 (UTC)
|qid_testcases=
so testcases can be created. I've created 3 testcases but you've added 7 scenarios so can you please add the other 4?
Gonnym (
talk)
08:51, 2 July 2024 (UTC)