Thread:User talk:Rua/Possible solution for language-specific form-of templates/reply (4)

Another solution that will work in *some* but not all cases: Impose a hierarchy on the parts of speech in Module:headword/data. For example, currently if you specify, the page duly gets added to Category:French noun plural forms but not to Category:French noun forms. Similarly, if you specify, the page gets added to Category:Arabic active participles but not to Category:Arabic participles. This seems very weird to me, and I think it would be a good idea to impose at least a two-level hierarchy where "LANG FOO participles" implies "LANG participles", "LANG noun FOO forms" implies "LANG noun forms", "LANG FOO adjective forms" implies "LANG adjective forms", and "LANG FOO adverb forms" implies "LANG adverb forms". This would allow you to move some of the categorization of non-lemma forms to the headword. There is still some duplication in that you end up specifying e.g. "past active participle" twice, once in the headword and once in the inflection-of template, like this:



In my preferred solution, you could just say and it would still work; but IMO the above is a lot better than requiring something like this, which is confusing and easy to forget: