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

Oh, so you were doing it for HTML conversion. I thought you just didn't want visitors to see the link, in which case JS is fine.

However, for future reference to people looking to remove the link, use IAlex's solution by modifying MediaWiki:Pagecategorieslink with a "|" (pipe) character.

Javascript is not a solution for these kinds of trivial problems. Not only does it put unnecessary overhead to the visitors, but it will ultimately fail if they have JS disabled in their browsers.

MW's not a perfect software, and if you're not willing to make compromises for simple 'hacks', well then good luck finding a perfect world. Even Wikipedia's infoboxes are full of workarounds.