Template talk:Character appearances
At some point we need to add videos to this template. Currently the video-only characters are showing an error (ex. Dylan Taylor). Erwin Springer [talk] 10:46, 6 July 2014 (MDT)
Problem with template
Currently, several mentions of {{PAGENAME}} do not use the form {{{name|{{PAGENAME}}}}}, which means the parameter does not work. --KnightMiner (t|c) 19:58, 31 July 2014 (MDT)
Bug with (') in names
- I have fixed the issue User:Skylerbuck brought up here here, however the page has been protected so I can not edit it. Our bug is described in the yellow info box in the #titleparts section Help:Extension:ParserFunctions##titleparts. To summarize it,
{{PAGENAME}}
and others are silently html encoding the output (that is why only the special characters were not working). The solution is to use{{#titleparts}}
. So the current{{PAGESINCAT:Episodes with {{{name|{{PAGENAME}}}}}}}
would become{{PAGESINCAT: Episodes with {{{name|{{#titleparts: {{PAGENAME}} }} }}} }}
. Same for the videos, actors and mentions. Aiow 07:02, 26 June 2020 (MDT)
Videos
I am looking for help!
Video Characters are not appearing correctly see Holly Ferguson. I don't see where the change is that is causing that, again if you are making a change that affects 3,300 Character Pages, it needs to be tested better in sandbox before deployment to all pages, Admins lets talk about better change control of templates. OdysseyFan (talk) 19:02, 2 August 2020 (MDT)
so In the code {{#ifexpr:{{#var:videos}} > 0| {{*}}[[javascript:changeTab(20)|<span title="Videos">Videos ({{#var:videos}})</span>]]|}}
}}
when the Character ONLY appears in videos, the SPACE DOT is not needed can we add a if {{#ifexpr:{{#var:episdes}} = 0|[[javascript:changeTab(20)|<span title="Videos"><b>Videos ({{#var:videos}})</b></span>]]|}}
}}
or something like that? OdysseyFan (talk) 10:55, 4 August 2020 (MDT)
- I was browsing the looking for help category and came across this again. I understand that when you come across an error, and then look and find the template was recently edited it would be easy to assume that the edit broke it. However I thoroughly check and test my edits. I understand the power and danger of templates, and have spent quite a lot of time reverse engineering the template systems I have worked on. Aside from that, I did test the edit prior to deployment on this template. I knew it worked. I would not have submitted an edit that I was not sure worked.
- In the future, for cases where a known user has made an edit, instead of reverting the edit could you message them first?
- Now about the (unrelated) bug you found, I can fix that tomorrow. Aiow 21:49, 15 September 2020 (MDT)
- I think for templates as long as you document the change, we will be ok, and I'll be less likely to revert to. so if you can post in the talk page the goal of the change, the the test page you used used to confirm the change worked. we can standardize this process if needed and make it a "rule" if needed, but usually only an issue when edits after the change occurred and the bug is noticed after 2-3 edits. I understand everyone has different "priorities" or projects, even me, but as an admin I'm just looking at stability and usability. and of course as people find solutions (like replacing DPL with LOOP) that knowledge is shared so it might be used for other pages. OdysseyFan (talk) 07:02, 16 September 2020 (MDT)
- I agree there should always be some documentation about a change (often the edit summary would be good enough, but it is rarely used.) I'm always hesitant to make this kind of thing required though (ideally it would be a tremendous help, but in my experience the people making incorrect changes rarely follow the set procedure). As a former moderator I definitely understand where you are coming from. This wiki does need a system for template editing. I am just trying to balance the agile development of templates we have now, with much stricter edit quality control. I'm 100% on board with required logging and documenting the changes to a template. Whether that be in a section on a template's talk page, or another sub page, something like Template:Character_appearances/changelog. Testing is another matter entirely. For the vast majority of my edits, I have rebuilt a template or the relevant part of a template in the sandbox and just tested changes there using the "show preview" button, thus I would of had no page I could link to.
- Moving forward further discussion about a formal system for editing templates should probably be in the town hall.
- PS I was checking and the space dot bug has been in the template for over 6 years and 36 edits. :) Aiow 08:45, 16 September 2020 (MDT)
Revert
Please remove this message when the discussion is closed. |
Why were these edits reverted? Scientific Guy (talk / AIOC Episode Timeline) 19:27, 2 August 2020 (MDT)
Comics
Can comics be added to this?
I am looking into this, to simplify the code and the Category additions OdysseyFan (talk) 22:14, 23 May 2024 (MDT)