[Mediawiki-l] JavaScript within templates?

nakohdo Frank.Ralf at gmx.net
Thu Sep 22 12:19:09 UTC 2011

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:


This would enable category based styling using CSS as suggested at

Is this a feasible option?
View this message in context: http://old.nabble.com/JavaScript-within-templates--tp32503809p32503809.html
Sent from the WikiMedia General mailing list archive at Nabble.com.

More information about the MediaWiki-l mailing list