Presently, Mediawiki provides the system messages:
Mediawiki:Group-sysop.css
Mediawiki:Group-sysop.js
Mediawiki:Group-checkuser.css
Mediawiki:Group-checkuser.js
etc.
Such that most user classes can have specific CSS and JS associated with them.
See also: http://www.mediawiki.org/wiki/Manual:User_group_CSS_and_Javascript
As written, the code explicitly excludes the ability to manage content based on membership in the "user" group of logged-in editors. Is there a good reason for this?
If there is not a specific reason for prohibiting
Mediawiki:Group-user.css
Mediawiki:Group-user.js
Then I would suggest that they should be added.
Such a mechanism would provide a natural way to differentiate some content for logged-in editors vs. readers. For example, many message boxes and error messages can be rather cryptic or unhelpful for readers, and it may make sense to provide readers with a more general explanatory statement while showing editors a different and more specific "how do I fix this" kind of message. Obviously any such differentiation would have to be mindful of the fact that IPs can be editors too, but I think decisions about if/when message differentiation is appropriate is more a community issue than a technical one.
So, if there isn't a technical reason that would block this, can we add "user" to the set of classes that can have class-wide CSS and JS pages?
Version: 1.22.0
Severity: enhancement
Whiteboard: gci2013
URL: https://www.google-melange.com/gci/task/view/google/gci2013/5906739270516736
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=57986
https://bugzilla.wikimedia.org/show_bug.cgi?id=13242