List of JavaScript enhancements


 * Note: Please visit the JS and CSS Cheatsheet. For more info how to use JS and CSS.

A list of JavaScript enhancements categorized by type. If you find random JS that may be useful on other wikis, you can add it on the JavaScript Cookbook.

Common Site Enhancements= Please do not add scripts here unless you can verify that they are widely used.
 * AjaxRC &mdash; Add button to auto refreshing recent changes and watchlist
 * DisplayClock &mdash; Adds a UTC clock to pages. Usually above the Contribute button but can be placed in the Wikia banner.
 * RevealAnonIP &mdash; Unmasks "A Wikia contributor" so that their actual IP address can be seen easily.

Tools= ''These are scripts that help with Wiki organisation and maintenance tasks. They are for personal use only, only add them to your personal script pages.''
 * AjaxBatchDelete &mdash; Allows for multiple deletion of pages.
 * AjaxPatrol &mdash; Makes the patrol links on diffs and new pages ajax links so that you can patrol without leaving the current page.
 * AjaxUndo &mdash; Adds an Ajax undo link next to the normal undo link on page histories.
 * ArchiveTool &mdash; Script for easy archiving discussion pages in the wiki.
 * DupImageList &mdash; Lists duplicate images on your wiki.
 * FastDelete &mdash; One click deletion of any page.
 * FastOldImageDelete &mdash; Makes the delete links on old image revisions one-click deletes.
 * ListFiles &mdash; Provides a form for querying the MediaWiki API and generating extensive lists of files and file data.
 * ShowAdsButton &mdash; Adds a button for reloading the current page with ads.

Interface Personalisation= ''These scripts alter the way Wikis look or behave so that it's more to your liking. Only use these in your personal JavaScript/CSS files, do not add them to the Wiki itself.''
 * AdvancedOasisUI &mdash; Adds various links and buttons to Oasis' UI.
 * BackToTopArrow or BackToTopButton &mdash; It adds a arrow/button to the right corner of the Oasis footer that takes you back to the top of the page when pressed.
 * FloatingToc &mdash; Turns the table of contents into a floating panel that you can place anywhere you like and that will stay in a fixed position to the page.
 * HideRail &mdash; Adds a button to the Oasis toolbar to hide the Wikia Rail (right side bar with ads/Recent Activity/etc). It also let's you expand the Visual Editor to full width like the Source Editor, and to make every page 200px wider than the default.
 * MessageBlocker &mdash; In Special:Chat, grants ability to prevent messages from certain users from appearing.
 * NoImageLightbox &mdash; Disables Wikia's new Lightbox loader so that clicking on an image properly takes you to its File: page.
 * RelatedDiscussionsModule &mdash; Moves the 'Related discussions' feature of the new forums to the rail.
 * SearchButtonV2 or SearchGoButton &mdash; Adds a 'go' button to the Oasis searchbox.
 * Sine &mdash; Automatically adds your signature to forum and talk page posts
 * VisualSpellCheck &mdash; Enables your browser's spell checker in the Visual Editor

Site Enhancements= ''These scripts add new features (or fix broken ones) and are safe to use in your site-wide Wiki script files. Some of these can also be used personally but most are only useful when installed into the Wiki itself.''
 * AddNavMenuItems &mdash; Adds additional menu items to Wikia's Navigation based on the content of the page being viewed.
 * AllPagesHideRedirect &mdash; Adds a simple link to the top of Special:AllPages and Special:PrefixIndex that when clicked hides redirects.
 * AnswersEditButton, AnswersTalkButton, AnswersHistoryButton, AnswersNoDeleteLink and AnswersSearchLink &mdash; Creates/removes links to common pages on answers wikis.
 * AntiUnicruft &mdash; Automatically repairs script (JS/CSS) pages that contain magic invisible bugs.
 * AutoEditDropdown &mdash; Automatically shows/hides edit drop down menus when the mouse hovers over/away from the arrow, allowing for faster and more convenient access to menu options while editing in Oasis.
 * BotoneraPopups &mdash; Accessible action links of pages and users when hovering any link with your mouse.
 * CollapsibleInfobox &mdash; For easily collapsing sections of . On MediaWiki 1.19, you may be able to   instead
 * Countdown &mdash; Automated countdown to a time specified.
 * DisableArchiveEdit &mdash; Script disables the editing of talk page archives.
 * DISPLAYTITLE &mdash; Template that allows users to change the title displayed at the top of any page.
 * EditIntroButton &mdash; Adds a edit button which acts as a "section edit" button for the intro.
 * FixMultipleUpload &mdash; Fixes the "common editing tools" template on Special:MultipleUpload so it actually works.
 * FixWantedFiles &mdash; Rewrites the useless "edit page" links to useful "upload file" links.
 * HideActivity &mdash; Hides content on the "Special:Wikiactivity".
 * ImageAnnotator &mdash; Preliminary version. Adds ability to edit and view image annotations as found on Commons. Requires: Gadgets extension, use of Firefox or Opera browsers.
 * InfoWidgets &mdash; Adds real-time link lists of newest pages, recently edited pages and more.
 * ListAdmins &mdash; Creates a listing of the wiki's admins
 * LockOldBlogs &mdash; Automatically disables commenting on old blog posts
 * Magic editintros &mdash; Displays banner intro text when in either the simple or WYSIWYG editor. Also, displays for section edits.
 * PurgeButton &mdash; Adds a simple button to ?action=purge the current page.
 * ReferencePopups &mdash; Creates a floating box displaying the contents of a reference when you hover over the inline citation . (Like Wikipedia)
 * SkinSwitchButton &mdash; Adds a button for switching from Oasis to monobook and vice versa.
 * SignatureCheck &mdash; Warns users who forget to sign their talk page replies.
 * SpoilerAlert &mdash; Conceals the page and displays a spoiler warning dialog.
 * UserTags or InactiveUsers &mdash; Adds an "inactive" tag (where the "Founder", "Admin", etc appears) to the pages of users who haven't contributed recently. UserTags expands on the idea to allow tags to be added based on the user's groups (like bureaucrats) or arbitrary custom ones.

Other
Web 2.0= Interfacing with other sites
 * Chatango
 * Facebook
 * Freenode IRC &mdash; different ways to access a wiki chat channel on Freenode
 * RSS &mdash; good for mirroring a blog on your site

Libraries= Libraries that were expressly written for Wikia: Open Source libraries for JavaScript developers:
 * Preferences &mdash; makes your addon's preferences editable through a web interface
 * Colors &mdash; allows you to adapt your addon's colors to the varying color schemes across Wikia
 * Rangy_core.js &mdash; library for selecting and manipulating text in contenteditable areas; Docs: rangy
 * Textinputs_jquery.js &mdash; library for selecting and manipulating text in textareas Docs: rangyinputs

Out of date= These scripts are either broken and have been replaced with better ones, or are just no longer necessary as the problem they solved no longer exists.
 * EditIntroButton2 &mdash; Basically identical to EditIntroButton, except that it doesn't work in Oasis. Use the other script instead.
 * OasisToolbarButtons &mdash; Adds action buttons (like "edit" or "move") to Oasis' bottom toolbar.
 * OasisWideMode &mdash; Makes every page wider.
 * Purgetab &mdash; Adds a purge tab to monobook. Use PurgeButton or DisplayClock/DisplayTimer instead.
 * ShowHide &mdash; Scripts for collapsible tables and divs. MediaWiki 1.19 provides the built-in  which makes this unnecessary unless you already have large numbers of pages that depend on this.
 * UserBadges &mdash; Replaced by UserTags.
 * SpoilerAlert &mdash; Script will have to be rewritten to be useful again

Unmaintained= These scripts may or may not still be useful but are in need of an upgrade or rewrite to become properly functional again.

 Click "Expand" for a full list of all JavaScript and CSS enhancements.