MediaWiki:Common.css: Difference between revisions
Appearance
76dssupport (talk | contribs) No edit summary |
76dssupport (talk | contribs) No edit summary |
||
| Line 6: | Line 6: | ||
/* MediaWiki:Common.css – hide history tab for users who lack 'edit' */ | /* MediaWiki:Common.css – hide history tab for users who lack 'edit' */ | ||
#p-views li#ca-history:not(.istalk) { | #p-views li#ca-history:not(.istalk) { | ||
display: none !important; | |||
} | |||
/* Hide the Page information tab (#ca-info) for users who cannot edit */ | |||
#p-views li#ca-info:not(.istalk) { | |||
display: none !important; | display: none !important; | ||
} | } | ||
Latest revision as of 20:03, 11 March 2026
/* CSS placed here will be applied to all skins */
/* Hide the "view source" tab for everyone except sysops */
#p-views li#ca-viewsource {
display: none !important;
}
/* MediaWiki:Common.css – hide history tab for users who lack 'edit' */
#p-views li#ca-history:not(.istalk) {
display: none !important;
}
/* Hide the Page information tab (#ca-info) for users who cannot edit */
#p-views li#ca-info:not(.istalk) {
display: none !important;
}