Jump to content

Help talk:Customizing toolbars

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

Hide

[edit]

How can I hide most of the default links on the left side bar like Main Page, Contents, Help, Contact page, etc? The editor whose username is Z0 17:26, 28 June 2018 (UTC)[reply]

@Z0: those links are not in a toolbar. Try WP:HD, or failing that, WP:VPT. Whichever one you choose, it is essential that you state which skin you are using; this is configured at Preferences → Appearance. --Redrose64 🌹 (talk) 21:51, 28 June 2018 (UTC)[reply]
@Z0: If you like, placing the below code in your common.css page will remove the entire sidebar for you.
/* This moves the sidebar off-screen */
#mw-panel {
    opacity: 0;
    margin-left: -11em;
}
/* This moves other stuff into the leftover space */
#content, #head-base, #footer, #mw-head-base {
    margin-left: -1px;
}
/* Nicer presentation for the left-hand tabs */
#left-navigation {
    margin-left: 1em;
}
Ammarpad (talk) 20:44, 30 June 2018 (UTC)[reply]

Wikidata

[edit]

Is it possible to pull in the Wikidata Q for a page using this? Ie I want to use the Q in a url. I see we have this for the pagename mw.config.get( 'wgPageName' ) Doc James (talk · contribs · email) 20:24, 8 December 2024 (UTC)[reply]

Okay found it and it works mw.config.get( 'wgWikibaseItemId' ) Doc James (talk · contribs · email) 20:38, 8 December 2024 (UTC)[reply]

Right Toolbar

[edit]

Is there anyway for users w/temp accounts to *keep* the right toolbar hidden? Every time I open a new page, I have to close that toolbar before I scroll anything, or I get motion sickness. I used to redirect everything to mobile wikipedia, since it lacks the sidebars, but that no longer works. I have to keep the window full-width, or I getg motion sickness. ~2025-31543-88 (talk) 02:29, 7 November 2025 (UTC)[reply]