Template talk:Category series navigation

From WikiProjectMed
Jump to navigation Jump to search

Question/request regarding non-pages display

Two related questions or requests if this needs to be implemented.

  1. Is there an option to disable the greyed out non-links (without knowing the max amount)?
  2. Is it possible to remove the empty bullets? - see Category:Agent Carter season 1 episodes.

Gonnym (talk) 19:30, 2 April 2024 (UTC)[reply]

@Gonnym:
  1. No. Do you mean like @ The Sopranos season 6 episodes?
  2. No(t yet).
These both seem like desirable features for show-seasons. Should they be applied by default, as opposed to switched on?   ~ Tom.Reding (talkdgaf)  10:15, 11 July 2024 (UTC)[reply]
Yes to 1. I'm surprised I didn't add an example, thanks for finding one. Yeah I think having them set by default will be better. Gonnym (talk) 12:14, 11 July 2024 (UTC)[reply]

Number of seasons displayed

@Tom.Reding: the template currently displays 5 years/decades forward & back, but only 3 seasons. Please would you extend the number of seasons also to 5? Then this template can be used in e.g. {{NHL seasons CatNav}} without loss. – Fayenatic London 08:33, 11 July 2024 (UTC)[reply]

@Fayenatic london: if I can restrict it to YYYY–YY cases where the seasons increment by 1, then ok.
The current maximum-width case is:
Proposed is:
YYYY–YYYY x5 produces:
to abide by MOS:DATERANGE, which is 56% wider than the current widest nav, which I think is too wide.
Also, technically, {{NHL seasons CatNav}} violates MOS:DATERANGE at the year 2000 by displaying "1999–00" instead of "1999–2000". Admittedly, "1999–00" looks much better since it keeps all nav elements the same width, so maybe WP:IAR just for 2000?   ~ Tom.Reding (talkdgaf)  09:52, 11 July 2024 (UTC)[reply]
I take your point about YYYY–YYYY x5 being too wide.
Moving between pages in a mixed series (years and seasons), it looks weird when the table width jumps between x5 and x3 links. How about x4 for seasons? Or perhaps x4 for YYYY–YY and x3 for YYYY–YYYY?
As for 1999–2000, IMHO the guideline should be altered to only rule out 1999–00 in article text, as it's perfectly clear when presented as part of a list of links. – Fayenatic London 13:57, 11 July 2024 (UTC)[reply]

Year to season anomaly

The template picks up most switches between year and season, but at Category:1998 in IndyCar it still omits the anomalous preceding Category:1996–97 in IndyCar.

We could easily make a workaround by adding a redirect from 1997 to 1996–97, but Tom may prefer to cover this instance in the code. – Fayenatic London 09:13, 11 July 2024 (UTC)[reply]

This is indeed anomalous. When a year is found (1996), it stops looking, and moves on to the next year. I'd rather not codify a change in that behavior, unless there are a few more cases like this out there. In the meantime, I think a redirect is the simplest & best solution.   ~ Tom.Reding (talkdgaf)  09:59, 11 July 2024 (UTC)[reply]
@Fayenatic london: ...which makes me wonder about how to design a search for such missing cats...how on Earth did you find 1996–97 in IndyCar?   ~ Tom.Reding (talkdgaf)  12:46, 11 July 2024 (UTC)[reply]
OK, happy to use a workaround if you think this case is very uncommon.
As for finding this one: I happened to look at Template talk:Year parameter usage check because of some current CFDs, and followed up some old anomalies noted there. – Fayenatic London 13:01, 11 July 2024 (UTC)[reply]