[[Module:compound/templates]]: derivsee
Thanks! The problem now is that the line that says "Xish words suffixed with -Y" is also in that script, even though it is in English. If possible, it should separate the "Xish words suffixed with" from "-Y" and use Latn for the former and script detection for the latter. Otherwise, it would be better if the whole line used Latn. If you need an example, see ־עניו (-enyu).
That's harder to do. It's not the module that displays that text, but rather Template:deriv. I suppose I could integrate that template into the module more directly. Should I?
Actually, it seems that even the template doesn't show the text, but it's directly built into the #categorytree parser function. Do you know if there's a way to override the displayed text on that?
I don't know. The documentation is here, but it doesn't seem to cover that. Maybe MediaWiki developers would now.
But what could would that do? At best we would just do what the current class=
argument to the parser function does anyway.
For example, override script CSS for the category name line (assuming it has a different class from that of the entries. I have not checked.
I looked into it and the class "CategoryTreeLabelCategory" is used for the category link, while "CategoryTreeLabelPage" is used for the entry links. So these are the ones we want to target. I'm not a CSS expert, but hopefully someone can figure out how to override "CategoryTreeLabelCategory" to inherit the "Latn" class.