MediaWiki:Common.css

From Layton Support
(Difference between revisions)
Jump to: navigation, search
Line 6: Line 6:
 
}
 
}
 
<!-- No [History] tab for anonymous users -->
 
<!-- No [History] tab for anonymous users -->
<?php global $wgUser; if( $wgUser->isAnon() ) { ?>
+
<?php global $wgUser; if( $wgUser() ) { ?>
 
       <style type="text/css">
 
       <style type="text/css">
         #ca-viewsource { display: none !important; }
+
         #ca-history { display: none !important; }
 
       </style>  
 
       </style>  
 
     <?php } ?>
 
     <?php } ?>

Revision as of 19:19, 2 July 2010

.collapseButton {		/* 'show'/'hide' buttons created dynamically by the        */
	float: left;		/* CollapsibleTables JavaScript in [[MediaWiki:Common.js]] */
	font-weight: 800;	/* are styled here so they can be customised.              */
	text-align: right;
	width: auto;
}
<!-- No [History] tab for anonymous users -->
<?php global $wgUser; if( $wgUser() ) { ?>
      <style type="text/css">
        #ca-history { display: none !important; }
      </style> 
    <?php } ?>
Personal tools
Namespaces

Variants
Actions
Main Page
Online User Guides
General Support
Release Notes
Toolbox