Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

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

1 Answer 1

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

mySandbox[ResourceLoader|dependencies=mediawiki.util,mediawiki.Title,mediawiki.Uri|default|rights=createpage]|mySandbox.js

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

 
discard

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.