On Category:Offices there are a lot of Slovak (Sk) entries, eg. Sk:Tag:government=statistics. No problem, I know how to create a category, so I did: Category:Sk:Kancelárie. But after enabling HotCat to modify the categories that Sk:Tag:gov=stats belongs to I noticed that some of the categorization seems to be happening automatically. I am able to add it to the Sk office category, but how it is getting into the English category page is not clear to me at all. I also see that a link in the infobox (Skupina:) points to Category:Cs:Offices, which redirects to Category:Cs:Kanceláře - the Czech offices category.
So before I attempt anything else, am I missing some obvious step? Or does this require tickling something in wikidata? Or is it a bug in the ValueDescription template or DescriptionFromDataItem module?
The code is deep in the Lua module and the category is generated from the tag’s group. While this is investigated you can reassure other Slovak speakers that Oivo357 will be expected to behave in the future.
You have to add a label in Slovak to the data item for the group. I have put a note on the category and others like it. You will find similar cases for documentation pages in other categories.
You are referring to item - offices and item - government? That seems to have fixed (ie. moved from English to Slovak category) some pages, but not others. Eg. compare Sk:Tag:office=adoption_agency to Sk:Tag:office=archive. The former is now behaving correctly, the latter is not, and I cannot see any functional difference between them in the source.
It is, I am assuming because of data item edits done by Wynndale and Oivo357.
I suspect that you will need to do s null edit by pressing Save from Edit source without changing any text unless you want to do that anyway, to reindex the pageʼs categories
Got the remaining articles fixed, but there is still a deeper mystery why some moved to the new category without intervention (once the data items were added).
The stubborn articles all had group=offices in their {{ValueDescription}}. Changing that to group=kancelárie got them working.
The articles that were already working do not have the group parameter at all, so the first thing I tried on the stubborn ones was just removing group=offices. That did not work, it just orphaned them into no category. The only difference I can see between the articles that correctly categorize without the group parameter and the ones that need the group parameter is that the former are all pulling in Template:Languagename while the latter are not. It is not obvious to me what is triggering that template to selectively get pulled in.