JMediawikiCategories::getCategories

Method to list all categories the page(s) belong to.