User talk:Subfader/Hide page tabs

From MediaWiki.org
Jump to: navigation, search

Contents

[edit] Per namespace

I want to hide tabs only in a specific namespace. Is there any way to realize this? Best regards, --Tkrueger73 18:57, 24 August 2009 (UTC)

Thanks, added. --Subfader 21:01, 24 August 2009 (UTC)

[edit] "New-section"-link

Could somebodey tell me what the tab-name of the "New-section"-link is...?? I tried everything ... --Dennis07; ( / ) 17:09, 24 January 2010 (UTC)

I guess you mean the [+]? Then it's #ca-addsection: <li id="ca-addsection"><a href="/w/index.php?title=Manual_talk:Hide_page_tabs&action=edit&section=new" title="Start a new section [alt-shift-+]" accesskey="+">+</a></li> --Subfader 15:19, 25 January 2010 (UTC)

[edit] Vector Skin

I am using the vector skin, I want to hide the View History and View Source only for anonymous users, it says to paste code in Monobook.php / above </head>

In vector.php there is no </head> or I cant find it I am sorry, where should I paste a mod

I think it should be around "// Adds history view link" is it?

God it's complex in there, I may break something Thanks for any help

Actually </head> is missing in MonoBook.php too. Thus I am also a bit stuck. Doing a small rework of the instructions would be really cool. Cheers --[[kgh]] 12:06, 26 March 2011 (UTC)
It was indeed replaced by $this->html( 'headelement' );. Above <div id="globalWrapper"> is fine too. What else is unclear in the instructions? --Subfader 21:54, 26 March 2011 (UTC)
Hey Subfader, thank you! That is the kind of small rework I had in mind. :) It works perfect. I additionally inserted a typing error too, so my experiments were destined to fail. Thus I thought there is more to it. The instructions a straight forward. Cheers --[[kgh]] 23:26, 26 March 2011 (UTC)

[edit] Per usergroup

Hi, i would like to hide history tab for a group of user How can i configure my MediaWiki:common.css page? --Eva 11:17, 20 July 2011 (UTC)

Personal tools
Namespaces
Variants
Actions
Site
Support
Download
Development
Communication
Print/export
Toolbox