Besides using a template for adding a category to a page I would like to add the very same category name as a class to the page's body tag like so:
$('body').addClass('myCategory')
This would enable category based styling using CSS as suggested at http://www.mediawiki.org/wiki/Thread:Project:Support_desk/Css_for_categories
Is this a feasible option?