MediaWiki:Common.css: Difference between revisions

From Openliux
Jump to navigation Jump to search
(Created page with "→‎CSS placed here will be applied to all skins: <!-- No [view source] tab for anonymous users --> <?php global $wgUser; if( $wgUser->isAnon() ) { ?> <style type="text/css"> #ca-viewsource { display: none !important; } #ca-talk { display:none!important; } #ca-history { display:none!important; } #ca-watch { display:none!important; } #ca-unwatch { display:none!important; } </style> <?php } ?>")
 
No edit summary
Tag: Manual revert
 
(25 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/* CSS placed here will be applied to all skins */
<!-- No [view source] tab for anonymous users -->
 
<?php global $wgUser; if( $wgUser->isAnon() ) { ?>
/* Hide the view source tab */
      <style type="text/css">
#ca-nstab-main { display:none}
        #ca-viewsource { display: none !important; }
#ca-viewsource {display: none;}
        #ca-talk { display:none!important; }
#ca-talk { display:none}
        #ca-history { display:none!important; }
#ca-view { display:none}
        #ca-watch { display:none!important; }
#ca-history { display:none}
        #ca-unwatch { display:none!important; }
#p-tb {display: none;}
      </style>
#footer-poweredbyico {display: none;}
     <?php } ?>
#n-help {display: none;}
#n-recentchanges {display: none;}
#n-randompage {display: none;}
#footer-info-lastmod {display: none;}
#footer-places-privacy {display: none;}
#pt-login {
     display: none;
}

Latest revision as of 02:28, 7 October 2023

/* CSS placed here will be applied to all skins */

/* Hide the view source tab */
#ca-nstab-main { display:none}
#ca-viewsource {display: none;}
#ca-talk { display:none}
#ca-view { display:none}
#ca-history { display:none}
#p-tb {display: none;}
#footer-poweredbyico {display: none;}
#n-help {display: none;}
#n-recentchanges {display: none;}
#n-randompage {display: none;}
#footer-info-lastmod {display: none;}
#footer-places-privacy {display: none;}
#pt-login {
    display: none;
}