Wikipedia programs | ||
|
|
User scripts | ||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
User scripts 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.
|
||||||||||||||||||||||
How to install user scripts: (Simple method for scripts located on English Wikipedia)
|
||||||||||||||||||||||
Automatic installer: Script Installer makes script installations fully automatic. The installer itself must first be installed manually. Afterwards, scripts can be installed with a single click. |
||||||||||||||||||||||
|
||||||||||||||||||||||
|
Site-wide appearance
For reading
Scripts that offer superficial site-wide changes to ease browsing.
- Hide Vector Sidebar[1] (source) – Hides the left sidebar in Vector. Can access the sidebar anytime by alt-shift-a.
- SimpleLightbox[2] (source) – A simple lightbox which enlarges images without leaving the page, faster and easier than Media Viewer.
- Picture Popups[3] (source) – Enlarge images without leaving the page and without disabling the page content. Doesn't work with the Modern skin.
- Smaller Templates[4] (source) – Makes maintenance templates appear smaller, both horizontally and vertically.
- Subject's Age From Year[5] (source) – Roll over any year in an article about a dated subject and see the age of that subject that year.
- wiktLookup[6] (source) – Double-click a word, and go to its definition on Wiktionary.
- goToTop[7] (source) – (Handy for phones) Adds a small button to the bottom left of the page which moves to the top of the page when tapped.
- Floater[8] (source) – A thin floating toolbar that slides smoothly into view when you scroll down any page, providing constant access to commonly used tools that normally sit at the top of pages, including the search bar.
- FloatHead[9] (source) – makes the Wikipedia head navigation floating.
- Wide Skin (source) – Hides the sidebar and transfers its links to menus and the footer. Tested with the Vector skin.
- highlightSearch[10] (source) – highlights the search key word in the selected article from the search page.
- RefToggle [11] (source) Enables removal of reference numbers in square brackets.
- Article Quality (AQ) Fetcher[12] (source) - Stylizes article links according to the grade of the target article as based on the assessment team's quality scale.
- Serendipity[13] (source) – Inserts alphabetically adjacent article content to distract you the way traditional print encyclopedias used to. Also disables newfangled hypertext features.
- Subdue Links[14] (source) - Adds a button to the to navigation menu (near the "Read" tab) to make content hyperlink text colouration turn-off-and-on-able. Doesn't effect UI links. Created for and only tested with the Vector skin.
- Link Redirect Title[15] (source) - Modifies the title heading of any redirect destination page, creating a link to the proper destination. Created for and only tested with the Vector skin.
- Toggle VF[16] (source) – Creates a voice-friendly PDF version of any Wikipedia article that can be read aloud by text-to-speech applications such as Voice Dream, TextAloud, etc.
Search
Modify the site's search bar.
- SearchNamespace[17] (source) – Adds a pulldown menu next to the quick search bar allowing selection of namespace to search in.
- Open search in new tab[18] (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[19] (source) – Open search results list or suggestions in new tab automatically.
- Google Title[20] (source) – Adds a link next to an article's title to search Google for that title in a new tab.
For editing
Scripts that offer superficial site-wide changes aimed at those who edit actively or participate in discussions.
Inline
- Link Classifier[21] (source) – Colors links on the page to indicate redirects, broken redirects, disambiguation pages, and XfDs by default.
- Duplinks[22] (source) – Highlights links that occur more than once in an article (separate for lead and body).
- Autolink[23] (source) – Makes plaintext [[wikilinks]], {{transclusions}}, and URLs clickable where they normally aren't (i.e. in the History tab and on .js pages).
- intropreload[24] (source) – shows links next to page title to the edit intro and preloaded content (if they exist)
- ToggleEditNotices [25] (source) – Allows toggling of edit notices.
- Edit Box Expander[26] (source) - Removes left navigation menu and makes the edit area bigger so there are less distractions when editing
- DisplayNumberOfTags[27] (source) – Displays the number of maintenance tags in the article, thus nagging the editor about them.
- Section Footers[28] (source) - Adds subtle clones of all section headings (including [ edit ] links) to the end of their respective sections; allows section editing from the bottom of all sections.
Discussion oriented
- Nominations Viewer[29] (source) – Collapses the nominations on pages like WP:FAC and WP:PR into expandable headers with basic information on the nomination, significantly decluttering the pages.
- Admin Rights[30] (source) – Highlights administrators in all listings and signatures.
- User identifier[31] (source) – Marks, using graphical icons, users with user rights in all listings and signatures.
- Mark Blocked[32] (source) – Marks blocked users in all listings and signatures (faded and struck-out username).
- Vote Symbols[33] (source) – Adds graphical icons to users' !votes in discussions.
- Comment Highlighter[34] (source) – Highlights your discussion comments.
- Deletion Finder[35] (source) – Adds links to the deletion log and any AfD discussions next to an article's title (only if there are any).
- Unclutter[36] (source) – hides excessive warnings, makes some of the interface collapsible and minimises signatures.
- ClerkingTBLinks[37] (source) – Makes it easy to post talkback messages to users who have open requests that need further information. Currently coded for WP:CHU/S, WP:CHU/U and WP:FFU.
- sMirC Emoticons[38] (source) – Adds an emoticons bar to the WikiEditor.
- Comments in local time[39] (source) – Displays signature timestamps in your local time, relative to the current time. A replacement for Wikipedia:Comments in Local Time with better language and timezone support.
Menus and tabs
- MoreMenu[40] (source) – Smart links to user and page analytic tools and log.
- 6 Tabs Vector[41] (source) – Shows edit and history tabs for both main and talk pages while viewing either one.
- No Edit Sandbox[42] (source) – Changes the "My sandbox" link to a regular page link, instead of loading the sandbox's edit page by default.
- Family Tree Editor[43] (source) – Creates Family Trees with Chart Template.
- addptlinks[44] (source) – Allows you to add custom links to your personal toolbar
- Bookmark Navigation[45] (source) - Add links to your Wikipedia interface for easy access. Adds 3 new areas of links: Horizontally across the top bar, and two new sections to the side navigation panel. Use the links that I've set by default or easily customize it to your personal preference.
- My subpages[46] (source) - Add a "My subpages" link, next to your "Preferences" link in the personal toolbar
- Pending Changes Link[47] (source) - Adds a "Pending Changes" link on the top toolbar, primarily designed for Pending Changers Reviewers.
Toolbox
Scripts that add links to the toolbar that display additional information or highlight things.
- dabfinder[48] (source) – adds two links in the toolbox, one that highlights redirects and one that highlights disambiguation links.
- New Pages[49] (source) – Adds a link "Patrol New Pages" link in the toolbox.
- Pending changes[50] (source) – Same thing as User:Omni Flames/PendingChangesLink.js, except on the toolbar.
- Sidebar History Tools[51] (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[52] (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.
- Wiki Translation Tools[53] (source) – Helps you find categories, automatically fills the {{Translated page}} template, etc., based on an article in another Wikipedia. You have to install it in the Wikipedia you are translating from.
- View statistics[54] (source) Adds a "View statistics" item to the "More" menu, showing view statistics in a popup dialog. uses Template:PageViews graph
Editing
Scripts that add to or refine editors' toolsets.
- Heading editor[55] (source) – allows for one-click editing of section headings while reading an article
- Sagittarius[56] (source) – for editing redirects.
- Smart Linking[57] (source) – Helps linking to the correct articles by letting you preview the linked articles while editing (see the screenshots).
- Simple Keyboard Layout Changer (source) – change just a few characters on your keyboard or set up complete keyboard layouts for typing in other languages (works in both the editing area and the search box).
Inline
- Advisor[58] (source) – Flags possible issues with wikitext while editing a page.
- Autocomplete[59] (source) – Offers a popup suggestions menu whenever you start typing a link or template in the main edit box.
- autocompleter[60] (source) – Tab-based, context-sensitive autocompletion of usernames, page titles, and more, directly in the edit window
- Template parameters wizard[61] (source) – Helps fill parameters of templates.
- Bracket Match[62] (source) – Check matching for template and variable brackets.
- s&r persistence[63] (source) - Teaches "Search and Replace" box in "Advanced" edit toolbar to remember its content.
Previewing
- ajaxPreview[64] (source) – Allows editing preview and changes without page reloading.
- Ajax Preview[65] (source) – Adds a button to the edit form to preview the current section, with a references section included.
- Split Preview[66] (source) – Shows editing previews beside the edit box instead of above or below.
- Preview: Template Last Modified[67] (source) – When previewing changes, sorts list of called templates by date last modified and displays the latest edit summary for each; useful for debugging complex templates.
- UniversalTransclusionPreviews[68] (source) – Preview transclusions from any namespace.
- Auto CSS image crop[69] (source) – A tool to make the {{CSS image crop}} template easier to use.
- SafetyEdit[70] (source) – Adds a check box to template-protected pages during editing, which must be clicked before saving is enabled.
- SafetyEdit for all pages[71] (source) – Adds a check box for all pages during editing, which must be clicked before saving is enabled.
- Force summary & preview[72] (source) – Forces you to preview your changes first, then asks for an edit summary.
Extra functions
- Save&Edit[73] (source) – adds a small button to save the actual content and goes directly to the edit page again.
- Split Edit Summary Box[74] (source) – Creates a separate edit summary box for the name of the edited section, making the browser's autocomplete function more useful. Also plays nice with wikEd.
- Custom Summary Presets[75] (source) – Adds a menu below the edit summary line where you can choose from your own preset edit summaries.
- Revised version allowing theoretically infinite custom summaries using an array. Placed here due to Equazcion's suggestion.
- Math editor[76] (source) – Adds math editor for enhanced editing toolbar, which provides online preview while typing equations.
- Table Editor[77] (source) – add table editing helpers to the toolbar
- TemplateData Editor[78] (source) – Adds a link in the toolbox for editing
<templatedata>...</templatedata>
tags in templates. - DisamAssist[79] (source) – Assists in quickly fixing ambiguous links
- WhatLinksHere enhancement[80] (source) – Adds tabs to WhatLinksHere pages which allow a user to filter the list of links. Designed years ago with disambiguation in mind, and duplicates many features since added to the standard WLH page. Quick way to get counts of links by type.
- div.GoogleMap[81] (source) – a block control that allows to display the Google Maps in Wikipedia, as well as to draw markers and tracks on maps.
- CommonsHelper link[82] (source) – adds c:CommonsHelper to the toolbar to make file moves to Wikimedia Commons easier.
- Zeusmode[83] (source) - A somewhat depreciated tool which is still extremely useful for fixing links to disambiguation pages from within an article, without going through the edit page
- Draftify[84] (source) – allows you to a move a userspace draft to the draft namespace, tag it with a draft template, and notify the user of your action.
Cleanup
Scripts that when executed automatically clean up the page in some manner
- AutoEd[85] (source) – Cleanup various problems with markup, headlines, templates, and ISBNs.
- autoFormatter[86] (source) – A user script that semi-automatically fixes more than 200 common errors in wiki markup.
- AutoWikiBrowser script[87] (source) - Script with similar functionality to the downloadable AutoWikiBrowser, but loaded within the web browser.
- dashes[89] (source) – fixes hyphens, dashes, and minus signs per MOS:DASH.
- EngvarB[90] (source) – British and Canadian spelling consistency per WP:ENGVAR.
- MOSNUM Dates[91] (source) – Cleanup dates per WP:MOSNUM.
- flagcruft[92] (source) – Strips out flag icons that may be in violation of MOS:FLAG.
- Common Terms[93] (source) – Delink common terms.
- formatgeneral[94] (source) – Formatting fixes per WP:MOS, MOSCAPS etc.
- Format Citations[95] (source) – Add a link (accessible in the drop-down menu in Vector and as a tab in Monobook) to harmonize whitespace in citation templates, and another to convert them to the vertical format.
- Tidy Citations[96] (source) – Fork of Format Citations, with slight tweaks. Links appear in the toolbox upon editing, with a choice between vertical tidying and 3 variants of horizontal tidying (crammed, tidy, and roomy).
- Stub tags[97] (source) – Adds a link accessible in the drop-down menu in Vector and as a tab in Monobook that adds {{stub}} tags per WP:Stub sorting.
- Close XfD[98] (source) – Adds a link accessible in the drop-down menu in Vector and as a tab in Monobook that adds the appropriate header and footer to close any XfD discussion.
- closeAFD[99] (source) – allows for easy closing and relisting of AFD debates.
References
Scripts specific to page referencing.
- editRefs[100] (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[101] (source) – Displays errors when using Harv templates
- SnipManager (source) – Toolbar with forms to fill in references.
- Sources[102] (source) – Aims for compliance with Help:Citation Style 1, WP:ITALICS: ensures consistency of source names, and general tidying within the reference section.
VisualEditor
- veReplace[103] (source) – Search and replace.
- veCiteFromURL[104] (source) – Inserts filled in citation by supplying URL.
- veditLinks[105] (source) - adds an edit beta link to {{Lx}} style toolbars.
Vandalism
- rollbackSum[106] (source) – Rollback summary.
- Rollback All[107] (source) – Revert all contributions of a user
- Mass Rollback controlled[108] (source) – Rollback selected contributions of a user or all contribs of a user
- Igloo[109] (source) – Anti-vandal javascript GUI
- No Vandalism[110] (source), a simple script catching edits with Repeating characters filter on them.
- Rollback "in place"[111] (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[112] (source) – Quick links to standard warning messages in the Toolbox when editing a user talk page.
- Ajax Undo[113] (source) – Adds an Ajax undo link next to the normal undo link on page histories and on diff pages.
- Ajax Rollback[114] (source) – Turns rollback links into AJAX rollback links.
- Remove Rollback[115] (source) – To disable the rollback feature.
- IPLabeller[116] (source) – Set permanent labels and colors to anonymous IP address contributors.
Diffs
- Diff Time[117] (source) – Adds time between diffs and time since each revision.
- Link Intermediate Revisions[118] (source) – Links the "intermediate revisions" message so it can be clicked to see a history listing of those revisions.
- In-place diffs[119] (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.
Note: does not seem to be compatible with AJAX watchlist.
- User History with in-place diffs[120] (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).
Note: does not seem to be compatible with AJAX watchlist. Still works on contributions and history pages. On the watchlist, works until the first Ajax refresh on the page (20 seconds by default, but this time can be adjusted).
- Ajax watchlist with in-place diffs[121] (source) – Combines Theopolisme's Ajax watchlist script and Writ Keeper's in-place diff script, which are otherwise not compatible.
- LiveDiffLink[122] (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
- User Info[123] (source) – Shows user groups, edit count, and time registered.
- Sysop Detector[124] (source) – Shows user rights groups.
- ContribsTabVector[125] (source) – Adds contribs and stats tabs to user and user talk pages.
- Status Changer 2[126] (source) – Allows a user to quickly change their displayed online status in a couple of clicks.
- Qui[127] (source) – Allows user to change their displayed status in one click.
- StatusChanger[128] (source) – Compatible with the {{UserStatus}} template; allows user to change their displayed status in one click.
- Edit counter[129] (source) – Adds a link to the toolbox to calculate your edits by namespace and write them to a table in your userspace.
- Status updater[131] (source) – Click on a status from a list visible to you or everyone to change your status.
- Pages created[132] (source) – Lists all the pages created by a user.
Images
- QuickImgDelete[133] (source) – Tools to make image patrolling easier.
- ImageMapEdit[134] (source) – Adds a tool on image pages that allows the user to create and organize imagemaps much more easily.
- MegapixelDisplay[135] (source) – Displays the number of megapixels (106 pixels) on the image page.
Listings
Watchlist
- See also WP:CUSTOMWATCH for a list of possible Watchlist customizations.
- customWatchlists[136] (source) – Create and manage your own custom watchlists.
- Smart Watchlist[137] (source) – Watchlist customization and organization.
- Watchlist Links[138] (source) – Adds some useful links to your Watchlist.
- Catwatch[139] (source) – Shows the addition of pages to specified categories on your watchlist.
- Interwiki Watchlist[140] (source) – adds interwiki watchlists to your watchlist; supports only a few popular wikis.
- RemoveMarkAll[141] (source) – Completely disables the recent Watchlist and History page changes that highlight updates to pages since your last visit.
- ReverseMarked[142] (source) – Lets you know which watchlist changes you've already checked by fading out viewed items.
- LagToMinutes[143] (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[144] (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[145] (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.
- Watchlist Notifier[146] (source) – Notification of changes to watched pages. Changes are checked on each page load, with notifications appearing at the top of the page under its title.
- Enhanced RC expander[147] (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.
- ajaxWatchlist[148] (source) – Automatically updates your watchlist by displaying new changes as they come in at Special:Watchlist, no reloading necessary.
- Hollis[149] (source) – show a "since last seen" link which gives you the diff of the page since you have last looked at it.
- Watchlist-notice[150] (source) - Adds a toolbar notice (like the "You have new talk page messages" one) when there are unread changes on your watchlist.
- * Watchlist-watcher[151] (source) - similar to Watchlist-notice, but instead of green bar which links to watchlist page, adds a box similar to "your alerts" and "your messages", with the number of unread pages in your watchlist (grey if 0, blue otherwise), click opens a popup with your watchlist content.
History
- ActiveWatchers[152] (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).
- The button "Active" no longer works.
- Convert from 24-hour[153] (source) – Changes times in user contributions and history pages to use 12-hour AM/PM clock.
- DynaThank [154] (source) – Hides "thank" links on History pages until you choose to display them.
- Remove thanks[155] (source) – Removes all "thank" links from History pages.
Categories
- CatListMainTalkLinks[156] (source) – Adds a link to each page's associate Talk: or main page.
- Cat-A-Lot[157] (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
- New Page Patroller[158] (source) – Adds another box to the sidebar that shows a regularly updated list of new pages
- Find Unpatrolled New Pages by Subject[159] (source) - Thanks to User:InceptionBot by User:Bamyers99, we have subject categorized new page search results listed at User:AlexNewArtBot and sub-pages thereof; if you are interested in Wikipedia:New pages patrolling, adding this script to your account's common.js file before reading these lists will allow:
- The script to create buttons on these pages, which on use will begin relevant searches to determine which new pages listed remain unpatrolled, and highlight those references/page-links.
- All links in the page will open by default in a new tab or window (to keep the search results open), and visited pages will have the normal [Mark page as patrolled] option at the bottom right.
-
- Created for and only tested with the Vector skin.
Contributions
- Hide Top Contribs[160] (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[161] (source) – Changes times in user contributions and history pages to use 12-hour AM/PM clock.
- Contribs Tab[162] (source) – Adds a contributions tab on user and user talk pages.
- Top Contributions[163] (source) – This script color-codes lines according to who has the top contribution for a page.
Recent Changes
- AjaxRC[164] (source) – Automatically refreshes the Recent Changes every 60 seconds using Ajax.
- Enhanced RC expander[165] (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
- Page Collector[166] (source) – Buttons to add a link to the current page to predefined "todo" list.
- ToDoLister[167] (source) – Links to view or add a page to a personal todo list, and links on that todo list to easily remove items (no need to open the edit window). There are also various options you can set to customise your experience.
What links here
- What Links Here link filter[168] (source) – Adds an additional filter on What Links Here pages allowing you to, in effect, exclude pages linking to the page through given templates (i.e. only linking pages not having the templates will remain).
Admin scripts
- EasyBlock[169] (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.
- SpamUserPage[170] (source) – deletes a user page, blocks the user, and issues them with a block notice.
- responseHelper[171] (source) – Adds links to your sidebar to quickly insert administrator notation templates at WP:RFPP, WP:AIV, WP:ANEW, WP:UAA and WP:PERM, and supply an informative edit summary.
- Close XfD[172] (source) – Adds a link accessible in the drop-down menu in Vector and as a tab in Monobook that adds the appropriate header and footer to close any XfD discussion.
- closeAFD[173] (source) – allows for easy closing and relisting of AFD debates.
- massdelete[174] (source) – Allows you to delete multiple pages at once by listing them at Special:MassDelete.
WikiProject-specific
- DYK Check[175] (source) – Tool for checking Did You Know eligibility.
- Update Child Lists[176] (source) – Adds a link to the toolbox that instructs a Taxobot to update the child list for a taxonomy template.
Meta-scripts
- ScriptInstaller (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.
- User JavaScript and Stylesheet Manager[177] (source). Created for and only tested with the Vector skin.
- Creates a discrete graphical user interface utilizing intuitive drag-and-drop to manage your user scripts and stylesheets. i.e.
-
- Switch resources (scripts or stylesheets) on/off without editing your common.js or any other page(s).
- Temporarily include resources with a simple click and confirm.
- Add/remove resources easily with button clicks and/or text entry etc.
- Additional benefits of a more technical nature including caching of select resources on a per session basis to reduce API calls...
- Feedback welcomed and encouraged.
- userscriptInterwikiLink[178] (source) – If the user is viewing user script, it will show the link that can be copied to other projects
- Confirm Logout[179] (source) - Interrupts logout procedure (via personal navigation link) with a confirmation dialog (except on user preferences pages where user scripts aren't loaded). Created for and only tested with the Vector skin.
Non-Vector only
- Edit Count[180] (source) – Adds a quick link in the toolbar for checking one's edit count. (Especially for those who have editcountitis!)
- RC Patroller[181] (source) – Adds a portlet to the sidebar that shows a regularly updated list of recent changes
Libraries
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) |
addToolbarButtons | Add function-calling toolbar buttons. Both the classic and the WikiEditor toolbars are supported (but not the Visual Editor's toolbar). |
Value/Selection | Lets you determine the position of the cursor/selection within a text input or textarea box and change the text around it |
Snippets
The following code snippets still exist under the now defunct WikiProject User scripts. Many are still in use by live scripts, and they may provide insights for current script developers.
Stylesheets
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 |
FloatingTOC | 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. See documentation. | |
accesskey | Display corresponding access keys besides links. | |
RetroLogo | Replace the top-left Wikipedia logo. |
|
Install code
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:PleaseStand/hide-vector-sidebar.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:Rezonansowy/SimpleLightbox.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:Zocky/PicturePopupsVector.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:Gary/smaller templates.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:Gary/subjects age from year.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:Bawolff/wiktLookup.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:Numbermaniac/goToTop.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:Equazcion/Floater.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:Rezonansowy/FloatHead.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:Ravid ziv/highlightSearch.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:Zhaofeng Li/RefToggle.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:N8wilson/AQFetcher.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:Mxn/serendipity.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:Fred_Gandt/subdueLinks.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:Fred_Gandt/linkRedirectTitle.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:P999/Toggle VF.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:Writ Keeper/Scripts/SearchNamespace.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=commons:MediaWiki talk:Gadget-search-new-tab.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=commons:MediaWiki talk:Search-results-new-tab.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:Writ Keeper/Scripts/googleTitle.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:Anomie/linkclassifier.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:Ucucha/duplinks.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:Lenore/autolink.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:Huji/Gadget-intropreload.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1= User:Equazcion/ToggleEditNotices.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:Zellfaze/expandEdit.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:Ugog Nizdast/displayNumberOfTags.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:Fred_Gandt/sectionFooters.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:Gary/nominations viewer.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:Ais523/adminrights.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:Anomie/useridentifier.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:NuclearWarfare/Mark-blocked script.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:Ais523/votesymbols.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:PleaseStand/highlight-comments.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:Writ Keeper/Scripts/deletionFinder.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:Kephir/gadgets/unclutter.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:Mlpearc/ClerkingTBLinks.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=meta:User:Perhelion/WikiEditorEmoticons.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:Mxn/CommentsInLocalTime.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:MusikAnimal/MoreMenu.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:js/6tabs-vector.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:Equazcion/NoEditSandbox.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:GregU/familytree.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:IagoQnsi/addptlinks.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:David Condrey/bookmarknav.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:PrimeHunter/My subpages.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:Omni Flames/PendingChangesLink.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:Meteor sandwich yum/dabfinder.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:Dipankan001/New pages.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:Epicgenius/pcreview.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:Equazcion/SidebarHistoryTools.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:Dr pda/prosesize.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:V111P/js/wikiTranslTools.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:קיפודנחש/viewstats.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:The Evil IP address/hdedit.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:Kephir/gadgets/sagittarius.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:V111P/js/smartLinkingLoader.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:Cameltrader/Advisor.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:ערן/autocomplete.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:Theopolisme/Scripts/autocompleter.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:קיפודנחש/TemplateParamWizard.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:Ais523/bracketmatch.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:קיפודנחש/searchPersistence.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:Js/ajaxPreview.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:Anomie/ajaxpreview.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:Bradv/splitpreview.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:Anomie/previewtemplatelastmod.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:Equazcion/UniversalTransclusionPreviews.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:Codehydro/Auto CSS image crop/script.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:Equazcion/SafetyEdit.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:Epicgenius/safetyedit.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:Epicgenius/forceineditbox.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:Mabdul/saveandedit.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:Jcgoble3/SectionInput.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:Equazcion/CustomSummaryPresets.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:ערן/mathjaxdialog.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:Kephir/gadgets/table-editor.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:NicoV/TemplateDataEditor.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:Qwertyytrewqqwerty/DisamAssist.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:Barticus88/WhatLinksHere.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:Nitobus/div.GoogleMap.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:Epicgenius/commonshelperlink.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:Midas02/Gadget-zeus.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:Mr. Stradivarius/gadgets/Draftify.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=Wikipedia:AutoEd/basic.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=:de:Benutzer:TMg/autoFormatter.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:Joeytje50/AWB.js/load.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:Epicgenius/AWB script toolbar.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:GregU/dashes.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:Ohconfucius/script/EngvarB.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:Ohconfucius/script/MOSNUM dates.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:Ohconfucius/script/flagcruft.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:Ohconfucius/script/Common Terms.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:Ohconfucius/script/formatgeneral.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:Waldir/formatcitations.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:Meteor sandwich yum/Tidy citations.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:Epicgenius/stubtag.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:King of Hearts/closexfd.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:Mr.Z-man/closeAFD.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:Dr pda/editrefs.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:Ucucha/HarvErrors.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:Ohconfucius/script/Sources.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:ערן/veReplace.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:Mvolz/veCiteFromURL.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:Technical 13/Scripts/Gadget-veditLinks.js|2=User:Technical 13/Scripts/Gadget-veditLinks}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:Nageh/rollbackSum.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:Writ Keeper/Scripts/massRollback.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:Kangaroopower/MRollback.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=Wikipedia:Igloo/gloo.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:Dipankan001/revert vandalism.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:קיפודנחש/apiRollback.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:Kbh3rd/whackamole.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:BenjaminWillJS/AjaxUndo.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:BenjaminWillJS/AjaxRollback.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:117Avenue/RemoveRollback.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:Cumbril/IPLabeller.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:Dudemanfellabra/diffs.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:Equazcion/link intermediate revisions.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:Writ Keeper/Scripts/commonHistory.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:Writ Keeper/Scripts/userHistory.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:Sunrise/Scripts/AjaxInlineDiffs.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:Equazcion/LiveDiffLink.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:PleaseStand/userinfo.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:Equazcion/sysopdetector.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:Equazcion/ContribsTabVector.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:Xenocidic/statusChanger2.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:TheDJ/qui.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:APerson/StatusChanger.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=strategywiki:User talk:Najzere/edit counter.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:Kanegasi/editcounter.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:Bility/statusupdate.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:Jfmantis/pagesCreated.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:Howcheng/quickimgdelete.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:Dapete/ImageMapEdit.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:Dschwen/MegapixelDisplay.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:MusikAnimal/customWatchlists.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:UncleDouggie/smart watchlist.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:Js/watchlist.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:Ais523/catwatch.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:Yair rand/interwikiwatchlist.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:Equazcion/RemoveMarkAll.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:Equazcion/ReverseMarked.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:Equazcion/LagToMinutes.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:קיפודנחש/watchlistMark.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:קיפודנחש/watchlistScout.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:Ais523/watchlistnotifier.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:PiRSquared17/rcexpander.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:Theopolisme/Scripts/ajaxWatchlist.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:Kephir/gadgets/hollis.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:APerson/watchlist-notice.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:קיפודנחש/wathlistWatcher.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:Equazcion/ActiveWatchers.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:Bility/convert24hourtime.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1= User:Equazcion/DynaThank.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:Epicgenius/nothanks.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:Equazcion/CatListMainTalkLinks.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:קיפודנחש/cat-a-lot.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:TheJosh/Scripts/NewPagePatrol.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:Fred_Gandt/getUnpatrolledOfAlexNewArtBotResultsPages.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:Markhurd/hidetopcontrib.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:Bility/convert24hourtime.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:JeremyMcCracken/contribstab.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:Ais523/topcontrib.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:Kangaroopower/AjaxRC.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:PiRSquared17/rcexpander.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:קיפודנחש/pageCollector.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:Evad37/ToDoLister.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:V111P/js/whatLinksHereLinkFilter.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:Animum/easyblock.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:Mr. Stradivarius/gadgets/SpamUserPage.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:MusikAnimal/responseHelper.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:King of Hearts/closexfd.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:Mr.Z-man/closeAFD.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:Animum/massdelete.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:Shubinator/DYKcheck.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:Smith609/taxonomy.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:Fred_Gandt/userResourceManager.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:Dixtosa/userscriptInterwikiLink.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:Fred_Gandt/confirmLogout.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:Dipankan001/Edit Count.js}}
- ^ Copy the following code, click here, then paste:
{{subst:iusc|1=User:TheJosh/Scripts/RecentChangesPatrol.js}}
|