Just about every Wikimedia wiki adds a "Sandbox" link to the personal toolbar of registered users with common.js code or a default-enabled gadget. We should probably do this in PHP instead.
This would let us fix at least two problems with the JS approach (that have actually been reported as bugs here, which clearly shows that people think of this as a core feature):
- The link could be marked as red when the page doesn't exist (bug 69649)
- The link could be displayed on pages where user JS isn't allowed (bug 64517)