Template talk:Category series navigation/Archive 1

{{talkarchivenav}}

Problem in navigation

As can be seen on :Category:2008–09 I-League, the template create 2009-010 instead of 2009-10 in the navigation. Can anyone take a look? Coderzombie (talk) 05:20, 14 July 2016 (UTC)

:{{tick}} Thanks for catching that - I spent a lot of effort sorting out the complicated stuff that happens around the year 2000, but didn't check every one of the simpler cases! Le Deluge (talk) 10:51, 14 July 2016 (UTC)

LinkCatIfExists2 option or default?

This template is used over such a wide range of WikiProjects, so asking here.

{{U|Le Deluge}} (and anyone else), what would you think of using {{tl|LinkCatIfExists2}} so that redcats are instead greyed out (example via {{tl|Category in year}} here), either as default, or as a parameter option using {{para|linkcatifexists2|yes}}, {{para|grey|yes}}, {{para|gray|yes}}, {{para|blueonly|yes}}, or the like.   ~ Tom.Reding (talkdgaf)  13:48, 3 October 2018 (UTC)

:{{re|Tom.Reding}}I know it requires some WP:IARing of WP:REDNOT, but I would oppose having it as a default. Personally I use those red links all the time for creating new categories, and my heart rather sinks when I come across something that uses {{tl|Year by category}} which greys them out so I can't just click to create a needed new category. I guess it's a question of balancing the needs of "readers" and those actively editing the categories. In general the year categories are not heavily used - when testing this it was easy to find categories that get <10 views per YEAR, so one could argue that they're more "plumbing" than "front of house" so needn't be held to the same standards of prettiness. I'm open to the conversation, but that would be my view. One could equally say that if there are significant numbers of red links within a decade, then you're probably looking at something that should be categorised by decade rather than by year.Le Deluge (talk) 22:36, 3 October 2018 (UTC)

::{{re|Le Deluge}} generally, I completely agree. However, specifically, there are times when certain categories will never be created, such as taxonomy categories prior to :Category:Birds described in 1758 and :Category:Plants described in 1753, and sometimes intermittent years after if no publications were made. I think I've just answered my own question though, with a parameter being the best choice.   ~ Tom.Reding (talkdgaf)  11:17, 4 October 2018 (UTC)

:::{{re|Tom.Reding}} If categories will never be created because they are before some event (like foundation of a country etc) then they don't want greying out, they shouldn't be shown at all. That implies a parameter to set a start date - I think someone has done something similar with the big 100xyear-in-country navboxes for the country century cats. In fact it would be better to set an end date, as you could then reuse the code to be a bit more intelligent in relation to CURRENTYEAR. At the moment it ends at CURRENTYEAR +1 for decades but not years or seasons, as links to the 2040s are clearly daft, whereas links to 2021 are more common than you might think (I've just done cats relating to a 2022 handball tournament). I'll have a think of the best way to handle those intervening years - I've got some ideas on using LinkCatIfExists to handle some other edge cases, like the way Argentinian football went from seasons to years to seasons again. In the meantime, one can always use {{tl|Year by category}} if it bothers you that much, as that does grey out links. But to be honest, if taxonomy was at such a primitive stage that species weren't being described every year, then a decade category is probably more appropriate. Personally I think that whole hierarchy should be nuked - when you look at a panda, is "It was described in 1869" one of the first 3-4 things that pops into your head? To my mind year of description is not WP:DEFINING, so shouldn't be used as a category. Although I'm not sure I'm going to have much luck persuading taxonomists of all people not to use too many categories! Le Deluge (talk) 13:46, 4 October 2018 (UTC)

::::{{re|Le Deluge}} Module:Category described in year (the main reason for my coming here) actually used to use a variant of {{tl|Year by category}}, but both are kind of clunky, and I like this one you've created much more since it 1) is automated, 2) is simple to use, 3) looks better imo, and 4) displays 11 cats instead of 10, 5 on either side of the target, improving navigational consistency.

::::The variant, {{tl|Category in year}}, is an improvement/simplification of {{tl|Year by category}} as it relates to taxonomy, but still uses the same base, so it can only go so far. One of those simplifications is the use of a {{para|min}} parameter too, but its use is/was intermittent in the taxonomy area, so it could go either way. Personally, I wouldn't choose to enforce/use a {{para|min}} param if it were available, after seeing the alternative (this template). Decade cats are their own can of worms, arguably the worst being that YY00 cats would be duplicated/misplaced in their parent century container cats. I'm actually in the process of ridding the taxonomy area of decade cats after a recent RfC. Also, just because one year doesn't exist doesn't mean adjacent years are sparse - some years adjacent to reds contain ~100 pages.   ~ Tom.Reding (talkdgaf)  14:25, 4 October 2018 (UTC)

:::::{{Ping|BrownHairedGirl}} fyi in case you didn't see this discussion.   ~ Tom.Reding (talkdgaf)  01:50, 13 October 2018 (UTC)

::::::{{yo|Tom.Reding}} No, I hadn't seen it. Thanks for the ping.

::::::Maybe I should have msged you before making LinkCatIfExists2 std usage, but it seemed to me to be a bit of a no-brainer, and that you had prob just been testing. Sorry if that came across as rude.

::::::{{yo|Le Deluge}} I think WP:REDLINK/WP:REDNOT is fairly clear about this sort of thing. We don't create categories unless there is content to populate them, so a cat should be redlinked only if it is to be created now. That its not the case in most of these series, which is why {{tl|LinkCatIfExists2}} is now deployed on ~250,000 pages. You are the first editor who I have ever seen object to it, and I'm surprised by the need you express. It takes only a second or two more to edit the URL and create a new category that way, so editors are barely impeded -- and even if usage is low, these are not maintenance cats. They are created for readers, and their display should not be compromised to save editors one or two keystrokes (literally one or two).

::::::Tom, I have long cursed {{tl|Year by category}} as insanely crude. {{tl|Category in year}} is much better. I have long had in mind to supersede them both (and their many variants) with a single backward-compatible swiss-army-knife year-cat-nav template which does parent cats etc, but also is smart enough not to need year parameters in most cases (and never the cursed m=/c=/d=/y= stuff). Navseasoncats has its uses and is brilliantly flexible, but there are many cases where something which does parent cats is better. Would you be interested in working together to spec and build that swiss-army-knife year-cat-nav? --BrownHairedGirl (talk) • (contribs) 04:54, 13 October 2018 (UTC)

:::::::{{Ping|BrownHairedGirl}} you've certainly given the situation more thought than I! I'm not familiar with the whole constellation of catnav templates, only the ones that tend to show up in my areas of interest, so you'd have to take the lead on that. What I have day dreamed about was converting this template to a Lua module, with each subpage its own function, but then I figured 'if it ain't broke don't fix it'. Any overarching, backwards-compatible, swiss-army-knife would have to be written in Lua though (I mean it could be written in template markup, but it would be vastly more tedious to write, let alone debug months later, or maintained by another editor). I'd help for sure, once there's a relatively complete list of features to sort out.   ~ Tom.Reding (talkdgaf)  13:12, 13 October 2018 (UTC)

::::::::{{Ping|Tom.Reding}} yes, the Swiss Army knife would have to be built in Lua, or else many editors would go mad trying to build and/or maintain it. But I agree, big project. Maybe I'll come back to it when winter sets in, and try to gather a few people together to agree features.

::::::::I do like the idea of Luafication of this template. I think @Le Deluge has expertly stretched parser functions very far here, but that a Lua rewrite would resolve the few probs which LD noted in edge cases. --BrownHairedGirl (talk) • (contribs) 14:04, 13 October 2018 (UTC)

Template-protected edit request on 22 March 2019

{{moved from|Template talk:Navseasoncats/var firsthalf|* Pppery * has returned 00:43, 22 April 2019 (UTC)}}

{{edit template-protected|Template:Navseasoncats/var firsthalf|answered=yes}}

Please remove the line {{pp-template|small=yes}} - protection templates are automatically handled by the documentation page. Thanks, --DannyS712 (talk) 07:14, 22 March 2019 (UTC)

:File:Yes check.svg Done — JJMC89(T·C) 07:24, 22 March 2019 (UTC)

min & max parameters for decade and/or hyphen cats?

I see that {{para|min}} & {{para|max}} currently only work for navyear type cats, but not navdecade & navhyphen cats. Is there any desire to add this functionality to either of these other category types?   ~ Tom.Reding (talkdgaf)  20:52, 14 April 2019 (UTC)

:{{Ping|BrownHairedGirl}} any thoughts on this?   ~ Tom.Reding (talkdgaf)  12:52, 17 April 2019 (UTC)

::Yes, Tom.Reding, I am v keen to have something like that.

::However, I have parked it for now, because I think that what we really need is a major all-Lua rewrite of navseasoncats, which I have already sketched offline in outline. What we really need is a clear definition of what we want max and min to do in these cases, and to have consistent behaviour across all cases.

::@ Fayenatic london has also given a lot of thought to these issues. --BrownHairedGirl (talk) • (contribs) 13:02, 17 April 2019 (UTC)

:::{{Ping|BrownHairedGirl}} FYI {{tl|Navseasoncats}} is now all-Lua!   ~ Tom.Reding (talkdgaf)  13:08, 17 April 2019 (UTC)

:::Also I'm curious to see your outline when complete.   ~ Tom.Reding (talkdgaf)  14:34, 17 April 2019 (UTC)

:::{{Ping|BrownHairedGirl}} {{para|min}} & {{para|max}} parameters now work for all decade cats AD/BC (but not BCE yet - are there any BCE decades?). Under the principle of least astonishment, they behave similarly as on year & ordinal categories, while navdecade behavior was otherwise left unchanged. Behavior can be changed in the future with the modification of a few constants. This was a relatively simple (other than two 0s decades situation) transfer of the min/max code from navyear/navordinal, but doing this for navseason I think would be even trickier, so that won't be done on a whim. There's also the question of whether to adopt decade's shifting behavior for seasons, or if they're to remain centered like years & ordinals.

:::Somewhat related: is there a use-case for making navseasons work below AD 100, and possiblyyes: :Category:Taxonbars with 30–34 taxon IDs for BC/E? Any examples would be helpful, though I hope none exist b/c I haven't been looking forward to doing that...   ~ Tom.Reding (talkdgaf)  19:36, 4 May 2019 (UTC)

Millennia

On a millennium category such as :Category:3rd millennium in Egypt, there is no point showing future millennia, and it would be better to reach back to 4th millennium BC which exists in that case. I therefore suggest that all millennia categories display the range from 4th BC to 3rd after. – Fayenatic London 10:48, 4 May 2019 (UTC)

:{{Ping|Fayenatic london}} I agree, but only for "specific" millennium cats like X millennium in Y, X millennium people, etc., since "bare"/"general" millennia currently go up to the 10th millennium. And {{para|min}}/{{para|max}} would be made to override these defaults, of course.   ~ Tom.Reding (talkdgaf)  12:26, 4 May 2019 (UTC)

:The only exception I see to the "specific" cat rule would be Category:10th millennium in fiction :Category:Fiction set in the 10th millennium. If many (or any?) more exceptions arise, that would be an argument to maintain the standard functionality.   ~ Tom.Reding (talkdgaf)  13:02, 4 May 2019 (UTC)

::Thanks. I see that (dis)establishments, architecture & "buildings and structures" go further back than 4th BC, so I guess there is no call to standardise the min. But I would favour defaulting the max to 3rd. – Fayenatic London 13:43, 4 May 2019 (UTC)

:::{{Done|{{U|Fayenatic london|Done}}}}   ~ Tom.Reding (talkdgaf)  00:38, 7 May 2019 (UTC)

Roman numerals & ordinal words

:Split off from the above discussion/request

I first need to be able to go backwards and forwards from words/numbers to numbers/words. This is currently almost completely doable:

  • 2019 → MMXIX via {{tlx|Roman|2019}}
  • MMXIX → 2019 via {{#invoke:ConvertNumeric|_roman_to_numeral|MMXIX}}
  • 1 → first via {{tlx|Ordinal to word|1}}
  • first → 1 via {{red|???}} {{#invoke:ConvertNumeric|_english_to_ordinal|First}} (produced as a result of this discussion)

I could not easily find a word-to-ordinal utility (it's possible I glossed over it), and Template:Word to * & Module:Word to * don't exist (yet).

Questions to {{U|Gonnym}}, {{U|Fayenatic london}}, and everyone else:

  1. Do you know if a function like this exist somewhere?
  2. Could you link to any examples of Roman numeral & ordinal word categories?

~ Tom.Reding (talkdgaf)  16:58, 8 June 2019 (UTC)

:# Sorry, I do not know.

:# :Category:Members of the Chamber of Deputies (Kingdom of Italy) by term and :Category:Members of the Verkhovna Rada by term. – Fayenatic London 17:24, 8 June 2019 (UTC)

:I think that Module:ConvertNumeric can be set up to handle that. It already has the mappings of 0-19 and 10-90, etc. So basically, what the code will need to do is:

:# Take a string - so "thirty fourth";

:# Split it to substrings by spaces - so "thirty" and "fourth";

:# Calculate how many substrings you have for next steps;

:# Use a substring to do a reverse search in a table (decided by the substring count) by the "value" to find the "key" - so "thirty" = "30" and "fourth" = "4";

:# Sum the total - so "34".

:This is a very general overview, but I'm sure something like this can work. --Gonnym (talk) 18:01, 8 June 2019 (UTC)

::{{Done|Roman numerals done}}.

::{{On hold|Ordinal words on hold}}. I want to be cautious about these b/c they're much more computationally intensive, and will take many more lines of code to find, than a simple 1 or 2-line regex pattern. To grab the entire 'varseason' (now 'findvar'), one must send each word of the category name to match any possible numerical word, not to mention going the other way and converting to a number. Perhaps I can do this at the end of the search, to be done only after all other category types have been exhausted. But before I do, I'd want to limit the max ordinal to something reasonable, like below 100, meaning that I wouldn't want to implement this if there are large ordinal cats out there. The largest I quickly found was :Category:Thirty-first Dynasty of Egypt‎, and there were no results for categories starting with 'Thirty-third'. If the maximum ordinal word cat is < 40, then that will be ok.   ~ Tom.Reding (talkdgaf)  03:47, 12 June 2019 (UTC)

:::Not arguing for or against this feature, but just to clear some things up. The code shouldn't care if the numbers are up to 40 or 99, as the tables and code is set up to work with certain unique ranges. So numbers 1-19 have their own table and 20-90 have another table. If you go up to 40, then it doesn't matter if it's 90 (or 99) as the table checks the tens. So it can be 30 or 50, it doesn't matter. Now since 99 is 90 + 9, then again, that is the same as the previous code. All this is handled by numeral_to_english_less_100(). If you go above 100 then that is just a little more process that goes into with numeral_to_english_less_100(). --Gonnym (talk) 09:47, 12 June 2019 (UTC)

::::{{Done|Wordinals done}}.

::::I chose a limit of 100 because all lower ordinals are simply 1 word, possibly hyphenated. This is the simplest case, and luckily I couldn't easily find higher examples, so 1–99 is probably sufficient. While decoding strings like 'one hundred and first' is doable, searching for the whole phrase would add a non-trivial amount of complexity to {{tl|Navseasoncats}}. If working examples are found, p.find_var and nav_wordinal functionality can be extended.   ~ Tom.Reding (talkdgaf)  02:15, 14 June 2019 (UTC)

:::::Nice work, Tom! If any cases are found above 100, the strings may have to cope with WP:ENGVAR e.g. {{linktext|hundred-first}} … but there are none at present.

:::::[Documenting an issue unrelated to the template: Roman numerals before 40 sort in the correct order except for the nines, i.e. those ending IX. In the above category, I replaced IX with VIIII in the sort keys in order to sort after VIII.]

:::::– Fayenatic London 09:02, 19 June 2019 (UTC)

Year ranges straddling centuries

The template works for e.g. 1999–2000 but does not currently link to 1999–2004, see :Category:MEPs 2004–09. – Fayenatic London 08:36, 27 May 2019 (UTC)

:{{Ping|Fayenatic london}} {{tl|Navseasoncats}} currently looks for {{c|MEPs 1999–04}}, which doesn't exist, but {{c|MEPs 1999–2004}} does exist. I can make it show the full year after a century transition. Currently, the full ending-year is only used in shallow straddling cases like 1999–2000; this is the first deep century-straddle I've seen. Is this behavior written somewhere or just an ad hoc convention?   ~ Tom.Reding (talkdgaf)  13:24, 27 May 2019 (UTC)

::MOS:DATERANGE is against two-digit ending years if it's not two consecutive years. --Gonnym (talk) 13:51, 27 May 2019 (UTC)

:::It looks like a large CfD is in order for almost all ~203 subcats of :Category:Members of the European Parliament by term...   ~ Tom.Reding (talkdgaf)  18:28, 27 May 2019 (UTC)

::::Well, that would be one way round the problem. However, two-digit ending years are permitted by MOS:DATERANGE and common within :Category:Legislators by term; it's not only MEP categories that use this format.

:::: Nevertheless, perhaps it would be appropriate to manually construct separate nav category templates for each legislature. European Parliaments have been on fixed 5-year terms since 1979, but there were 2 sessions of irregular duration before that. If you were to fix the deep century-straddle, navseasoncats would work for :Category:MEPs 1994–99 onwards, but not for earlier dates. Some other legislatures have even less regularity.

::::It's nice that it works with ordinal indicators like "1st". Can it also be made to work with ordinal numbers like "first", like :Category:Members of the Verkhovna Rada by term?

::::How about Roman numbers, e.g. :Category:Members of the Chamber of Deputies (Kingdom of Italy) by term? – Fayenatic London 21:34, 27 May 2019 (UTC)

:::::{{Ping|Fayenatic london}} two-digit ending years are permitted, but only for consecutive years, and for 2 other exceptions which I don't think the parliamentary cats satisfy (random RS examples [http://www.europarl.europa.eu/meps/en/1133/SYLVIANE+H._AINARDI/history/5 1] & [https://www.parliament.scot/msps/currentmsps/98510.aspx 2] which use full year beginning & ending years). If there are a significant # of RS using two-digit ending years, I'm happy keeping things as-is, but that doesn't seem to be the case.

:::::I set my AWB to fully recurse {{cat|Legislators by term}} about 30 minutes ago and it's still going, but [https://petscan.wmflabs.org/?language=en&project=wikipedia&depth=4&categories=Legislators%20by%20term&ns%5B14%5D=1&search_max_results=500&interface_language=en&active_tab=tab_pageprops this PetScan] worked to a depth of 4 (5 kept crashing) and returned ~700 cats with two-digit ending years.

:::::Both "first" & roman numerals should be doable, as they would likely share code, just working off different tables. They would have to be hard coded (I suppose a text-ordinal/Roman numeral parser could be implemented, but it's probably not worth the effort...), so it would only be able to go up to some reasonable size - "fiftieth"/L should be high enough? The table would be intuitively extendable by hand as/when needed.   ~ Tom.Reding (talkdgaf)  12:20, 29 May 2019 (UTC)

::::::Should see if Module:ConvertNumeric can help as I know it has a roman_to_numeral function. --Gonnym (talk) 13:01, 29 May 2019 (UTC)

::::::{{Done}} with the original request.

::::::I'll also make it allow both "2000–05" & "2000–2005" style cats for non-consecutive years, in that order, and pick the first one found. While the MOS is a guide for article contents, WP:NCDURATION is purposefully vague, but it still points to the MOS, so it could go either way, or perhaps it will always be in limbo. We somewhat-similarly allow non-en-dashed ranges in the nav, but track them for follow-up. Which (or both?) non-consecutive format(s) we choose to track will be determined by the outcome of the CfD (compiling now).   ~ Tom.Reding (talkdgaf)  17:19, 29 May 2019 (UTC)

:::::::I'll point though that subject level guidelines always supplement the MoS but can never contradict it. So that guideline being vague isn't at all vague, but just does not repeat what the MoS already says about it. I think the best option would to do a CfD/RfC on this. --Gonnym (talk) 17:56, 29 May 2019 (UTC)

:::::::: I suggest it should pick the full 4-digit dates if found. There may be a 2-digit date page as a redirect. Ah, Wikipedia talk:Categories for discussion/Log/2019 May 29 shows I'm wrong about that at the moment. – Fayenatic London 00:07, 31 May 2019 (UTC)

::::::::: {{Ping|Fayenatic london}} given the success of the CfD, I decided to do as you suggest & search for the MOS-correct format first, with a fallback to the abbreviated format & subsequent tracking. Also, I added the feature of following {{tl|Category redirect}}s & subsequent tracking.   ~ Tom.Reding (talkdgaf)  15:01, 7 June 2019 (UTC)

::::::::::{{ping|Tom.Reding}} Good work so far, thanks! How can we use min= in :Category:MEPs 1979–1984, please? – Fayenatic London 17:45, 8 June 2019 (UTC)

:::::::::::{{Ping|Fayenatic london}} thank you. I raised that question above in #min & max parameters for decade and/or hyphen cats? with {{U|BrownHairedGirl}}. I'm not aware of any intervening discussions elsewhere, but, barring those, and at the risk of forking said discussion, I don't see a problem with navhyphen {{para|min}} & {{para|max}} having the same simple behavior as the other category types (i.e. no offsetting).   ~ Tom.Reding (talkdgaf)  20:19, 8 June 2019 (UTC)

::::::::::::{{hidden ping|Tom.Reding|BrownHairedGirl}} Sorry, either I don't understand how to use the parameters, or they don't work in this case. – Fayenatic London 20:40, 8 June 2019 (UTC)

:::::::::::::It's the latter - currently (for a limited time), min/max are disabled for categories with a hyphenated range.   ~ Tom.Reding (talkdgaf)  20:47, 8 June 2019 (UTC)

::::::::::::::{{Done|{{U|Fayenatic london|Done}}}} - {{para|min}} & {{para|max}} now available for hyphenated cats.   ~ Tom.Reding (talkdgaf)  15:30, 10 June 2019 (UTC)

:::::::::::::::Thank you, Tom. for the record, the above example simply takes |min=1979. – Fayenatic London 08:10, 11 June 2019 (UTC)

=Follow-up CfD?=

{{cmn|colwidth=15em|

  1. {{c|Ghanaian MPs 1965–66}}
  2. {{c|Greek MPs 1868–69}}
  3. {{c|Greek MPs 1905–06}}
  4. {{c|Greek MPs 1924–25}}
  5. {{c|Greek MPs 1932–33}}
  6. {{c|Greek MPs 1935–36}}
  7. {{c|Greek MPs 1950–51}}
  8. {{c|Greek MPs 1951–52}}
  9. {{c|Greek MPs 1963–64}}
  10. {{c|Greek MPs 1989–90}}
  11. {{c|Haryana MLAs 1966–67}}
  12. {{c|Irish MPs 1557–58}}
  13. {{c|Irish MPs 1585–86}}
  14. {{c|Irish MPs 1634–35}}
  15. {{c|Irish MPs 1692–93}}
  16. {{c|Irish MPs 1713–14}}
  17. {{c|MEPs for Croatia 2013–14}}
  18. {{c|MEPs for Spain 1986–87}}
  19. {{c|Moldovan MPs 1917–18}}
  20. {{c|Moldovan MPs 2009–10}}
  21. {{c|Nagaland MLAs 1974–75}}
  22. {{c|Nagaland MLAs 1987–88}}
  23. {{c|Northern Ireland MLAs 2016–17}}
  24. {{c|UK MPs 1801–02}}
  25. {{c|UK MPs 1806–07}}
  26. {{c|UK MPs 1830–31}}
  27. {{c|UK MPs 1831–32}}
  28. {{c|UK MPs 1885–86}}
  29. {{c|UK MPs 1922–23}}
  30. {{c|UK MPs 1923–24}}
  31. {{c|UK MPs 1950–51}}

}}

{{Ping|Oculi|Gonnym|Philip Stevens|Lugnuts|FoxyGrampa75|Concus Cretus}} pinging everyone involved with the above CfD. Of the ~821 term-categories, 31 of them (~4%) have term lengths of exactly 1 and follow the (optional) YYYY-YY format, so they stand out a little amongst the vast majority of 2+ year terms with the unabbreviated YYYY–YYYY format. Since I can see arguments both for and against, what's the sentiment for formatting all of these YYYY–YYYY, regardless of term length?   ~ Tom.Reding (talkdgaf)  13:01, 8 June 2019 (UTC)

  • Please do nominate these as well, for consistency. Readers will not understand the rationale for the different formats. IMHO these should be processsed speedily. – Fayenatic London 17:21, 8 June 2019 (UTC)
  • Yes, now that you mention it, they seem like shoo-ins for WP:C2C.   ~ Tom.Reding (talkdgaf)  20:19, 8 June 2019 (UTC)
  • CCXX–YY terms are just a special case of CCXX–CCYY, where CCYY occasionally happens to be CCXX+1, It's not the case of, say, a winter sports season, for instance CCXX–YY in ice hockey, where the years by definition are consecutive. The guidelines may need to be amended to clarify the difference. So, for both this reason, and for consistency, they should probably be moved to the CCXX–CCYY versions. (Side note: we also have the some cases where there have been two elections the same year, e.g. 1910 and 1974 in the UK. These categories will not be consistent anyway.) HandsomeFella (talk) 20:38, 8 June 2019 (UTC)
  • I suggest listing them as a full CFD nomination for traceability, but it can be closed speedily anyway. – Fayenatic London 20:44, 8 June 2019 (UTC)
  • @ Wikipedia:Categories for discussion/Log/2019 June 8#Category:Northern Ireland MLAs 2016–17   ~ Tom.Reding (talkdgaf)  21:30, 8 June 2019 (UTC)

Requested move 25 May 2019

:The following discussion is an archived discussion of a requested move. Please do not modify it. Subsequent comments should be made in a new section on the talk page. No further edits should be made to this section.

No consensus to move, after extended time for discussion. Notably, even among those who supported a move, there was no clear determination of a move target. bd2412 T 19:14, 24 June 2019 (UTC)

– This template started as a category navigation tool for football seasons, but with the recent changes this has become a multi-style navigation tool, as can be seen by the doc at Template:Navseasoncats/doc#About. The name of the template should describe what it does and "navseasonscats" does not do that. Gonnym (talk) 10:32, 25 May 2019 (UTC) --Relisting. Steel1943 (talk) 13:48, 4 June 2019 (UTC)

  • Comment - There is also {{tl|Navseasoncats with decades below year}} and Module:Navseasoncats/navyear (and maybe 1 I've missed) to add to this.   ~ Tom.Reding (talkdgaf)  13:27, 25 May 2019 (UTC)
  • Mild support as-is - Regardless, I do think a name change is in order. "Category navigation" is a bit too broad, though, as it implies navigation for all types of categories, so the addition of a short qualifier might be good that summarizes Template:Navseasoncats#About (which may broaden if suitable examples present themselves). If no good qualifier is found then I'd go with "Category navigation".   ~ Tom.Reding (talkdgaf)  13:27, 25 May 2019 (UTC)
  • If there is a better one, I'm all for it. I tried thinking of one more suitable but couldn't come up with it. --Gonnym (talk) 13:41, 25 May 2019 (UTC)
  • {{Ping|Le Deluge|BrownHairedGirl|Fayenatic london|Marcocapelle}} ping to creator & the usual suspects.   ~ Tom.Reding (talkdgaf)  14:07, 25 May 2019 (UTC)
  • Support, 'category navigation' clearly describes what it is used for. Marcocapelle (talk) 16:21, 25 May 2019 (UTC)

:::* After the discission below I understand that it is too broad. Marcocapelle (talk) 12:27, 9 June 2019 (UTC)

  • {{tl|Category series navigation}} would be my choice.   ~ Tom.Reding (talkdgaf)  17:04, 25 May 2019 (UTC)
  • Also far too broad. There are many many templates which do category navigation by series. --BrownHairedGirl (talk) • (contribs) 17:40, 25 May 2019 (UTC)
  • I suggest that the name should still make some reference to date, even though the template also works for general numbers, because date is the clever stuff that it does. Template:Category date navigation ? or Template:Categories by date would be even more concise. – Fayenatic London 16:46, 25 May 2019 (UTC)
  • As a fallback I would go with "sequence", implying numerical. But "series" is too general, as it would cover e.g. monarchs or chemical elements. As for "category navigation", that would be so general as to be pointless. – Fayenatic London 18:39, 25 May 2019 (UTC)
  • I'm also ok with {{tl|Category sequence navigation}}.   ~ Tom.Reding (talkdgaf)  13:28, 27 May 2019 (UTC)
  • While I still prefer my general name, as this intends to be the primary module to handle all sorts of category navigation, I'm ok with {{tl|Category sequence navigation}} as it still does the job. --Gonnym (talk) 13:20, 9 June 2019 (UTC)
  • Strong oppose this is a spectacularly bad idea. "Category navigation" is a generic term, and there are many many templates which do that. Just for Ireland alone, see :Category:Ireland category header templates and its subcats. the nominator si clarly unfamiliar with the v wide range of category navigation templates already in use.

:@Gonnym's proposed name merely describes the type of template is. This is a not a generic category navigation template. It specifically does series by years decade and seasons, whereas the proposed name falsely labels it as a universal tool.

:The current name doesn't describe all of that, but it describes some of it, and it is unique, concise and well-established. Gonnym's proposal does not {{tq|describe what it does}}, and any alternative which actually describes its functionality is going to be much more verbose, e.g. Template:Category navigation by year, decade or season.

:One of the advantages of {{tl|Navseasoncats}} is is that its name is concise and unique, which makes it easy to use. There is no benefit to anyone in turning its name into either a misleading generic term, or into an essay. --BrownHairedGirl (talk) • (contribs) 16:52, 25 May 2019 (UTC)

::How is my proposed name misleading while the current name fine? How are :Category:2020s awards, :Category:1999 in Scotland, :Category:2000 United States presidential candidates, :Category:Taxonbars with 30–34 taxon IDs, :Category:1st Lok Sabha members or :Category:2nd-century rabbis "by seasons" categories? There is exactly one type that is "by seasons" while the rest are clearly not. Also, please AGF and don't patronize by belittling other editors. {{tq|the nominator si clarly unfamiliar with the v wide range of category navigation templates already in use.}} (sic), you'd be surprised, but I know how to read. --Gonnym (talk) 17:58, 25 May 2019 (UTC)

:::@Gonnym, I did AGF. I assumed that you would not do anything so daft as to propose the generic name "Category navigation" if you were already aware that there are dozens, possibly hundreds, of other templates which could be described by that title. But I accept your assurance that my good faith in your ability to spot the folly of a massively ambiguous title was misplaced.

:::The word "Season" can mean a broad period of time, so its use for years and/or decades isn't wrong, just not the primary meaning. But your proposal strips out any reference to periods of time, and proposes a title which could apply equally well to e.g. {{tl|AllIrelandByCountyCatNav}}. I look forward to your explanation of why you think it is any way helpful to remove from the title any reference to time or series, and to use a massively ambiguous title.

:::If you are concerned by the lack of a specific mention of all the available time periods, then the solution might be to change the name to something like {{tl|NavTimeCats}} or {{tl|NavYearDecadeSeasonCats}} or {{tl|NavNumberedSeriesCats}} or {{tl|NavSequenceCats}} or something like that. But I don't see how the extra verbosity of the longer terms or the shift in focus of the shorter names would help anyone. --BrownHairedGirl (talk) • (contribs) 20:57, 25 May 2019 (UTC)

::::This will probably be the last time I respond to you, as you are a very unpleasant editor to deal with ({{tq|But I accept your assurance that my good faith in your ability to spot the folly of a massively ambiguous title was misplaced.}} and I truly hope that in real life your attitude to others is much less vain. There is nothing wrong with an ambiguous title, as can be seen by WP:PRIMARYTOPIC, in this specific case, this template does indeed fit the criteria in that it's scope is already pretty large, while the other templates have a very specific and smaller scope. As such, the name I proposed works. That being said, and as I previously said at the very start of this thread, I was never against an alternative and better proposal. And while you can argue that "seasons" means that, it really doesn't, which is why "seasons" is not a good name and neither are your CamelCase proposals per WP:TPN and general recent practice. --Gonnym (talk) 21:08, 25 May 2019 (UTC)

:::::Oh dear. WP:PRIMARYTOPIC is part of the policy on article titles. This is a template. --BrownHairedGirl (talk) • (contribs) 22:03, 25 May 2019 (UTC)

:The above discussion is preserved as an archive of a requested move. Please do not modify it. Subsequent comments should be made in a new section on this talk page. No further edits should be made to this section.

[[:Category:Aircraft piston engines 1920-1929]] moved

The category (and similar ones) has been moved. Could somebody please update the description. Thanks.

:{{Ping|Ymblanter}} none of {{cat|1920s aircraft piston engines}} series have descriptions.   ~ Tom.Reding (talkdgaf)  16:41, 28 June 2019 (UTC)

:: {{ping|Tom.Reding}} if I understand it correctly they are now transcluded via redirects.ay be one can choose another example, because if I now delete the redirects we are going to get red links.--Ymblanter (talk) 17:04, 28 June 2019 (UTC)

::: {{Ping|Ymblanter}} I've removed this cat series from the documentation. Did that help? It was being used as an example for the {{para|testcasegap}} parameter.   ~ Tom.Reding (talkdgaf)  17:28, 28 June 2019 (UTC)

:::: Great, thanks.--Ymblanter (talk) 17:32, 28 June 2019 (UTC)

Using category redirects to bridge adjacent series

Currently, multi-year/hyphenated cats can search for and follow {{tl|Category redirect}}s. 2 questions arise:

  1. Extend this behavior to all category types?
  2. Should we promote the use/creation of redirects 'linking' 2 different (but related) category series, like :Category:Falkland Islands Councillors 2009–2013 & :Category:Falkland Islands MLAs 2005–2009? I like this functionality, but I've also seen the category #Rs of the recent CfDs get deleted, so I'm not sure if it goes against any guideline (which would be worth making an exception for this, if needed, imo).

See :Category:Navseasoncats range redirected (base change) for more.   ~ Tom.Reding (talkdgaf)  14:43, 15 June 2019 (UTC)

:Wow! I see what you mean, given those examples. Navseasoncats links to the actual succeeding category, using an updated name, if there's a redirect at the default name (matching the old name). I think this is a very good feature.

:Category redirects certainly can be kept where useful. We currently only have my recent essay on this point, WP:Category redirects that should be kept.

:However, I note that in order to fully populate the template e.g. at :Category:Falkland Islands MLAs 2009–2013, we'd have to create redirects at pages which are even more anachronistic, e.g. :Category:Falkland Islands MLAs 2001–2005 and earlier. These would be vulnerable to good-faith deletions. Might it be better to add optional parameters for preceding/succeeding categories?

:Or are we just trying to do too much? {{tl|Preceding category}} & {{tl|Succeeding category}} can provide navigation from adjacent categories, although not for more distant jumps. – Fayenatic London 20:40, 18 June 2019 (UTC)

::I think creating new redirects isn't really a practical solution. Maybe as Fayenatic says, add an optional parameter for the preceding or succeeding category, then have the code get the prev or next categories for that category. This way you don't need to create any redirects and also don't need to use {{tl|Preceding category}} & {{tl|Succeeding category}} to bridge the connections. --Gonnym (talk) 21:04, 18 June 2019 (UTC)

::Also, the redirects feature isn't 100% working correctly (from a user-perspective), for example: clicking on the "1887–88" link at :Category:1886–87 in English rugby union leads to :Category:1887–88 in British rugby union, however clicking on "1886–87" link on that page, leads to :Category:1886–87 in British rugby union, a different category. That is very confusing navigation that shouldn't really happen. This is actually a more serious bug as while there isn't an England 1887–88 category for whatever reason, the categories continue right after that year, so instead of showing just a non-linked year, it causes the reader to get kicked out of the correct navigation. --Gonnym (talk) 21:10, 18 June 2019 (UTC)

:::A separate parameter with the specific category name defeats the whole point of this template.

:::This feature looks like it should be either:

:::# turned off by default, and turn-onable via {{para|follow-redirects|yes}}, or

:::# turned on by default, and turn-offable via {{para|follow-redirects|no}}

:::If the English/British rugby scenario is in the vast minority of series pairs in {{clc|Category:Navseasoncats range redirected (base change)}} (currently 96), I'd argue for default on, otherwise default off. Of course, there are way more series pairs out there without this redirect structure applied than there are the rugby scenario, so I'm leaning default on before even looking. Will check it out soon.   ~ Tom.Reding (talkdgaf)  01:31, 19 June 2019 (UTC)

::::Yes, probably best to have default on, and switch it off for e.g. half a dozen English rugby categories surrounding the redirect :Category:1887–88 in English rugby union.

::::Bug-hunting in the current behaviour: Redirects from hyphen to no-hyphen don't work, e.g. at :Category:2018 CONCACAF Champions League, the 2017 link is redirected but the template does not follow the redirect to 2016–17. (It's fine the other way, e.g. the 2017–18 link at :Category:2016–17 CONCACAF Champions League does follow the redirect to 2018.)

::::The redirect :Category:Fiction set in the 11th millennium -> 11th or beyond likewise doesn't currently work in 10th & preceding. – Fayenatic London 09:50, 19 June 2019 (UTC)

:::::{{Ping|Fayenatic london}} I'll take that as another endorsement to expand use beyond hyphenated cats - currently, only hyphenated cats benefit from this feature.   ~ Tom.Reding (talkdgaf)  11:02, 19 June 2019 (UTC)

::::::Ah, now I understand what you meant by "all category types". Yes please. – Fayenatic London 11:07, 19 June 2019 (UTC)

:::::::{{Done|{{U|Fayenatic london|Category-redirect-following now standard for all category types}}}}

:::::::{{Done|{{U|Gonnym|{{para|follow-redirects|no}}}} allowed}}   ~ Tom.Reding (talkdgaf)  15:18, 22 June 2019 (UTC)

= [[Template:R from category navigation]] =

I created {{tl|R from category navigation}} in an effort to keep these cat #Rs from being deleted.   ~ Tom.Reding (talkdgaf)  23:14, 28 June 2019 (UTC)

:{{ping|Tom.Reding}} In the past I have added "R from" templates to category redirects, e.g. {{tl|R to diacritic}}, but someone reverted me and said that those templates should only be placed on hard redirects, not soft redirects. I can't remember any more details. Perhaps it was to avoid placing entries from category namespace into maintenance cats such as :Category:Unprintworthy redirects. If {{tl|R from category navigation}} does not place the redirected page in any categories, perhaps it's not a problem. – Fayenatic London 07:13, 29 June 2019 (UTC)