Thread:Project:Support desk/is the current page in a special category?/reply (16)

Seems like Extension:PageInCat is the recommended replacement of HasCategory. It can do exactly what Paul asks for - and maybe even more!