Gadgets
From Wikibooks, the open-content textbooks collection
Below is a list of special gadgets users can enable on their preferences page, as defined by the definitions. This overview provides easy access to the system message pages that define each gadget's description and code.
User-Interface Modifications [Edit this page]
- Per-Book Gadgets: Allows individual books to be fully-customized by loading book specific gadgets. [Edit this page]
Uses: Gadget-predef.js, Gadget-Perbook.js - Personal Per-Book Gadget: Know some CSS and Javascript? This gadget allows you to load in scripts and stylesheets specific to individual books, so you can further customize your personal user interface. [Edit this page]
Uses: Gadget-predef.js, Gadget-Personalper.js - External Links: Allows external links to be opened in a new tab or window [Edit this page]
Uses: Gadget-extlinks.js - Revert using Twinkle: This allows all users to revert using the Twinkle script. The "Welcome User" script below complements this by providing two-click warnings after a revert. This script does not work in Internet Explorer. (Configuration goes in your monobook.js) [Edit this page]
Uses: Gadget-morebits.js, Gadget-twinklefluff.js - Unlink pages and images using Twinkle: This allows all users to unlink images or pages from the main namespace (all others are unaffected) using Twinkle. This script does not work in Internet Explorer. (Configuration goes in your monobook.js) [Edit this page]
Uses: Gadget-morebits.js, Gadget-twinkleunlink.js - Logs Filter: Allows regex-based filtering of Special:Log (especially Special:Log/rights) and Special:Contributions. [Edit this page]
Uses: Gadget-rightsfilter.js - Sort HTML lists: Handy for sorting dynamicpagelists alphabetically. Wrap a div around the dynamicpagelist, and give it a class of sortListInHTML (case-sensitive sort) or sortListInHTMLi (case-insensitive sort). Mix-in CSS classes are supported, i.e. you can have multiple classes specified for your div, e.g. class="fancy bright sortListInHTML". [Edit this page]
Uses: Gadget-sortlistinhtml.js - Range Contributions: Allow /16,/24-/32 CIDR ranges on Special:Contributions forms (uses API), as well as wildcard Prefix searches, eg: Splark* [Edit this page]
Uses: Gadget-contribsrange.js - Navigation popups is a script that offers easy access to article previews and several Wikibooks functions in popup windows which appear when you hover the mouse over links. (full documentation) [Edit this page]
Uses: Gadget-navpop.js, Gadget-navpop.css - WikEd Enhanced Editor JavaScript enhancements for the edit page. FireFox only. [Edit this page]
Uses: Gadget-wiked.js - Color Coded Categories: Enhances category pages by giving them some color enhancements [Edit this page]
Uses: Gadget-category-colorcode.css
Tabs and Links Gadgets [Edit this page]
- Add purge tab: This will give you a p tab on content pages to purge the server cache. This is useful for refreshing pages which do not show recent changes due to caching. [Edit this page]
Uses: Gadget-purge.js - Edit top section: this will add a link in the top right corner to edit the top section (the section before the first section heading). [Edit this page]
Uses: Gadget-edittop.js - Bottom tabs: This adds tabs at the bottom identical to the ones at the top. This should work in most web browsers (including Internet Explorer) [Edit this page]
Uses: Gadget-btabs.css, Gadget-bottomtabs.js - Six tabs: Adds edit and history tabs for the other page:
page
edit
hist
talk
edit
hist [Edit this page]
Uses: Gadget-sixtabs.js - Remove Image Tools: Removes image tools for checking for unlicensed images and images missing license tags for anyone who doesn't want them. [Edit this page]
Uses: Gadget-RemoveImageTools.js
Other Gadgets [Edit this page]
- Enhanced Search: Enhancements to allow searching Wikibooks using both the MediaWiki engine and other popular search engines like Google and Yahoo! [Edit this page]
Uses: Gadget-SpecialSearch.js - Whiteknight's Visual Book Designer: The Book Designer is a visual outlining tool to help simplify and automate the process of creating new books, print versions, and collections. Install this gadget and go to Whiteknight's Book Creator to view and use the various tools. [Edit this page]
Uses: Gadget-wknightcore.js, Gadget-wkcategorize.js, Gadget-wkeditinsert.js, Gadget-wkdesigner.js - User Welcome Script: A script to semi-automagically {{welcome}} new users with no talk page, leave {{joinus}} for anons with no talk page, or warn any user with {{test}}. Complements the "Revert with Twinkle" when doing vandalism reverts. [Edit this page]
Uses: Gadget-wknightcore.js, Gadget-Welcome.js - JavaScript Standard Library: a compatibility library for browsers that lack full support for JavaScript 1.6. This includes Internet Explorer, Opera, and Safari. [Edit this page]
Uses: Gadget-JSL.js - PediaPress Collection Builder. Add a "Get Collection" link to the upper-right corner of the page to automatically create a collection based on the current page. [Edit this page]
Uses: Gadget-collectionparser.js
For users with extra rights [Edit this page]
- Modify rollback: After using rollback, this script automatically forwards you to the user's contributions page to look for other edits to revert. Use it with the Welcome User script to get a warn tab on the contributions page for 3-click revert-warn when fighting vandalism. Be careful, since this means you won't see your diff or any error messages. [Edit this page]
Uses: Gadget-modrollback.js - Autodelete links (admins only): This script is for administrators only, and will fail if your account does not have sysop privileges. Makes speedy deletion faster and easier. Once you install it, Special:Contributions, Special:Newpages, Special:Log and any viewed or preview will have an autodelete tab. By clicking that, you will be prompted for a summary. Once you click OK after the summary, all links will autodelete when clicked. If you leave the delete reason blank, the default is "per speedy deletion policy." [Edit this page]
Uses: Gadget-autodel.js - Autodelete and delink images using Twinkle (admins only): This allows admins to batch delete and unlink images using Twinkle. The script will fail if your account does not have sysop privileges, and will not work in Internet Explorer. (Configuration goes in your monobook.js) [Edit this page]
Uses: Gadget-morebits.js, Gadget-twinkledelimages.js - Enhanced Undelete: Administrative tool to select all checkboxes or invert your selection to make it easier to selectively undelete pages. [Edit this page]
Uses: Gadget-EnhancedUndelete.js - Clean Delete Reasons: This script will remove the automatic deletion reasons to keep Special:Log/delete uncluttered. It will not affect the reason if specified in the URL. [Edit this page]
Uses: Gadget-CleanDeleteReasons.js - Twinkle Speedy: Administrators and patrollers may use to help make new page patrolling and related tasks easier using the familiar Twinkle interface. The script cannot be used unless you have the sysop or patrol rights; the script will fail in Internet Explorer, has been tested in Firefox, and may work in Opera, Camino, or Safari. As with the original Twinkle script, all edits made are your responsibility regardless of bugs in the script. See the full documentation. [Edit this page]
Uses: Gadget-morebits.js, Gadget-twinklespeedy.js - AJAX sysop: This script will list subpages and talk pages on the deletion form for a page. It also allows easy access to bot rollback. [Edit this page]
Uses: Gadget-getmoredata.js - Quick Blocking Tools: This tool can be used by administrators to block many IPs quickly from Special:Massblock, and gives handy tabs on Special:BlockIP for common block settings. [Edit this page]
Uses: Gadget-massblock.js, Gadget-blockoptions.js