Difference between revisions of "MediaWiki:Common.css"
Jump to navigation
Jump to search
(Created page with "→CSS placed here will be applied to all skins: →http://www.mediawiki.org/wiki/Manual:Hide_page_tabs#No_tabs_for_certain_users: <!-- No [view source] tab for users wh...") |
(No difference)
|
Revision as of 09:04, 18 April 2014
/* CSS placed here will be applied to all skins */ /* http://www.mediawiki.org/wiki/Manual:Hide_page_tabs#No_tabs_for_certain_users */ <!-- No [view source] tab for users who can not edit --> <?php global $wgUser; if( !$wgUser->isAllowed('edit') ) { ?> <style type="text/css"> #ca-viewsource { display: none !important; } </style> <?php } ?> <!-- No [talk] tab for users who can not edit --> <?php global $wgUser; if( !$wgUser->isAllowed('edit') ) { ?> <style type="text/css"> #ca-talk { display: none !important; } </style> <?php } ?> <!-- No [history] tab for users who can not edit --> <?php global $wgUser; if( !$wgUser->isAllowed('edit') ) { ?> <style type="text/css"> #ca-history { display: none !important; } </style> <?php } ?>