Help:My sandbox

From Wikipedia, the free encyclopedia
Jump to: navigation, search

My sandbox is a feature of Wikipedia which gives you a place to practice editing, either to build a draft for later publication in the main encyclopedia, or just to practice formatting with wiki markup syntax. If you set up a new account on Wikipedia, you will see a link in the upper right corner of the screen that says "sandbox"; this will take you to your sandbox. (If you signed up for a Wikipedia account long ago, you may not see the link, and you may need to enable it in your user preferences, as described below.)

On the technical level, the feature is implemented as a gadget. It is enabled by default; the state can be changed by setting:

Preferences → Gadgets → Add a "my sandbox" link to the personal toolbar area

The link opens a user subpage Special:MyPage/sandbox. If the page does not exist then it is opened for editing with {{User sandbox}} added to the top of the editing window. The template notifies readers that the page is a sandbox, not an article, and it prevents the page from being indexed by search engines.

Moving an existing sandbox page[edit]

If you have an existing sandbox that is not named "sandbox", then you can move it. See Help:How to move a page.


The gadget cannot be customized, but it can be disabled and a custom version created in userspace.

Edit Special:MyPage/common.js:

To create a toolbar link to Special:MyPage/Sandbox:

 'My sandbox',
 'Go to your sandbox',

To remove autoedit:

var NoEditSandbox = $('#pt-mysandbox a').slice(0,1).attr('href', '/wiki/User:' + wgUserName + '/sandbox');

My subpages[edit]

If you have multiple sandboxes or other user subpages, it may be more useful to show a list of your subpages:

Ensure you replace username with your username.
 'My subpages',
 'Show my subpages',


Proposals for My sandbox go back to at least 2008,[1] but the defining proposal was in December 2011.[2] A Gadget proposal in January 2012 resulted in the addition of My Sandbox.[3]