Jump to content

MediaWiki:Common.css: Difference between revisions

From 76 DS Help Website
Created page with "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; }"
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:
/* Hide the "view source" tab for everyone except sysops */
/* Hide the "view source" tab for everyone except sysops */
#p-views li#ca-viewsource {
#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;
     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;
}