Manual:User group CSS and JavaScript

User group CSS and JavaScript is possible since  (specifically ).

This means that CSS and JavaScript can be loaded per rights>Special:MyLanguage/Manual:User rights|user group.

CSS and JavaScript pages take the following form, where X is the user group name:

The special group "*" doesn't load the specific MediaWiki:Group-*.css or .js page, just use MediaWiki:Common.css/js; the special group "user" only loads its MediaWiki:Group-user.css and .js pages since.

See  for reference.

Examples:


 * MediaWiki:Group-sysop.css and MediaWiki:Group-sysop.js (code for admin>Special:MyLanguage/Manual:Administrators|sysops/administrators)


 * MediaWiki:Group-autoconfirmed.css and MediaWiki:Group-autoconfirmed.js (code for autoconfirmed>Special:MyLanguage/Manual:Autoconfirmed users</>|autoconfirmed users)


 * <tvar|css>MediaWiki:Group-bureaucrat.css</> and <tvar|js>MediaWiki:Group-bureaucrat.js</> (code for bureaucrats>Special:MyLanguage/Help:Assigning permissions#Bureaucrats</>|bureaucrats)