[Mediawiki-l] Remove tabs in the MonoBook template ?

johan.boye at latecoere.fr johan.boye at latecoere.fr
Tue Jun 19 11:36:44 UTC 2007


>>>> My colleague want "user" has an UI very simple by removing: 
>>> "Discussion"
>>>> "View Source", "Contribution", "My Discussion Page" on the
>>> top of the
>>>> page and the "Toolbox" menu of the left. Is there a way 
> to do that?
>>>
>>> Put on Mediawiki:Common.css
>>> li#ca-talk, li#ca-edit, li#pt-mycontris, li#pt-mytalk, #p-tb { 
>>> display:
>>> none }
>> 
>> Thanks, perfect help!
>> Only problem, the "Edit" tab disappear also when you are an editor, 
>> not just for the regular user, also for the Editor group, 
> is there a 
>> way to fix it ?
> 
> there is a hook during the creation of the tabs that allow 
> you to add/remove tabs --> you can create a hook function 
> (this would be php, not html nor css) in LocalSettings.php 
> that add/remove tabs according to what you want to allow for 
> which user's groups
> 
> see 
> http://www.mediawiki.org/wiki/Manual:MediaWiki_hooks/SkinTemplateTabs

Perfect, gonna check it out ;)

  Thanks


BTW : why i can't see my posted message even i checked the right option
in the mailing list web ui ?


"Les informations contenues dans ce message electronique peuvent etre de nature confidentielles et soumises a une obligation de secret. Elles sont destinees a l'usage exclusif du reel destinataire. Si vous n'etes pas le reel destinataire, ou si vous recevez ce message par erreur, merci de le detruire immediatement et de le notifier a son emetteur."

 "The information contained in this e-mail may be privileged and confidential. It is intended for the exclusive use of the designated recipients named above. If you are not the intended recipient or if you receive this e-mail in error, please delete it and immediately notify the sender."




More information about the MediaWiki-l mailing list