Thread:Manual talk:FAQ/Sandbox link shows up for logged-out user/reply

Did you look at the gadget definition?

Both logged-in and logged-out users may have the ability to edit or create pages. And may thus want to have a sandbox.

If your wiki (like the English Wikipedia) does not permit logged-out users to create new pages, be sure to define the gadget on your configuration page as. For example, on wikipedia:MediaWiki:Gadgets-definition it is registered as:

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

Also pay attention to the  part. That must be included without changes. Otherwise the gadget may fail due to required methods not being available.