Manual:User group CSS and JavaScript/en

User group CSS and JavaScript is possible since (specifically ). This means that CSS and JavaScript can be loaded per user group. CSS and JavaScript pages take the following form, where example is the user group:



The special group "*" does not load  or. To address all users, use  and   instead. The special group "user" (for logged-in users) does load  and   (though this was only introduced in, ). To address all users, use  and   instead. The special group "user" (for logged-in users) does load  and   (though this was only introduced in, ). See for reference.

Examples:


 * MediaWiki:Group-sysop.css and MediaWiki:Group-sysop.js (code for sysops/administrators)
 * MediaWiki:Group-autoconfirmed.css and MediaWiki:Group-autoconfirmed.js (code for autoconfirmed users)
 * MediaWiki:Group-bureaucrat.css and MediaWiki:Group-bureaucrat.js (code for bureaucrats)