How to show and format category links. I found {{{html-categories}}}
in the skin but could not found much about it. It is always returns as formatted html or can i get category links and names as array?
Topic on Manual talk:How to make a MediaWiki skin
It would be really helpful if you can show me some reference/ related data, hooks or something similar to implement that. I will try from my end about the customization and then submit a patch.
The HTML string from categories is passed to the Mustache template using Skin::getCategories
We could add an additional key `data-categories` that provides the data without the surplus HTML markup by refactoring Skin::getCategoryLinks to call a function called Skin::getCategoryLinksData https://gerrit.wikimedia.org/g/mediawiki/core/+/87500874e2b55e3da0735d71b0a0123882e149b5/includes/skins/Skin.php#682 and then calling the new getCategoryLinksData inside the SkinMustache::getTemplateData function. Does that make sense?