Jump to content

Wikipedia:User scripts/List/Header

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Equazcion (talk | contribs) at 11:50, 5 October 2013 (create). 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)

"WP:US" redirects here. For the United States project, see Wikipedia:WikiProject United States. For Manual of Style guidance on US/U.S./USA use, see Wikipedia:Manual of Style#US. Wikipedia:User scripts/List/Header/Links

Welcome to Wikiproject User scripts
Wikiproject User scripts is a special project that catalogs Wikipedia's user scripts. These are powerful customizations, authored by the community, that allow registered Wikipedians to change Wikipedia's interface beyond the options available in preferences. This page provides a list of available scripts and instructions on installing them. User scripts are written in JavaScript. Click here to skip directly to the script list.
  • Many popular scripts become gadgets, and are removed from this page. Enable them via Preferences - Gadgets. Check there first for any tool you might be looking for.
  • Most scripts are designed and tested primarily with the Vector skin, Wikipedia's current default.
  • To see the script list's edit history prior to 2013-10-04, see here.

Installation

There are four steps to script installation:

  1. First, make sure you are registered and logged in. Only logged-in users can install scripts.
  2. Click here to edit your common.js file. Alternatively, you may use your skin.js to work only your current skin.
  3. Add the following line: importScript('script_path'); -- where "script_path" is the full name of the .js page that opens when a script's "(source)" link is clicked.
    • For example, to install the Sharebox script, add the following line: importScript('User:TheDJ/sharebox.js');
    • For scripts not located on this wiki, use: mw.loader.load('//en.wikipedia.org/w/index.php?title=script.js&action=raw&ctype=text/javascript');
  4. Bypass your cache to make sure the changes take effect.

Automatic installation

  • Script Installer makes script installations automatic. The installer itself must first be installed manually, but afterwards, scripts can be installed directly from this page with a single click.