[[:Category:head tracking/singular category]]

Fragment of a discussion from User talk:Rua
Jump to navigation Jump to search

The way I see it, it makes more sense if the second parameter is treated as just the first in the series of category parameters. This is especially so if there is no cat= parameter, but only cat2=. There was actually a cat= parameter before, but I removed it as it wasn't used in many places and with some adjustments it could be omitted.

Another important reason is that templates can never perfectly predict what the plural of any given bit of text is going to be. Long ago, {{poscatboiler}} and similar templates (the ones we just merged into it) used to take their second parameter just like {{head}}, in singular, presumably to match it and make it intuitively easier. But that led to an increasing number of words that all had to be added to {{theplural}} (which did the pluralisation), which was a pain and in some cases it didn't even make any sense to speak of a singular. For example, think of what we might have done in the case of Category:English terms by etymology; would we have used "term by etymology" as the singular? That wouldn't have made any sense, and so at the time I think I made the (fairly unilateral, if I remember) decision to make the parameter already pluralised, so that it could be used as the category name verbatim.

The same reasoning applies here. Pluralising automatically is always going to lead to problems and exceptions; Module:headword/templates already has a list of words that should not be pluralised in the regular way. There are probably also terms that don't allow themselves to be de-pluralised in a sensible way, like the example above. By making this change, I am hoping to simply the template/module logic and make the process more straightforward: what you type is what appears in the category name. That would eliminate the need for strange workarounds like the list of exceptions and, in the past, the cat= parameter.

And finally, there is the argument of consistency with {{poscatboiler}}. This template originally pluralised its parameter because {{head}} did. Now that it no longer does, we might as well make {{head}} match it once again, by taking the parameter verbatim as well.

CodeCat18:06, 7 August 2014

I agree with User:-sche. I think consistency with part-of-speech headers and other headword templates (===Noun==={{en-noun}}{{head|en|noun}}) is more important than that with category boilerplate templates (which ideally only bots should add, and humans need not think about).

It also makes sense conceptually to have category templates use the plural while the headword templates use singular: categories contain multiple words, but the headword template deals with only one word. The second positional parameter to {{head}} is not merely a category name fragment; it is also used to distinguish lemmata from non-lemmata now, and even more semantics may be assigned to it, which may make pluralisation even more questionable.

Pluralisation in category names can be handled by a case-by-case mapping. Inventing a new part of speech is something that needs community attention anyway.

Keφr12:32, 9 August 2014