Hi
I am new to the MeiaWiki world. I successfully installed a MediaWiki and so far everyting goes well.
Now I would like to begin to customize, hereby I have the following questions:
1) How can I remove the tab entry 'Discussion'? 2) How can I remove the menu 'toolbox'?
-- Any help is very much appreciated Regards, Mike
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
These changes can also be done within the wiki itself, at [[MediaWiki: Monobook.css]] The search box can be removed using:
#searchBody { display: none;}
On 10/17/06, Alexis Moinet alexis.moinet@fpms.ac.be wrote:
Alexis Moinet a écrit :
you might also get the same result using skins/monobook/main.css
#p-tb { display: none;}
MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
mediawiki-l@lists.wikimedia.org