Personalize MediaWiki
Jump to navigation
Jump to search
Move the installation directory
The MediaWiki does not record the installation path in the database. If the directory is moved or changed, just simply update the $wgScriptPath in the LocalSettings.php file.
$wgScriptPath = "/wiki";
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; }
Change Favicon
Reference: http://www.mediawiki.org/wiki/Manual:$wgFavicon
Use the free icon generator web site like http://www.favicon.cc/.