Revision as of 14:57, 8 August 2020 editAlex 21 (talk | contribs)Extended confirmed users, Page movers, File movers, Pending changes reviewers, Template editors140,877 edits →Implementing Template:Sronly: Fix← Previous edit | Revision as of 19:41, 8 August 2020 edit undoFavre1fan93 (talk | contribs)Autopatrolled, Extended confirmed users, Page movers, File movers, Pending changes reviewers, Rollbackers, Template editors104,277 edits →Implementing Template:Sronly: +Next edit → | ||
Line 38: | Line 38: | ||
:{{u|Alex 21}}, As I wrote, there was no discussion about this here (or at ]). Additionally, there is no language at ] saying that non-displaying captions should be default (and, in fact, the example cases are the opposite). ―]<span style="color:red">❤]☮]☺]☯</span> 14:13, 8 August 2020 (UTC) | :{{u|Alex 21}}, As I wrote, there was no discussion about this here (or at ]). Additionally, there is no language at ] saying that non-displaying captions should be default (and, in fact, the example cases are the opposite). ―]<span style="color:red">❤]☮]☺]☯</span> 14:13, 8 August 2020 (UTC) | ||
::Discussions are not necessary for every edit. State your opposition to the edit. Read the template's documentation; the template is completely accessible, and is supported by consensus through the discussion that resulted in the template's creation. -- <span style="text-shadow:0 0 1px #8dd">''/]/]''</span> 14:18, 8 August 2020 (UTC) | ::Discussions are not necessary for every edit. State your opposition to the edit. Read the template's documentation; the template is completely accessible, and is supported by consensus through the discussion that resulted in the template's creation. -- <span style="text-shadow:0 0 1px #8dd">''/]/]''</span> 14:18, 8 August 2020 (UTC) | ||
:::I have to agree with Alex. The implementation of the Sronly template allows this template to be fully compliant with ] regarding captions and screen readers, but will hid the captions for non-screen reading devices when 99% of the time the caption's text is redundant and would not be necessary if it were not to comply with accessibility issues. For example, having an article A Great Show (season 1) and the episode table, coming right after an "Episodes" header, with the caption "A Great Show, season 1 episodes" is highly redundant and does not help a reader beyond it's use for a screen reader (which is great). So with this implementation, the screen reader can have the information it needs to help those readers, while not showing for others. - ] (]) 19:41, 8 August 2020 (UTC) |
Revision as of 19:41, 8 August 2020
This is the talk page for discussing improvements to the Episode table template. |
|
Archives: 1, 2, 3Auto-archiving period: 30 days |
Television Template‑class | |||||||
|
Anchor parameter sometimes causes Lua error in Module:Episode_table at line 166
Adding parameter |anchor=s1
to Episode table in 99-1#Episodes, An Unsuitable Job for a Woman (TV series)#Episodes and Murder in Suburbia#Episode list causes
Lua error in Module:Episode_table at line 166: bad argument #1 to 'gsub' (string expected, got nil).
but worked in Always and Everyone#Episodes.
These are the only UK TV series articles that I’ve found so far that use Episode table. The majority of UK TV series articles use Episode list without Episode table. Around half of these have repeated episode numbers and no production code. Is it possible to set the anchor prefix in these cases? If not, could Episode list create an anchor using the episode title, or have a parameter to specify a text anchor, please? Jim Craigie (talk) 10:44, 19 June 2020 (UTC)
- Using parameters incorrectly can cause breakage of the code, and the module should not be coded to handle these. Looking at An Unsuitable Job for a Woman (TV series)#Episodes I see two problems. The first is that it is using {{Anchor}} inside the table. That is not supported in anyway. The second is that the {{Episode table}} is not using
|overall=
. When you have two series (=seasons) you should use the|overall=
parameter and it's numbering as that is how the template (and the TV MoS) are designed to work. Once you fix these issues it should work correctly without needing you to add an anchor. --Gonnym (talk) 15:06, 19 June 2020 (UTC)- @Jim Craigie and Gonnym: I've implemented the changes Gonnym said. Jim, you can now link to each episode as follows: An Unsuitable Job for a Woman (TV series)#ep1, where the last number is the "overall" number, as that is its unique anchor id. - Favre1fan93 (talk) 16:11, 19 June 2020 (UTC)
Link Production Code with its page definition
Something like:
--Stdedos (talk) 17:05, 14 July 2020 (UTC)
- We don't link any other info in the headers, and I don't see the need for this to be linked. - Favre1fan93 (talk) 17:32, 14 July 2020 (UTC)
Implementing Template:Sronly
Koavf, state your opposition to the edit. -- /Alex/21 14:05, 8 August 2020 (UTC)
- Alex 21, As I wrote, there was no discussion about this here (or at WT:TV). Additionally, there is no language at MOS:TABLECAPTION saying that non-displaying captions should be default (and, in fact, the example cases are the opposite). ―Justin (koavf)❤T☮C☺M☯ 14:13, 8 August 2020 (UTC)
- Discussions are not necessary for every edit. State your opposition to the edit. Read the template's documentation; the template is completely accessible, and is supported by consensus through the discussion that resulted in the template's creation. -- /Alex/21 14:18, 8 August 2020 (UTC)
- I have to agree with Alex. The implementation of the Sronly template allows this template to be fully compliant with MOS:ACCESS regarding captions and screen readers, but will hid the captions for non-screen reading devices when 99% of the time the caption's text is redundant and would not be necessary if it were not to comply with accessibility issues. For example, having an article A Great Show (season 1) and the episode table, coming right after an "Episodes" header, with the caption "A Great Show, season 1 episodes" is highly redundant and does not help a reader beyond it's use for a screen reader (which is great). So with this implementation, the screen reader can have the information it needs to help those readers, while not showing for others. - Favre1fan93 (talk) 19:41, 8 August 2020 (UTC)
- Discussions are not necessary for every edit. State your opposition to the edit. Read the template's documentation; the template is completely accessible, and is supported by consensus through the discussion that resulted in the template's creation. -- /Alex/21 14:18, 8 August 2020 (UTC)