Thread:Project:Support desk/How to disable Special:Categories/reply (4)

This is easy if you are willing to modify core files. Generally it's an ill-advised practice, however it's just a very simple change and the worst thing that can happen if you upgrade/reinstall is the link comes back up again.

You can do it by going to includes/Skin.php, finding the getCategoryLinks function and remove the function that adds the hyperlink. Which to remove depends on your MediaWiki version.

Using JS, btw, is overkill.