https://bugzilla.wikimedia.org/show_bug.cgi?id=47812

       Web browser: ---
            Bug ID: 47812
           Summary: Create Mediawiki:Group-user.css to allow content
                    differentiation for logged-in editors versus readers
           Product: MediaWiki
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: Unprioritized
         Component: Skin and page rendering
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    Classification: Unclassified
   Mobile Platform: ---

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?

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to