MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 6: | Line 6: | ||
#ca-watch { display: none !important; } | #ca-watch { display: none !important; } | ||
#ca-viewsource { display: none !important; } | #ca-viewsource { display: none !important; } | ||
#ca-view { display: none !important; } | |||
Latest revision as of 09:31, 5 December 2022
/* CSS placed here will be applied to all skins */ #ca-nstab-main { display: none !important; } #ca-talk { display: none !important; } #ca-history { display: none !important;} #ca-watch { display: none !important; } #ca-viewsource { display: none !important; } #ca-view { display: none !important; } $wgHooks['SkinTemplateSetupPageCss'][] = 'wfHideVariousTabsFromAnonymous'; function wfHideVariousTabsFromAnonymous( &$hidetabcss ) { global $wgUser; if ( !$wgUser->isLoggedIn() ) { $hidetabcss .= 'li#ca-history, li#ca-viewsource, li#ca-edit, li#ca-talk, .vectorMenu { display: none; }'; } return true; }