4

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?

0

1 Answer 1

0

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

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