Difference between revisions of "Personalize MediaWiki"

From Ittichai Chammavanijakul's Wiki
Jump to navigation Jump to search
Line 1: Line 1:
 
== Hide tabs ==
 
== Hide tabs ==
Reference: http://www.mediawiki.org/wiki/User:Subfader/Hide_page_tabs</br>
+
Reference: http://www.mediawiki.org/wiki/User:Subfader/Hide_page_tabs<br>
 
This is to hide a tab on all pages. Note that hiding tab does not prevent from accessing the page.
 
This is to hide a tab on all pages. Note that hiding tab does not prevent from accessing the page.
  

Revision as of 16:21, 6 March 2011

Hide tabs

Reference: http://www.mediawiki.org/wiki/User:Subfader/Hide_page_tabs
This is to hide a tab on all pages. Note that hiding tab does not prevent from accessing the page.

  • Update MediaWiki:Common.css.
/* Hide [Watch] tab */
#ca-watch { display: none !important; }

/* Hide [History] tab */
#ca-history { display: none !important; }

/* Hide [View Source] tab */
#ca-viewsource { display: none !important; }

/* Hide [Discussion] tab */
#ca-talk { display: none !important; }