Unknown parameters check

edit

Please add a module to check unknown parameters to this template. I made a list of parameters + regular expressions for all cases, which should cover ~98% of cases. I have already checked this list in Russian wikipedia and fixed about a dozen errors. There may be some unusual cases that will also need to be added to the exceptions or otherwise corrected in the articles. (Perhaps the list of expressions itself could be simplified somewhere).

{{#invoke:check for unknown parameters|check
| unknown = {{main other|[[Category:Pages using series overview with unknown parameters|_VALUE_{{PAGENAME}}]]}}
| ignoreblank = 
| preview = Page using [[Template:Series overview]] with unknown parameter "_VALUE_"
| showblankpositional = 1
| allreleased | caption | country | dontclose | id | multiseries | network | network_transclude | released | seasonT | series | seriesT | width
| regexp1 = aux[%u]
| regexp2 = aux[%u][%d]+[%u]?
| regexp3 = color[%d]+S?[%u]?
| regexp4 = end[%d]+S?[%u]?
| regexp5 = episodes[%d]+S?[%u]?
| regexp6 = info[%u]
| regexp7 = info[%u][%d]+S?
| regexp8 = info[%u]_transclude
| regexp9 = linkR[%d]+S?
| regexp10 = linkT[%d]+S?[%u]?
| regexp11 = link[%d]+S?[%u]?
| regexp12 = network[%d]+[%u]?
| regexp13 = postaux[%u][%d]+[%u]?
| regexp14 = postaux[%u]
| regexp15 = start[%d]+S?[%u]?
| regexp16 = aux[%u][%d]+[%u]?span
| regexp17 = info[%u][%d]+span
| regexp18 = info[%u]span[%d]+S
| regexp19 = network[%d]+[%u]?span
| regexp20 = postaux[%u][%d]+[%u]?span
}}

Solidest (talk) 23:13, 4 March 2024 (UTC)Reply

Added. Gonnym (talk) 06:07, 5 March 2024 (UTC)Reply
Thanks! I'll clean up some of them and add to the list later on. Solidest (talk) 11:24, 5 March 2024 (UTC)Reply
|part= (with number and special ability) needs to be added to this. - Favre1fan93 (talk) 21:17, 5 March 2024 (UTC)Reply
Also some stuff with |network= with numbers, "S" and letters. See List of The Office (British TV series) episodes as an example. - Favre1fan93 (talk) 21:47, 5 March 2024 (UTC)Reply
Thanks, I've been collecting all the cases too. So here's the final update, 7 & 12 to replace, and 21 to add:
| regexp7 = info[%u][%d]+S?[%u]?
| regexp12 = network[%d]+S?[%u]?
| regex21 = part[%d]+S?
The only problem left is with the Talking Tom & Friends article, which I think needs to be fixed in the module code rather than added to the tracking. I will write about it a bit later. Solidest (talk) 00:15, 6 March 2024 (UTC)Reply
Added fixes to template. Gonnym (talk) 08:58, 6 March 2024 (UTC)Reply
@Solidest seems the 5 pages left in the category all have valid usages. Care to take a look at how to refine the regex for them? Gonnym (talk) 07:17, 27 August 2024 (UTC)Reply
@Gonnym, I've cleaned up some of these pages and only "The Marvelous Misadventures of Flapjack" and "Talking Tom & Friends" remain. To fix the first one, we need to add a possible "Specials" letter where it's still missing. To do this, replace [%d]+[%u] part with [%d]+S?[%u] in regexp 2 3 16 19 20. And as for the second case - I'm still sure it's a bug in the module code, which should be fixed there instead of being added to exceptions. Because there is a parameter order logic that is described in the documentation, but the code in this single complex case only works with non-standard order when you change the standard order of part of the season letter and season number. I described this problem here. Solidest (talk) 12:09, 27 August 2024 (UTC)Reply

Template-protected edit request on 24 June 2024

edit

Please do the changes changes made to this module's sandbox to the main module. This is more right from an accessibility perspective. -MPGuy2824 (talk) 07:45, 24 June 2024 (UTC)Reply

  Done. @TheDoctorWho: this should be address now if you need to go back to your FLC about it. - Favre1fan93 (talk) 17:43, 24 June 2024 (UTC)Reply

Tripped across a (trivial) typo

edit

The description of the transclusion display parameters contains the typo "translcuding". Nothing major, exactly, but I thought it deserved pointing out all the same. DybrarH (talk) 01:49, 3 September 2024 (UTC)Reply

Fixed. The documentation page at Template:Series overview/doc is editable to all. -- Alex_21 TALK 07:55, 3 September 2024 (UTC)Reply

Wikipedia talk:WikiProject Television § Released: Airing vs streaming

edit

  You are invited to join the discussion at Wikipedia talk:WikiProject Television § Released: Airing vs streaming. Editors are still needed to weigh in on this. This is affects the {{Series overview}} and {{Episode table}}. — YoungForever(talk) 13:35, 10 October 2024 (UTC)Reply