Jump to content

Wikipedia:User script sandbox/Installation

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by PleaseStand (talk | contribs) at 03:13, 31 January 2012 (installation snippet). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

To install the user script sandbox user script, add the following code to your skin.js or common.js page:

mw.loader.load( "//en.wikipedia.org/w/index.php?title=User:PleaseStand/userScriptSandbox.js&action=raw&ctype=text/javascript" );

Bypass your browser's cache if you need to, and then go to Wikipedia:User script sandbox to edit the contents of your local sandbox, which are not saved to a wiki page.

This script's source code is at User:PleaseStand/userScriptSandbox.js, as PleaseStand is its current maintainer. Currently, the unmodified script cannot be used on other wikis because the editor will only run on its wiki page. Be sure to leave a message if you like the script, have suggestions for improvement, or simply want to use it elsewhere.