itsec.info a écrit :
- How can I remove the tab entry 'Discussion'?
If you simply want to *hide* it :
in skins/monobook/main.css (or edit either the Mediawiki:Monobook.css of the Mediawiki:Common.css pages of your wiki and add the following)
li#ca-talk { display: none;}
OR
in includes/SkinTemplate.php file, comment (add # at the beginning of each line) this :
$content_actions['talk'] = $this->tabAction( $talkpage, 'talk', $this->mTitle->isTalkPage() && !$prevent_active_tabs, '', true);
*this WON'T disable discussion, it just HIDES the tab*
- How can I remove the menu 'toolbox'?
in skins/monobook.php, remove :
<div class="portlet" id="p-tb"> <h5><?php $this->msg('toolbox') ?></h5> <div class="pBody"> <ul> ... blabla ... </ul> </div> </div>
you might also get the same result using skins/monobook/main.css