• Welcome to Tux Reports: Where Penguins Fly. We hope you find the topics varied, interesting, and worthy of your time. Please become a member and join in the discussions.

Implemented Remove Button From Website

Robert Heiny

Research Scientist of Learning and Education
Flight Instructor
Can you remove the wiki buttons above the beginning of the text on Classic Ed at EduClassics.com pages for a reader not logged into the site? It's clutter on the page, serves no use for me until I'm logged in.
 

LPH

Flight Director
Flight Instructor
I found a better way. Added the following to the /learning/skins/GuMaxDD.php file:

PHP:
<!-- No [view source] [[history] [discussion] ] tab for users who can not edit -->
<?php global $wgUser; if( !$wgUser->isAllowed('edit') ) { ?>
    <style type="text/css">
      #ca-viewsource { display: none !important; }
      #ca-talk { display: none !important; }
      #ca-history { display: none !important; }
      #ca-nstab-main { display: none !important; }
    </style>
<?php } ?>
 

LPH

Flight Director
Flight Instructor
Next changed /styles.css line 560, commented out margin-top.
 
Top