Jump to content

Topic on Project:Support desk/Flow

Different messages in the edit window based on user rights

4
Weblars (talkcontribs)

On the Danish Wikipedia we are considering to show different system messages when users are editing an article (example showing editing window) based on their user rights. Anonymous or new users should see a more eye-catching message about not violating copyright etc than for example autopatrolled users or administrators who should continue to see the current message (which is MediaWiki:Editpage-head-copy-warn). Would that be technically possible? The reason for asking is a diskussion on the Danish village pump, where the majority thinks than it would be too annoying to see such a message every time they edit an article, but that it nontheless would be suitable for contributors who don't yet know the copyright rules etc.

The setup: PHP/7.2.16 mediawiki-1.33/wmf.22 (details)

TheDJ (talkcontribs)

Not really. Uou can hide some content using CSS though, en.wp has this in their MediaWiki:Common.css.

Weblars (talkcontribs)

Thank you. I now also found this in the archives of the English village pump and this in the English common.css:

/* Hide stuff meant for accounts with special permissions. Made visible again in
[[MediaWiki:Group-checkuser.css]], [[MediaWiki:Group-sysop.css]], [[MediaWiki:Group-patroller.css]],
[[MediaWiki:Group-templateeditor.css]], [[MediaWiki:Group-extendedmover.css]],
[[MediaWiki:Group-extendedconfirmed.css]], and [[Mediawiki:Group-autoconfirmed.css]]. */
.checkuser-show,
.sysop-show,
.patroller-show,
.templateeditor-show,
.extendedmover-show,
.extendedconfirmed-show,
.autoconfirmed-show,
.user-show {
	display: none;
}

but I think it will get too complicated.

Weblars (talkcontribs)