Manual:Removing tabs/ja


 * See also Manual:Interface/Sidebar to remove the links in the sidebar.

The tabs on MediaWiki can be removed by adding the following code to MediaWiki:Common.css.

Remove tabs
Add the following code to MediaWiki:Common.css:

Remove Tabs from Specific Pages
It is possible to remove a tab only from a particular page(s) of your choice. For example, the following:

will hide the Delete tab on the Main Page.

You only have to replace the ID of the tab and the name of the page. In the above example the ID of the tab is #ca-delete and the name of the page Main_Page.

So, for example, if you want to remove the Discussion tab on a page with the name "Example Page", use this code:

If the name of the page consists of more than one word, put underscores (_) between the words.

Lines between tabs
In the Vector skin, the light blue fading lines between tabs is called the  The light blue fading lines on the sides are left-navigation and right-navigation.

See this help page topic for more information

関連項目

 * Manual:FAQ
 * User:Subfader/Hide page tabs

Topic on Project:Support desk:
 * How can I hide tabs for users not logged in?
 * How to hide "View History" button for unlogged users?
 * Hide search box on Main_Page
 * How to disable view source tab for anonymous users in mediawiki 1.20