Jump to content

User:Equazcion/sandbox1: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
 
(11 intermediate revisions by the same user not shown)
Line 15: Line 15:
After installation, [[Wikipedia:bypass your cache|bypass your cache]] to make sure the changes take effect.
After installation, [[Wikipedia:bypass your cache|bypass your cache]] to make sure the changes take effect.


=== Automated installation ===
=== Automated script installer ===
* {{userscript|doc=User:Equazcion/ScriptInstaller|code=User:Equazcion/ScriptInstaller|name=ScriptInstaller|noautoinstall=yes}} - An automated userscript installer. This installer itself must be installed manually, but afterward, an automated script installation interface will display on this page, and at [[WP:US]].
* See [[User:Equazcion/ScriptInstaller]] for instructions.


== Additional notes ==
== Additional notes ==
Line 182: Line 182:
* {{userscript|code=strategywiki:User talk:Najzere/edit counter.js|name=Edit counter}} – Adds a link to the toolbox to calculate your edits by namespace and write them to a table in your userspace.
* {{userscript|code=strategywiki:User talk:Najzere/edit counter.js|name=Edit counter}} – Adds a link to the toolbox to calculate your edits by namespace and write them to a table in your userspace.
** {{userscript|doc=User:Kanegasi/editcounter|code=User:Kanegasi/editcounter.js|name=Completely overhauled version}}.
** {{userscript|doc=User:Kanegasi/editcounter|code=User:Kanegasi/editcounter.js|name=Completely overhauled version}}.
* {{userscript|doc=User:Bility/statusupdate|code=User:Bility/statusupdate|name=Status updater}} – Click on a status from a list visible to you or everyone to change your status.
* {{userscript|doc=User:Bility/statusupdate|code=User:Bility/statusupdate.js|name=Status updater}} – Click on a status from a list visible to you or everyone to change your status.


== Images ==
== Images ==


* [[User:Dapete/ImageMapEdit.js|ImageMapEdit]] – Adds a tool on image pages that allows the user to create and organize [[Wikipedia:Imagemap|imagemaps]] much more easily.
* {{userscript|code=User:Dapete/ImageMapEdit.js|name=ImageMapEdit}} – Adds a tool on image pages that allows the user to create and organize [[Wikipedia:Imagemap|imagemaps]] much more easily.
* [[User:Dschwen/MegapixelDisplay.js|MegapixelDisplay]] – Displays the number of megapixels (10<sup>6</sup> pixels) on the image page.
* {{userscript|code=User:Dschwen/MegapixelDisplay.js|name=MegapixelDisplay}} – Displays the number of megapixels (10<sup>6</sup> pixels) on the image page.


== Listings ==
== Listings ==
Line 193: Line 193:
''Also see [[WP:CUSTOMWATCH]] for a list of possible Watchlist customizations.''
''Also see [[WP:CUSTOMWATCH]] for a list of possible Watchlist customizations.''


* [[User:UncleDouggie/smart watchlist.js|Smart Watchlist]] – Watchlist customization and organization.
* {{userscript|code=User:UncleDouggie/smart watchlist.js|name=Smart Watchlist}} – Watchlist customization and organization.
* [[User:Js/watchlist|Watchlist Links]] – Adds some useful links to your Watchlist.
* {{userscript|code=User:Js/watchlist.js|doc=User:Js/watchlist|name=Watchlist Links}} – Adds some useful links to your Watchlist.
* [[User:Ais523/catwatch.js|Catwatch]] – Shows the addition of pages to specified categories on your watchlist.
* {{userscript|code=User:Ais523/catwatch.js|name=Catwatch}} – Shows the addition of pages to specified categories on your watchlist.
* [[User:Yair rand/interwikiwatchlist.js|Interwiki Watchlist]] – adds interwiki watchlists to your watchlist; supports only a few popular wikis.
* {{userscript|code=User:Yair rand/interwikiwatchlist.js|name=Interwiki Watchlist}} – adds interwiki watchlists to your watchlist; supports only a few popular wikis.
* [[User:Equazcion/RemoveMarkAll|RemoveMarkAll]] – Completely disables the recent Watchlist and History page changes that highlight updates to pages since your last visit.
* {{userscript|code=User:Equazcion/RemoveMarkAll.js|doc=User:Equazcion/RemoveMarkAll|name=RemoveMarkAll}} – Completely disables the recent Watchlist and History page changes that highlight updates to pages since your last visit.
* [[User:Equazcion/ReverseMarked|ReverseMarked]] – Lets you know which watchlist changes you've already checked by fading out viewed items.
* {{userscript|code=User:Equazcion/ReverseMarked.js|doc=User:Equazcion/ReverseMarked|name=ReverseMarked}} – Lets you know which watchlist changes you've already checked by fading out viewed items.
* [[User:Equazcion/LagToMinutes|LagToMinutes]] – When "High database server lag" message shows up, this script displays the total days/hours/minutes/seconds of the lag, in addition to the default total seconds display.
* {{userscript|doc=User:Equazcion/LagToMinutes|code=User:Equazcion/LagToMinutes.js|name=LagToMinutes}} – When "High database server lag" message shows up, this script displays the total days/hours/minutes/seconds of the lag, in addition to the default total seconds display.
* [[User:קיפודנחש/watchlistMark.js|Watchlist mark]] - Bolds watched pages in Category and "User Contributions" listings. Also adds a "Show watchlist controls" link to enable watching and unwatching directly from these listings.
* {{userscript|code=User:קיפודנחש/watchlistMark.js|name=Watchlist mark}} - Bolds watched pages in Category and "User Contributions" listings. Also adds a "Show watchlist controls" link to enable watching and unwatching directly from these listings.
* [[User:קיפודנחש/watchlistScout.js|Watchlist scout]] – Polls your watchlist when you open any wikipedia page, and then once a minute after that. When it discovers a new, unread page in your watchlist, creates a user-message informing you of the change, and stops polling. The message contains links to your watchlist, to the changed pages, and to their history page.
* {{userscript|code=User:קיפודנחש/watchlistScout.js|name=Watchlist scout}} – Polls your watchlist when you open any wikipedia page, and then once a minute after that. When it discovers a new, unread page in your watchlist, creates a user-message informing you of the change, and stops polling. The message contains links to your watchlist, to the changed pages, and to their history page.
* [[User:PiRSquared17/rcexpander.js|Enhanced RC expander]] - Automatically expands watchlist/RecentChanges/RelatedChanges links in enhanced RC mode. Also adds a button to collapse all, similar to "Watchlist Links" above, which apparently isn't working currently.
* {{userscript|code=User:PiRSquared17/rcexpander.js|name=Enhanced RC expander}} - Automatically expands watchlist/RecentChanges/RelatedChanges links in enhanced RC mode. Also adds a button to collapse all, similar to "Watchlist Links" above, which apparently isn't working currently.


=== History ===
=== History ===


* [[User:Equazcion/ActiveWatchers|ActiveWatchers]] – Adds a link to History pages, next to the "Number of watchers" link, to show the number of active users watching the page ("active" defined as users who have logged in within the last 30 days).
* {{userscript|code=User:Equazcion/ActiveWatchers.js|doc=User:Equazcion/ActiveWatchers|name=ActiveWatchers}} – Adds a link to History pages, next to the "Number of watchers" link, to show the number of active users watching the page ("active" defined as users who have logged in within the last 30 days).
* [[User:Bility/convert24hourtime|Convert from 24-hour]] – Changes times in user contributions and history pages to use 12-hour AM/PM clock.
* {{userscript|code=User:Bility/convert24hourtime.js|doc=User:Bility/convert24hourtime|name=Convert from 24-hour}} – Changes times in user contributions and history pages to use 12-hour AM/PM clock.


=== Categories ===
=== Categories ===


* [[User:Equazcion/CatListMainTalkLinks|CatListMainTalkLinks]]&nbsp;– Adds a link to each page's associate Talk: or main page.
* {{userscript|code=User:Equazcion/CatListMainTalkLinks.js|doc=User:Equazcion/CatListMainTalkLinks|name=CatListMainTalkLinks}} – Adds a link to each page's associate Talk: or main page.
* [[User:קיפודנחש/cat-a-lot.js|Cat-A-Lot]]&nbsp;– extremely powerful category editing tool from Commons. Recently this tool learned how to work with regular articles, not just files. this is a wrapper that set the setting variable to enable non-file categorization, and loads the latest cat-a-lot from Commons.
* {{userscript|code=User:קיפודנחש/cat-a-lot.js|name=Cat-A-Lot}} – extremely powerful category editing tool from Commons. Recently this tool learned how to work with regular articles, not just files. this is a wrapper that set the setting variable to enable non-file categorization, and loads the latest cat-a-lot from Commons.


=== Logs ===
=== Logs ===


* [[User:TheJosh/Scripts/New Page Patroller|New Page Patroller]] – Adds another box to the sidebar that shows a regularly updated list of [[Wikipedia:New pages patrol|new pages]]
* {{userscript|doc=User:TheJosh/Scripts/New Page Patroller|code=User:TheJosh/Scripts/NewPagePatrol.js|name=New Page Patroller}} – Adds another box to the sidebar that shows a regularly updated list of [[Wikipedia:New pages patrol|new pages]]


=== Contributions ===
=== Contributions ===


* [[User:Markhurd/hidetopcontrib|Hide Top Contribs]] – Does the opposite of the "Only show edits that are latest revisions" checkbox. (There is also an it.wikipedia.org-specific [[:it:User:Markhurd/hidetopcontrib.js|version]], which has some "special" problems with some skins, but it still displays somewhere!)
* {{userscript|code=User:Markhurd/hidetopcontrib.js|doc=User:Markhurd/hidetopcontrib|name=Hide Top Contribs}} – Does the opposite of the "Only show edits that are latest revisions" checkbox. (There is also an it.wikipedia.org-specific [[:it:User:Markhurd/hidetopcontrib.js|version]], which has some "special" problems with some skins, but it still displays somewhere!)
* [[User:Bility/convert24hourtime|Convert from 24-hour]] – Changes times in user contributions and history pages to use 12-hour AM/PM clock.
* {{userscript|code=User:Bility/convert24hourtime.js|doc=User:Bility/convert24hourtime|name=Convert from 24-hour}} – Changes times in user contributions and history pages to use 12-hour AM/PM clock.


=== Recent Changes ===
=== Recent Changes ===
* [[User:Kangaroopower/Scripts|AjaxRC]] - Automatically refreshes the Recent Changes every 60 seconds using [[Ajax]].
* {{userscript|code=User:Kangaroopower/ajaxMove.js|doc=User:Kangaroopower/Scripts|name=AjaxRC}} - Automatically refreshes the Recent Changes every 60 seconds using [[Ajax]].
* [[User:PiRSquared17/rcexpander.js|Enhanced RC expander]] - Automatically expands watchlist/RecentChanges/RelatedChanges links in enhanced RC mode. Also adds a button to collapse all, similar to "Watchlist Links" above, which apparently isn't working currently.
* {{userscript|code=User:PiRSquared17/rcexpander.js|name=Enhanced RC expander}} - Automatically expands watchlist/RecentChanges/RelatedChanges links in enhanced RC mode. Also adds a button to collapse all, similar to "Watchlist Links" above, which apparently isn't working currently.


=== Todo lists ===
=== Todo lists ===
* [[User:קיפודנחש/pageCollector|Page Collector]] − Buttons to add a link to the current page to predefined "todo" list.
* {{userscript|code=User:קיפודנחש/pageCollector.js|doc=User:קיפודנחש/pageCollector|name=Page Collector}} − Buttons to add a link to the current page to predefined "todo" list.


== WikiProject-specific ==
== WikiProject-specific ==


* [[User:Shubinator/DYKcheck|DYK Check]] – Tool for checking [[WP:DYK|Did You Know]] eligibility.
* {{userscript|doc=User:Shubinator/DYKcheck|code=User:Shubinator/DYKcheck.js|name=DYK Check}} – Tool for checking [[WP:DYK|Did You Know]] eligibility.
* [[User:Smith609/taxonomy.js|Update Child Lists]] – Adds a link to the toolbox that instructs a [[User:Taxobot|Taxobot]] to update the child list for a taxonomy template.
* {{userscript|code=User:Smith609/taxonomy.js|name=Update Child Lists}} – Adds a link to the toolbox that instructs a [[User:Taxobot|Taxobot]] to update the child list for a taxonomy template.
* [[Wikipedia:WikiProject Articles for creation/Helper script|Yet another Articles for creation helper script]] – Easily review Articles for creation article, redirect, and category submissions.
* {{userscript|doc=Wikipedia:WikiProject Articles for creation/Helper script|name=Yet another Articles for creation helper script}} – Easily review Articles for creation article, redirect, and category submissions.


== Meta-scripts ==
== Meta-scripts ==


* {{userscript|doc=User:Equazcion/ScriptInstaller|code=User:Equazcion/ScriptInstaller|name=ScriptInstaller}} - An automated installer for Wikipedia userscripts.
* [[Wikipedia:User script sandbox/Installation|User script sandbox]] – Allows you to carry out experiments with user JS and CSS code locally – that is, without saving it to your user JS/CSS page first. Does not work in Internet Explorer before version 8.
* {{userscript|doc=Wikipedia:User script sandbox/Installation|name=User script sandbox}} – Allows you to carry out experiments with user JS and CSS code locally – that is, without saving it to your user JS/CSS page first. Does not work in Internet Explorer before version 8.


==Non-Vector only==
==Non-Vector only==
* [[User:Dipankan001/Edit Count.js|Edit Count]] – Adds a quick link in the ''toolbar'' for checking one's edit count. (Especially for those who have editcountitis!)
* {{userscript|code=User:Dipankan001/Edit Count.js|name=Edit Count}} – Adds a quick link in the ''toolbar'' for checking one's edit count. (Especially for those who have editcountitis!)
* [[User:JeremyMcCracken/ContribsTab|Contribs Tab]] – Adds a contributions tab on user and user talk pages.
* {{userscript|code=User:JeremyMcCracken/contribstab.js|doc=User:JeremyMcCracken/ContribsTab|name=Contribs Tab}} – Adds a contributions tab on user and user talk pages.
* [[User:TheJosh/Scripts/Recent Change Patroller|RC Patroller]] – Adds a porlet to the sidebar that shows a regularly updated list of recent changes
* {{userscript|code=User:TheJosh/Scripts/RecentChangesPatrol.js|doc=User:TheJosh/Scripts/Recent Change Patroller|name=RC Patroller}} – Adds a porlet to the sidebar that shows a regularly updated list of recent changes
* [[User:Animum/EasyBlock|EasyBlock]] – Adds a "block" tab to user pages, contribs pages, and diff pages. Comes with built-in block rationales and expiry times, as well as a "custom block" option. '''This script ''will not work'' if you are ''NOT'' an administrator.'''
* {{userscript|doc=User:Animum/EasyBlock|code=User:Animum/easyblock.js|name=EasyBlock}} – Adds a "block" tab to user pages, contribs pages, and diff pages. Comes with built-in block rationales and expiry times, as well as a "custom block" option. '''This script ''will not work'' if you are ''NOT'' an administrator.'''
* [[User:Barticus88/WhatLinksHere.js|WhatLinksHere enhancement]] – Adds tabs to WhatLinksHere pages which allow a user to filter the list of links. Designed years ago with [[WP:DPL|disambiguation]] in mind, and duplicates many features since added to the standard WLH page. Quick way to get counts of links by type.
* {{userscript|code=User:Barticus88/WhatLinksHere.js|name=WhatLinksHere enhancement}} – Adds tabs to WhatLinksHere pages which allow a user to filter the list of links. Designed years ago with [[WP:DPL|disambiguation}} in mind, and duplicates many features since added to the standard WLH page. Quick way to get counts of links by type.


== Libraries ==
== Libraries ==

Latest revision as of 04:57, 2 October 2013

 Project Page Talk Page Scripts Tutorial Members 
See this help page for more information on Wikipedia scripting. Also see Wikipedia:WikiProject User scripts/Old list of scripts for the script list that appeared on this page prior to 1 May 2012.

User scripts are customizations authored by the community that allow registered Wikipedia users to change Wikipedia's interface beyond the options available in preferences. This page provides a list of available scripts and provides instructions on installing them. User scripts are written in JavaScript.

Installation

[edit]

There are generally 3 steps to script installation:

  • First, make sure you are registered and logged in. Only logged-in users can install scripts.
  • Navigate to Special:MyPage/common.js to see and edit your personal ".js" page. Alternatively, you may use Special:MyPage/skin.js to work only with the .js page that applies to your current skin.
  • Edit your .js page and add the following line: importScript('full_script_page_name'); then save the page. For example, to install the Sharebox script, add the following line:
    importScript('User:TheDJ/sharebox.js');

After installation, bypass your cache to make sure the changes take effect.

Automated script installer

[edit]
  • ScriptInstaller (source) - An automated userscript installer. This installer itself must be installed manually, but afterward, an automated script installation interface will display on this page, and at WP:US.

Additional notes

[edit]
  • Many scripts are designed and tested primarily with the Vector skin (Wikipedia's current default skin).
  • If the script is not located on this wiki, you can use mw.loader.load() function to include it from there as shown in the following example. Take note of the explicit action= and ctype= options added to the URL. For example: mw.loader.load('//en.wikipedia.org/enwiki/w/index.php?title=script.js&action=raw&ctype=text/javascript');
  • Some user scripts are made into gadgets; you can install them simply by selecting a checkbox in your Preferences.
  • See Wikipedia:WikiProject User scripts/Old list of scripts for the script list that appeared on this page prior to 1 May 2012. It contains an extensive list of scripts that haven't been confirmed working recently.
  • See Category:Wikipedia scripts for the most exhaustive list of user scripts.

Vector compatible

[edit]

Multifunction tools

[edit]

Several different types of tools in one script.

Site-wide appearance

[edit]

For reading

[edit]

Scripts that offer superficial site-wide changes to ease browsing.

  • ReferenceTooltips[2] (source) – Adds tooltips to inline citations, so you don't need to jump away from the article text for reference information. Enable through Preferences → Gadgets → ReferenceTooltips
  • Sharebox[3] (source) – Adds social networking share buttons.
  • Hide Vector Sidebar[4] (source) – Hides the left sidebar in Vector. Can access the sidebar anytime by alt-shift-a.
  • SidebarTranslate[5] (source) – Translates sidebar language links into English, adds Google Translate links.
  • Smaller Templates[6] (source) – Makes maintenance templates appear smaller, both horizontally and vertically.
  • Subject's Age From Year[7] (source) – Roll over any year in an article about a dated subject and see the age of that subject that year.
  • mathJax (source) – High-quality LaTeX font typesetting via MathJax.
  • wiktLookup[8] (source) – Double-click a word, and go to its definition on Wiktionary.
  • FloatingTOC[9] (source) – Makes the Table of Contents float at the bottom left of the page, so you don't need to scroll back up to the top.
  • goToTop[10] (source) - (Handy for phones) Adds a small button to the left of the page which moves to the top of the page instead of having to scroll there. If you installed this before May 2013, you will need to reinstall it.
  • Floater[11] (source) - A discreet floating toolbar that appears when scrolling down a Wikipedia page, providing convenient access to the tools that appear at page tops.
[edit]

Modify the site's search bar.

  • SearchNamespace[12] (source) – Adds a pulldown menu next to the quick search bar allowing selection of namespace to search in.
  • Open search in new tab[13] (source) – Use Ctrl-click (PC) or Command-click (Mac) to open search results list or suggestions in new tab.
  • Open search in new tab automatically[14] (source) – Open search results list or suggestions in new tab automatically.
  • Google Title[15] (source) – Adds a link next to an article's title to search Google for that title in a new tab.

For editing

[edit]

Scripts that offer superficial site-wide changes aimed at those who edit actively or participate in discussions.

Inline

[edit]
  • Link Classifier[16] (source) – Colors links on the page to indicate redirects, broken redirects, disambiguation pages, and XfDs by default.
  • Duplinks[17] (source) – Highlights links that occur more than once in an article (separate for lead and body).
  • Copy section link[18] (source) – Adds a linked pilcrow on section header mouseover for making section links faster/easier.
  • Autolink[19] (source) – Makes plaintext [[wikilinks]], {{transclusions}}, and URLs clickable where they normally aren't (ae. in the History tab and on .js pages).
  • intropreload[20] (source) - shows links next to page title to the edit intro and preloaded content (if they exist)
  • WikiTrust – Click on text in an article to get information about who added that text, and when. Uses data from the WikiTrust project.

Discussion oriented

[edit]
[edit]
  • Menu Tabs Toggle[28] (source) – Toggle between drop down menus and tabs in Vector. Preferences → Gadgets → Enable toggling between tabs and dropdown menus in the Vector skin.
  • Menu To Tabs[29] (source) – Same as Dropdown To Tabs, but uses jQuery.
  • 6 Tabs Vector[30] (source) – Shows edit and history tabs for both main and talk pages while viewing either one.

Toolbox

[edit]

Scripts that add links to the toolbar that display additional information or highlight things.

  • dabfinder[31] (source) - adds two link in the toolbox, one that highlights redirects and one that highlights disambiguation links.
  • New Pages[32] (source) – Adds a link "Patrol New Pages" link in the toolbox.
  • Sidebar History Tools[33] (source) – Brings the History page's Toolserver links (plus the Page logs link) to the sidebar, so you don't need to navigate to the History page first to see them.
  • Prose Size[34] (source) – Adds a link to the sidebar's toolbox to view various page size statistics. Although useful for DYK, see DYKcheck for a more durable build.

Editing

[edit]

Scripts that add to or refine editors' toolsets.

Editing interface

[edit]

Scripts that enrich the site's editing interface or change the way it executes.

Inline

[edit]

Previewing

[edit]

Extra functions

[edit]
  • Save&Edit[50] (source) – adds a small button to save the actual content and goes directly to the edit page again.
  • Split Edit Summary Box[51] (source) – Creates a separate edit summary box for the name of the edited section, making the browser's autocomplete function more useful.
  • Custom Summary Presets[52] (source) – Adds a menu below the edit summary line where you can choose from your own preset edit summaries.
  • Math editor[53] (source) – Adds math editor for enhanced editing toolbar, which provides online preview while typing equations.
  • Table Editor[54] (source) – add table editing helpers to the toolbar
  • cksyntax[55] (source) – checks edited JavaScript for syntax errors before saving
  • TemplateData Editor[56] (source) - Adds a link in the toolbox for editing <templatedata>...</templatedata> tags in templates.

Cleanup

[edit]

Scripts docked to the toolbox that, when executed, automatically clean up the page in some manner.

References

[edit]

Scripts specific to page referencing.

  • ProveIt GT – Popup forms to navigate and fill in references. Enable with Preferences → Gadgets → ProveIt
  • editRefs[65] (source) - Adds a link to the toolbox which, when clicked, searches the article references and presents them in textboxes for ease of editing. More basic but faster and less intrusive alternative to ProveIt.
  • HarvErrors[66] (source) – Displays errors when using Harv templates
  • SnipManager[67] (source) – Toolbar with forms to fill in references.
  • Sources[68] (source) – Aims for compliance with Help:Citation Style 1, WP:ITALICS: ensures consistency of source names, and general tidying within the reference section.

Vandalism

[edit]
  • rollbackSum[69] (source) – Rollback summary.
  • Rollback All[70] (source) – Revert all contributions of a user
  • Mass Rollback controlled[71] (source) – Rollback selected contributions of a user or all contribs of a user
  • Igloo[72] (source) – Anti-vandal javascript GUI
  • No Vandalism[73] (source), a simple script catching edits with Repeating characters filter on them.
  • Rollback "in place"[74] (source) - Changes the behavior of "rollback" link: instead of jumping to the diff page, leaves you in the same page. Together with Gadget popup, this can make vandalism-fighting slightly more efficient. In addition, right-clicking the "rollback" link will let you enter a summary, instead of the standard rollback summary.
  • Vandal warning toolbox[75] (source) - Quick links to standard warning messages in the Toolbox when editing a user talk page.
  • Ajax Undo[76] (source) - Adds an Ajax undo link next to the normal undo link on page histories and on diff pages.
  • Ajax Rollback[77] (source) - Turns rollback links into AJAX rollback links.

Diffs

[edit]
  • wikEdDiff[78] (source) – Adds additional functionality to diff display. Part of User:Cacycle/wikEd.js. Enabled when WikEd is enabled or through Preferences → Gadgets → wikEdDiff
  • Diff Time[79] (source) – Adds time between diffs and time since each revision.
  • Link Intermediate Revisions[80] (source) – Links the "intermediate revisions" message so it can be clicked to see a history listing of those revisions.
  • In-place diffs[81] (source) - Adds buttons to each line on the Recent Changes screen, the watchlist, the contributions screen, and article history screens, allowing one to load (and show/hide after loading) an individual diff without moving to another page and view multiple diffs at once.
  • User History with in-place diffs[82] (source) - Modification of Ale jrb's original UserHist script, which allows filtering of an article's edit history by author name, to add the inline diff functionality, as with the "In-place diffs" script above. (Note that the "In-place diffs" script is not required to use this one, but there is no overlap between the two; this one does not replace the general "In-place diffs" functionality).
  • LiveDiffLink[83] (source) – Show a live-updated diff link at the top of History pages while you select revisions, so you don't need to actually load the diff to get a diff link.

User pages

[edit]

Images

[edit]
  • ImageMapEdit[93] (source) – Adds a tool on image pages that allows the user to create and organize imagemaps much more easily.
  • MegapixelDisplay[94] (source) – Displays the number of megapixels (106 pixels) on the image page.

Listings

[edit]

Watchlist

[edit]

Also see WP:CUSTOMWATCH for a list of possible Watchlist customizations.

  • Smart Watchlist[95] (source) – Watchlist customization and organization.
  • Watchlist Links[96] (source) – Adds some useful links to your Watchlist.
  • Catwatch[97] (source) – Shows the addition of pages to specified categories on your watchlist.
  • Interwiki Watchlist[98] (source) – adds interwiki watchlists to your watchlist; supports only a few popular wikis.
  • RemoveMarkAll[99] (source) – Completely disables the recent Watchlist and History page changes that highlight updates to pages since your last visit.
  • ReverseMarked[100] (source) – Lets you know which watchlist changes you've already checked by fading out viewed items.
  • LagToMinutes[101] (source) – When "High database server lag" message shows up, this script displays the total days/hours/minutes/seconds of the lag, in addition to the default total seconds display.
  • Watchlist mark[102] (source) - Bolds watched pages in Category and "User Contributions" listings. Also adds a "Show watchlist controls" link to enable watching and unwatching directly from these listings.
  • Watchlist scout[103] (source) – Polls your watchlist when you open any wikipedia page, and then once a minute after that. When it discovers a new, unread page in your watchlist, creates a user-message informing you of the change, and stops polling. The message contains links to your watchlist, to the changed pages, and to their history page.
  • Enhanced RC expander[104] (source) - Automatically expands watchlist/RecentChanges/RelatedChanges links in enhanced RC mode. Also adds a button to collapse all, similar to "Watchlist Links" above, which apparently isn't working currently.

History

[edit]
  • ActiveWatchers[105] (source) – Adds a link to History pages, next to the "Number of watchers" link, to show the number of active users watching the page ("active" defined as users who have logged in within the last 30 days).
  • Convert from 24-hour[106] (source) – Changes times in user contributions and history pages to use 12-hour AM/PM clock.

Categories

[edit]
  • CatListMainTalkLinks[107] (source) – Adds a link to each page's associate Talk: or main page.
  • Cat-A-Lot[108] (source) – extremely powerful category editing tool from Commons. Recently this tool learned how to work with regular articles, not just files. this is a wrapper that set the setting variable to enable non-file categorization, and loads the latest cat-a-lot from Commons.

Logs

[edit]

Contributions

[edit]
  • Hide Top Contribs[110] (source) – Does the opposite of the "Only show edits that are latest revisions" checkbox. (There is also an it.wikipedia.org-specific version, which has some "special" problems with some skins, but it still displays somewhere!)
  • Convert from 24-hour[111] (source) – Changes times in user contributions and history pages to use 12-hour AM/PM clock.

Recent Changes

[edit]
  • AjaxRC[112] (source) - Automatically refreshes the Recent Changes every 60 seconds using Ajax.
  • Enhanced RC expander[113] (source) - Automatically expands watchlist/RecentChanges/RelatedChanges links in enhanced RC mode. Also adds a button to collapse all, similar to "Watchlist Links" above, which apparently isn't working currently.

Todo lists

[edit]

WikiProject-specific

[edit]

Meta-scripts

[edit]
  • ScriptInstaller[117] (source) - An automated installer for Wikipedia userscripts.
  • User script sandbox – Allows you to carry out experiments with user JS and CSS code locally – that is, without saving it to your user JS/CSS page first. Does not work in Internet Explorer before version 8.

Non-Vector only

[edit]
  • Edit Count[118] (source) – Adds a quick link in the toolbar for checking one's edit count. (Especially for those who have editcountitis!)
  • Contribs Tab[119] (source) – Adds a contributions tab on user and user talk pages.
  • RC Patroller[120] (source) – Adds a porlet to the sidebar that shows a regularly updated list of recent changes
  • EasyBlock[121] (source) – Adds a "block" tab to user pages, contribs pages, and diff pages. Comes with built-in block rationales and expiry times, as well as a "custom block" option. This script will not work if you are NOT an administrator.
  • WhatLinksHere enhancement[122] (source) – Adds tabs to WhatLinksHere pages which allow a user to filter the list of links. Designed years ago with [[WP:DPL|disambiguation}} in mind, and duplicates many features since added to the standard WLH page. Quick way to get counts of links by type.

Libraries

[edit]

These functions can be included directly in a script but don't do anything unless called by some other code. The functions marked as deprecated have been rendered obsolete by new features added to MediaWiki, and only exist now as wrappers for compatibility with existing code.

(Template)

Documentation Summary
Add LI menu Allow "tabs" to be placed in drop-down menus (can be nested). Requires some CSS customisations
warn.js Gives a prompt to add any template (supposed to be used for warning vandals)
Get user name Gets the username corresponding to the current page
MD5 2.2-alpha Calculates the RSA Data Security, Inc. MD5 Message Digest of a string. Supports UTF-8
gui.htmlEdit A WYSIWYG HTML editing control. See documentation
edit.multiReplace Class to simplify the replacement of several different regular expressions, each with its own substitution. See documentation
morebits.js A collection of wiki-related functions (such as editing via the API and displaying Twinkle-style windows), maintained as part of Twinkle (but usable separately)

Stylesheets

[edit]

CSS code in this section is added slightly differently to JavaScript code. The code can be imported by adding {{subst:css|Page_name}} to your monobook.js, or the code can be @imported into your monobook.css. You can just paste the source code if you do not wish to receive updates to the code when it is improved.

Name and link Purpose Compatible skins
externals Replaces the external link icon with the corresponding favicon (works for some links)
VectorButtons Give those boring gray standard buttons a Vector-like appearance All

Obsolete/non working scripts

[edit]
  1. ^ Copy the following code, edit your user JavaScript, then paste:
    {{subst:lusc|1=User:Lupin/popups.js}}
  2. ^ Copy the following code, edit your user JavaScript, then paste:
    {{subst:lusc|1=User:Yair rand/ReferenceTooltips.js}}
  3. ^ Copy the following code, edit your user JavaScript, then paste:
    {{subst:lusc|1=User:TheDJ/sharebox.js}}
  4. ^ Copy the following code, edit your user JavaScript, then paste:
    {{subst:lusc|1=User:PleaseStand/hide-vector-sidebar.js}}
  5. ^ Copy the following code, edit your user JavaScript, then paste:
    {{subst:lusc|1=User:Equazcion/SidebarTranslate.js}}
  6. ^ Copy the following code, edit your user JavaScript, then paste:
    {{subst:lusc|1=User:Gary King/smaller templates.js}}
  7. ^ Copy the following code, edit your user JavaScript, then paste:
    {{subst:lusc|1=User:Gary King/subjects age from year.js}}
  8. ^ Copy the following code, edit your user JavaScript, then paste:
    {{subst:lusc|1=User:Bawolff/wiktLookup.js}}
  9. ^ Copy the following code, edit your user JavaScript, then paste:
    {{subst:luss|1=User:Osarius/FloatingTOC.css}}
  10. ^ Copy the following code, edit your user JavaScript, then paste:
    {{subst:lusc|1=User:Numbermaniac/goToTop.js}}
  11. ^ Copy the following code, edit your user JavaScript, then paste:
    {{subst:lusc|1=User:Equazcion/Floater.js}}
  12. ^ Copy the following code, edit your user JavaScript, then paste:
    {{subst:lusc|1=User:Writ Keeper/Scripts/SearchNamespace.js}}
  13. ^ Copy the following code, edit your user JavaScript, then paste:
    {{subst:lusc|1=commons:MediaWiki talk:Gadget-search-new-tab.js}}
  14. ^ Copy the following code, edit your user JavaScript, then paste:
    {{subst:lusc|1=commons:MediaWiki talk:Search-results-new-tab.js}}
  15. ^ Copy the following code, edit your user JavaScript, then paste:
    {{subst:lusc|1=User:Writ Keeper/Scripts/googleTitle.js}}
  16. ^ Copy the following code, edit your user JavaScript, then paste:
    {{subst:lusc|1=User:Anomie/linkclassifier.js}}
  17. ^ Copy the following code, edit your user JavaScript, then paste:
    {{subst:lusc|1=User:Ucucha/duplinks.js}}
  18. ^ Copy the following code, edit your user JavaScript, then paste:
    {{subst:lusc|1=User:Bility/copySectionLink.js}}
  19. ^ Copy the following code, edit your user JavaScript, then paste:
    {{subst:lusc|1=User:Lenore/autolink.js}}
  20. ^ Copy the following code, edit your user JavaScript, then paste:
    {{subst:lusc|1=User:Huji/Gadget-intropreload.js}}
  21. ^ Copy the following code, edit your user JavaScript, then paste:
    {{subst:lusc|1=User:Gary King/nominations viewer.js}}
  22. ^ Copy the following code, edit your user JavaScript, then paste:
    {{subst:lusc|1=User:Ais523/adminrights.js}}
  23. ^ Copy the following code, edit your user JavaScript, then paste:
    {{subst:lusc|1=User:NuclearWarfare/Mark-blocked script.js}}
  24. ^ Copy the following code, edit your user JavaScript, then paste:
    {{subst:lusc|1=User:Ais523/votesymbols.js}}
  25. ^ Copy the following code, edit your user JavaScript, then paste:
    {{subst:lusc|1=User:PleaseStand/highlight-comments.js}}
  26. ^ Copy the following code, edit your user JavaScript, then paste:
    {{subst:lusc|1=User:Writ Keeper/Scripts/deletionFinder.js}}
  27. ^ Copy the following code, edit your user JavaScript, then paste:
    {{subst:lusc|1=User:Kephir/gadgets/unclutter.js}}
  28. ^ Copy the following code, edit your user JavaScript, then paste:
    {{subst:lusc|1=User:Edokter/MenuTabsToggle.js}}
  29. ^ Copy the following code, edit your user JavaScript, then paste:
    {{subst:lusc|1=User:Edokter/MenuToTabs.js}}
  30. ^ Copy the following code, edit your user JavaScript, then paste:
    {{subst:lusc|1=User:js/6tabs-vector.js}}
  31. ^ Copy the following code, edit your user JavaScript, then paste:
    {{subst:lusc|1=User:Splarka/dabfinder.js}}
  32. ^ Copy the following code, edit your user JavaScript, then paste:
    {{subst:lusc|1=User:Dipankan001/New pages.js}}
  33. ^ Copy the following code, edit your user JavaScript, then paste:
    {{subst:lusc|1=User:Equazcion/SidebarHistoryTools.js}}
  34. ^ Copy the following code, edit your user JavaScript, then paste:
    {{subst:lusc|1=User:Dr pda/prosesize.js}}
  35. ^ Copy the following code, edit your user JavaScript, then paste:
    {{subst:lusc|1=User:The Evil IP address/hdedit.js}}
  36. ^ Copy the following code, edit your user JavaScript, then paste:
    {{subst:lusc|1=User:Ais523/watchlistnotifier.js}}
  37. ^ Copy the following code, edit your user JavaScript, then paste:
    {{subst:lusc|1=User:Equazcion/NoEditSandbox.js}}
  38. ^ Copy the following code, edit your user JavaScript, then paste:
    {{subst:lusc|1=User:Equazcion/ToggleEditNotices}}
  39. ^ Copy the following code, edit your user JavaScript, then paste:
    {{subst:lusc|1=User:Kephir/gadgets/sagittarius.js}}
  40. ^ Copy the following code, edit your user JavaScript, then paste:
    {{subst:lusc|1= User:Cacycle/wikEd.js}}
  41. ^ Copy the following code, edit your user JavaScript, then paste:
    {{subst:lusc|1=User:Cameltrader/Advisor.js}}
  42. ^ Copy the following code, edit your user JavaScript, then paste:
    {{subst:lusc|1=User:ערן/autocomplete.js}}
  43. ^ Copy the following code, edit your user JavaScript, then paste:
    {{subst:lusc|1=User:קיפודנחש/TemplateParamWizard.js}}
  44. ^ Copy the following code, edit your user JavaScript, then paste:
    {{subst:lusc|1=User:Ais523/bracketmatch.js}}
  45. ^ Copy the following code, edit your user JavaScript, then paste:
    {{subst:lusc|1=User:Js/ajaxPreview.js}}
  46. ^ Copy the following code, edit your user JavaScript, then paste:
    {{subst:lusc|1=User:Anomie/ajaxpreview.js}}
  47. ^ Copy the following code, edit your user JavaScript, then paste:
    {{subst:lusc|1=User:Bradv/splitpreview.js}}
  48. ^ Copy the following code, edit your user JavaScript, then paste:
    {{subst:lusc|1=User:Anomie/previewtemplatelastmod.js}}
  49. ^ Copy the following code, edit your user JavaScript, then paste:
    {{subst:lusc|1=User:Equazcion/UniversalTransclusionPreviews.js}}
  50. ^ Copy the following code, edit your user JavaScript, then paste:
    {{subst:lusc|1=User:Mabdul/saveandedit.js}}
  51. ^ Copy the following code, edit your user JavaScript, then paste:
    {{subst:lusc|1=User:Svick/SectionInput.js}}
  52. ^ Copy the following code, edit your user JavaScript, then paste:
    {{subst:lusc|1=User:Equazcion/CustomSummaryPresets.js}}
  53. ^ Copy the following code, edit your user JavaScript, then paste:
    {{subst:lusc|1=User:ערן/mathjaxdialog.js}}
  54. ^ Copy the following code, edit your user JavaScript, then paste:
    {{subst:lusc|1=User:Kephir/gadgets/table-editor.js}}
  55. ^ Copy the following code, edit your user JavaScript, then paste:
    {{subst:lusc|1=User:Kephir/gadgets/cksyntax.js}}
  56. ^ Copy the following code, edit your user JavaScript, then paste:
    {{subst:lusc|1=User:NicoV/TemplateDataEditor.js}}
  57. ^ Copy the following code, edit your user JavaScript, then paste:
    {{subst:lusc|1=Wikipedia:AutoEd/basic.js}}
  58. ^ Copy the following code, edit your user JavaScript, then paste:
    {{subst:lusc|1=User:GregU/dashes.js}}
  59. ^ Copy the following code, edit your user JavaScript, then paste:
    {{subst:lusc|1=User:Ohconfucius/script/EngvarB.js}}
  60. ^ Copy the following code, edit your user JavaScript, then paste:
    {{subst:lusc|1=User:Ohconfucius/script/MOSNUM dates}}
  61. ^ Copy the following code, edit your user JavaScript, then paste:
    {{subst:lusc|1=User:Ohconfucius/script/Common Terms}}
  62. ^ Copy the following code, edit your user JavaScript, then paste:
    {{subst:lusc|1=User:Ohconfucius/script/formatgeneral.js}}
  63. ^ Copy the following code, edit your user JavaScript, then paste:
    {{subst:lusc|1=User:Waldir/formatcitations.js}}
  64. ^ Copy the following code, edit your user JavaScript, then paste:
    {{subst:lusc|1=User:King of Hearts/closexfd.js}}
  65. ^ Copy the following code, edit your user JavaScript, then paste:
    {{subst:lusc|1=User:Dr pda/editrefs.js}}
  66. ^ Copy the following code, edit your user JavaScript, then paste:
    {{subst:lusc|1=User:Ucucha/HarvErrors.js}}
  67. ^ Copy the following code, edit your user JavaScript, then paste:
    {{subst:lusc|1=User:Odie5533/SnipManager.user.js}}
  68. ^ Copy the following code, edit your user JavaScript, then paste:
    {{subst:lusc|1=User:Ohconfucius/script/Sources.js}}
  69. ^ Copy the following code, edit your user JavaScript, then paste:
    {{subst:lusc|1=User:Nageh/rollbackSum.js}}
  70. ^ Copy the following code, edit your user JavaScript, then paste:
    {{subst:lusc|1=User:John254/mass rollback.js}}
  71. ^ Copy the following code, edit your user JavaScript, then paste:
    {{subst:lusc|1=User:Kangaroopower/MRollback.js}}
  72. ^ Copy the following code, edit your user JavaScript, then paste:
    {{subst:lusc|1=Wikipedia:Igloo/gloo.js}}
  73. ^ Copy the following code, edit your user JavaScript, then paste:
    {{subst:lusc|1=User:Dipankan001/revert vandalism.js}}
  74. ^ Copy the following code, edit your user JavaScript, then paste:
    {{subst:lusc|1=User:קיפודנחש/apiRollback.js}}
  75. ^ Copy the following code, edit your user JavaScript, then paste:
    {{subst:lusc|1=User:Kbh3rd/whackamole.js}}
  76. ^ Copy the following code, edit your user JavaScript, then paste:
    {{subst:lusc|1=User:BenjaminWillJS/AjaxUndo.js}}
  77. ^ Copy the following code, edit your user JavaScript, then paste:
    {{subst:lusc|1=User:BenjaminWillJS/AjaxRollback.js}}
  78. ^ Copy the following code, edit your user JavaScript, then paste:
    {{subst:lusc|1= User:Cacycle/wikEdDiff.js}}
  79. ^ Copy the following code, edit your user JavaScript, then paste:
    {{subst:lusc|1=User:Dudemanfellabra/diffs.js}}
  80. ^ Copy the following code, edit your user JavaScript, then paste:
    {{subst:lusc|1=User:Equazcion/link intermediate revisions.js}}
  81. ^ Copy the following code, edit your user JavaScript, then paste:
    {{subst:lusc|1=User:Writ Keeper/Scripts/commonHistory.js}}
  82. ^ Copy the following code, edit your user JavaScript, then paste:
    {{subst:lusc|1=User:Writ Keeper/Scripts/userHistory.js}}
  83. ^ Copy the following code, edit your user JavaScript, then paste:
    {{subst:lusc|1=User:Equazcion/LiveDiffLink.js}}
  84. ^ Copy the following code, edit your user JavaScript, then paste:
    {{subst:lusc|1=User:PleaseStand/userinfo.js}}
  85. ^ Copy the following code, edit your user JavaScript, then paste:
    {{subst:lusc|1=User:Equazcion/sysopdetector.js}}
  86. ^ Copy the following code, edit your user JavaScript, then paste:
    {{subst:lusc|1=User:Equazcion/ContribsTabVector.js}}
  87. ^ Copy the following code, edit your user JavaScript, then paste:
    {{subst:lusc|1=User:Xenocidic/statusChanger2.js}}
  88. ^ Copy the following code, edit your user JavaScript, then paste:
    {{subst:lusc|1=User:TheDJ/qui.js}}
  89. ^ Copy the following code, edit your user JavaScript, then paste:
    {{subst:lusc|1=User:APerson/StatusChanger.js}}
  90. ^ Copy the following code, edit your user JavaScript, then paste:
    {{subst:lusc|1=strategywiki:User talk:Najzere/edit counter.js}}
  91. ^ Copy the following code, edit your user JavaScript, then paste:
    {{subst:lusc|1=User:Kanegasi/editcounter.js}}
  92. ^ Copy the following code, edit your user JavaScript, then paste:
    {{subst:lusc|1=User:Bility/statusupdate.js}}
  93. ^ Copy the following code, edit your user JavaScript, then paste:
    {{subst:lusc|1=User:Dapete/ImageMapEdit.js}}
  94. ^ Copy the following code, edit your user JavaScript, then paste:
    {{subst:lusc|1=User:Dschwen/MegapixelDisplay.js}}
  95. ^ Copy the following code, edit your user JavaScript, then paste:
    {{subst:lusc|1=User:UncleDouggie/smart watchlist.js}}
  96. ^ Copy the following code, edit your user JavaScript, then paste:
    {{subst:lusc|1=User:Js/watchlist.js}}
  97. ^ Copy the following code, edit your user JavaScript, then paste:
    {{subst:lusc|1=User:Ais523/catwatch.js}}
  98. ^ Copy the following code, edit your user JavaScript, then paste:
    {{subst:lusc|1=User:Yair rand/interwikiwatchlist.js}}
  99. ^ Copy the following code, edit your user JavaScript, then paste:
    {{subst:lusc|1=User:Equazcion/RemoveMarkAll.js}}
  100. ^ Copy the following code, edit your user JavaScript, then paste:
    {{subst:lusc|1=User:Equazcion/ReverseMarked.js}}
  101. ^ Copy the following code, edit your user JavaScript, then paste:
    {{subst:lusc|1=User:Equazcion/LagToMinutes.js}}
  102. ^ Copy the following code, edit your user JavaScript, then paste:
    {{subst:lusc|1=User:קיפודנחש/watchlistMark.js}}
  103. ^ Copy the following code, edit your user JavaScript, then paste:
    {{subst:lusc|1=User:קיפודנחש/watchlistScout.js}}
  104. ^ Copy the following code, edit your user JavaScript, then paste:
    {{subst:lusc|1=User:PiRSquared17/rcexpander.js}}
  105. ^ Copy the following code, edit your user JavaScript, then paste:
    {{subst:lusc|1=User:Equazcion/ActiveWatchers.js}}
  106. ^ Copy the following code, edit your user JavaScript, then paste:
    {{subst:lusc|1=User:Bility/convert24hourtime.js}}
  107. ^ Copy the following code, edit your user JavaScript, then paste:
    {{subst:lusc|1=User:Equazcion/CatListMainTalkLinks.js}}
  108. ^ Copy the following code, edit your user JavaScript, then paste:
    {{subst:lusc|1=User:קיפודנחש/cat-a-lot.js}}
  109. ^ Copy the following code, edit your user JavaScript, then paste:
    {{subst:lusc|1=User:TheJosh/Scripts/NewPagePatrol.js}}
  110. ^ Copy the following code, edit your user JavaScript, then paste:
    {{subst:lusc|1=User:Markhurd/hidetopcontrib.js}}
  111. ^ Copy the following code, edit your user JavaScript, then paste:
    {{subst:lusc|1=User:Bility/convert24hourtime.js}}
  112. ^ Copy the following code, edit your user JavaScript, then paste:
    {{subst:lusc|1=User:Kangaroopower/ajaxMove.js}}
  113. ^ Copy the following code, edit your user JavaScript, then paste:
    {{subst:lusc|1=User:PiRSquared17/rcexpander.js}}
  114. ^ Copy the following code, edit your user JavaScript, then paste:
    {{subst:lusc|1=User:קיפודנחש/pageCollector.js}}
  115. ^ Copy the following code, edit your user JavaScript, then paste:
    {{subst:lusc|1=User:Shubinator/DYKcheck.js}}
  116. ^ Copy the following code, edit your user JavaScript, then paste:
    {{subst:lusc|1=User:Smith609/taxonomy.js}}
  117. ^ Copy the following code, edit your user JavaScript, then paste:
    {{subst:lusc|1=User:Equazcion/ScriptInstaller}}
  118. ^ Copy the following code, edit your user JavaScript, then paste:
    {{subst:lusc|1=User:Dipankan001/Edit Count.js}}
  119. ^ Copy the following code, edit your user JavaScript, then paste:
    {{subst:lusc|1=User:JeremyMcCracken/contribstab.js}}
  120. ^ Copy the following code, edit your user JavaScript, then paste:
    {{subst:lusc|1=User:TheJosh/Scripts/RecentChangesPatrol.js}}
  121. ^ Copy the following code, edit your user JavaScript, then paste:
    {{subst:lusc|1=User:Animum/easyblock.js}}
  122. ^ Copy the following code, edit your user JavaScript, then paste:
    {{subst:lusc|1=User:Barticus88/WhatLinksHere.js}}