Webmasters Stack Exchange is a question and answer site for pro webmasters. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

The page MediaWiki:Sidebar allows you to change/add to the menu on the left. So how to add or change items in the menu at the top, (is there a MediaWiki:Topbar page)? Specifically, how to add a link to the users sandbox as on Wikipedia?

share|improve this question
up vote 0 down vote accepted

This adds a "Sandbox" link to the personal toolbar area, like on Wikipedia.

It does need an extension - if not installed already, install the Gadgets extension.

Add the page MediaWiki:Gadget-mySandbox.js.

Edit the pages MediaWiki:Gadgets-definition‎ with


and MediaWiki:Gadget-mySandbox with eg.

Add a "Sandbox" link to the personal toolbar area.

It will be then enabled by default in Special:Preferences#mw-prefsection-gadgets

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.