小工具
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. Gadget deployment statistics are available here.
Gadget legend:
- (D): These gadgets are enabled by default
- (E): These gadgets use code from external (third party) systems not subject to the WMF Privacy Policy
- (S): These gadgets use code from WMF sister projects, managed by that project's administrators
- (U): These gadgets use code maintained by a single user
Browsing [查看说明]
- (S) After rolling back a user's edit, automatically open their contributions page (查看说明 | 导出)
使用:Gadget-modrollback.js需要以下权限:
rollback
- (D) Require confirmation before performing rollback on mobile devices (查看说明 | 导出)
使用:Gadget-confirmationRollback-mobile.js需要以下权限:
rollback
- Disable access keys (查看说明 | 导出)
使用:Gadget-removeAccessKeys.js - Focus the cursor in the search bar on loading the Main Page (查看说明 | 导出)
使用:Gadget-searchFocus.js - (E) (U) GoogleTrans: open a translation popup for the selected text or the word under the cursor when pushing the shift button (查看说明 | 导出)
使用:Gadget-GoogleTrans.js - ImageAnnotator: view image notes and comments on file description pages (查看说明 | 导出)
使用:Gadget-ImageAnnotator.js - Redirect image links to Commons for files hosted there (查看说明 | 导出)
使用:Gadget-imagelinks.js - Open external links in a new tab or window (查看说明 | 导出)
使用:Gadget-exlinks.js - Open search results in a new tab or window when holding down the Ctrl key (查看说明 | 导出)
使用:Gadget-search-new-tab.js - Print options: control how pages are printed (for example, remove images or backgrounds) (查看说明 | 导出)
使用:Gadget-PrintOptions.js - (S) revisionjumper: quickly navigate between page revisions (查看说明 | 导出)
使用:Gadget-revisionjumper.js - Twinkle: add menu buttons to automate common tasks, including: reporting vandalism, warning vandals, requesting deletion or protection, welcoming users, and tagging articles (preferences) (查看说明 | 导出)
使用:Twinkle-pagestyles、Gadget-Twinkle.js、Gadget-twinklearv.js、Gadget-twinklewarn.js、Gadget-twinkleblock.js、Gadget-friendlywelcome.js、Gadget-friendlyshared.js、Gadget-friendlytalkback.js、Gadget-twinklespeedy.js、Gadget-twinkleprod.js、Gadget-twinklexfd.js、Gadget-twinkleimage.js、Gadget-twinkleprotect.js、Gadget-friendlytag.js、Gadget-twinklediff.js、Gadget-twinkleunlink.js、Gadget-twinklefluff.js、Gadget-twinkledeprod.js、Gadget-twinklebatchdelete.js、Gadget-twinklebatchprotect.js、Gadget-twinklebatchundelete.js、Gadget-twinkleconfig.js、Gadget-Twinkle.css
此小工具僅被支援在兼容 ES6 的瀏覽器上需要以下权限:
autoconfirmed
- A library with lots of useful features, used for Wikipedia:Twinkle but available for other gadgets or scripts. You should not be able to see this from Special:Preferences. (查看说明 | 导出)
使用:Gadget-morebits.js、Gadget-morebits.css
此小工具僅被支援在兼容 ES6 的瀏覽器上 - Components for the Twinkle gadget (查看说明 | 导出)
使用:Gadget-Twinkle-pagestyles.css
可用于以下皮肤:旧版Vector(2010)、Vector(2022)。 - jQuery replacement for select boxes; used by Twinkle but available as a gadget for others. Available under the MIT license, see -{R|https://select2.org/}-. You should not be able to see this from Special:Preferences. (查看说明 | 导出)
使用:Gadget-select2.min.js、Gadget-select2.min.css - Suppress display of all CentralNotices (To suppress only certain classes of notices use the Banners option in preferences) (查看说明 | 导出)
使用:Gadget-HideCentralNotice.js、Gadget-HideCentralNotice.css - (D) Reference Tooltips: hover over inline citations to see reference information without moving away from the article text (does not work if "Navigation popups" is enabled above) (查看说明 | 导出)
使用:Gadget-ReferenceTooltips.js、Gadget-ReferenceTooltips.css
默认所有人启用。 - (D) FormWizard: a wizard for creating and expanding project pages (查看说明 | 导出)
使用:Gadget-formWizard.js需要以下权限:
minoredit
- Components for FormWizard (查看说明 | 导出)
使用:Gadget-formWizard-core.js、Gadget-formWizard.css - Improved appearance for mobile, narrow and wide screens. Used by Gadget-responsiveContent (查看说明 | 导出)
使用:Gadget-responsiveContentBase.css
可用于旧版Vector(2010)皮肤。 - Responsive content for Base Timeless (查看说明 | 导出)
使用:Gadget-responsiveContentBaseTimeless.css
可用于Timeless皮肤。 - Prosesize: add a toolbox link to show the size of and number of words in a page (查看说明 | 导出)
使用:Gadget-Prosesize.js、Gadget-Prosesize.css - find-archived-section: navigate easily to an archived section after following its broken link (查看说明 | 导出)
使用:Gadget-find-archived-section.js
Watchlist [查看说明]
- (D) Geonotice: display notices on your watchlist about events in your region (查看说明 | 导出)
使用:Gadget-geonotice.js需要以下权限:
purge
- Additional components used with the Geonotice gadget (查看说明 | 导出)
使用:Gadget-geonotice-list.js、Gadget-geonotice-core.js、Gadget-geonotice-core.css - (D) Display watchlist notices (查看说明 | 导出)
使用:Gadget-watchlist-notice.js需要以下权限:
purge
- Components for the watchlist notice gadget (查看说明 | 导出)
使用:Gadget-watchlist-notice-core.js - (D) (This loads the base style for the watchlist. Please do not disable this option.) (查看说明 | 导出)
使用:Gadget-WatchlistBase.css需要以下权限:
purge
默认所有人启用。 - (D) Display green collapsible arrows and green bullets for changed pages in your watchlist, page history and recent changes (unavailable with the improved Watchlist user interface) (查看说明 | 导出)
使用:WatchlistBase、Gadget-WatchlistGreenIndicators.css需要以下权限:
purge
默认所有人启用。 - (D) Display green collapsible arrows and green bullets for changed pages in your Watchlist, History and Recent changes (unavailable with the improved Watchlist user interface) (查看说明 | 导出)
使用:WatchlistBase、Gadget-WatchlistGreenIndicatorsMono.css需要以下权限:
purge
默认所有人启用。 - Display pages on your watchlist that have changed since your last visit in bold (see customizing watchlists for more options) (查看说明 | 导出)
使用:WatchlistBase、Gadget-WatchlistChangesBold.css - (D) Subtle update marker: Tone down the "Changed since last visit" indicator on history pages. (By default it renders as a green-filled bar, enabling this gadget changes it to green text.) (查看说明 | 导出)
使用:Gadget-SubtleUpdatemarker.css需要以下权限:
purge
默认所有人启用。
Editing [查看说明]
- Add two new dropdown boxes below the edit summary box with some useful default summaries (查看说明 | 导出)
使用:Gadget-defaultsummaries.js - Citation expander: automatically expand and format citations using Citation bot (查看说明 | 导出)
使用:Gadget-citations.js - (S) Syntax highlighter: Alternative to the default coloring of wiki syntax in the edit box (works best in Firefox and works almost all of the time in Chrome and Opera) (查看说明 | 导出)
使用:Gadget-DotsSyntaxHighlighter.js
可用于“edit”页面操作 - (S) HotCat: easily add, remove, and change categories on a page, with name suggestions (example) (查看说明 | 导出)
使用:Gadget-HotCat.js需要以下权限:
edit
purge
- (U) wikEdDiff: improved diff view between article versions (not needed if wikEd is used) (查看说明 | 导出)
使用:Gadget-wikEdDiff.js - (S) ProveIt is a tool that adds a graphical user interface to find, edit, add and cite references (demo) (查看说明 | 导出)
使用:Gadget-ProveIt.js - ProveIt (classic version) is a tool that adds a graphical user interface to find, edit, add and cite references (demo). This is the classic, original version of the gadget. (查看说明 | 导出)
使用:Gadget-ProveIt-classic.js、Gadget-ProveIt-classic.css
可用于“edit”页面操作 - Shortdesc helper: easily add and edit page short descriptions (查看说明 | 导出)
使用:Shortdesc-helper-pagestyles-vector、Gadget-Shortdesc-helper.js、Gadget-Shortdesc-helper.css
可用于以下皮肤:旧版Vector(2010)、Vector(2022)、MonoBook、现代、Timeless。 - Components for the short description helper gadget (查看说明 | 导出)
使用:Gadget-Shortdesc-helper-pagestyles-vector.css
可用于以下皮肤:旧版Vector(2010)、Vector(2022)。 - Component for the library settings gadget (查看说明 | 导出)
使用:Gadget-libSettings.js - (U): alternative full-featured integrated text editor for Firefox, Safari, and Google Chrome () (查看说明 | 导出)
使用:Gadget-wikEd.js - Yet Another AFC Helper Script: easily review Articles for creation submissions, Files for Upload, redirect and category requests (查看说明 | 导出)
使用:Gadget-afchelper.js、Gadget-afchelper.css - (D) CharInsert: add a toolbar under the edit window for quickly inserting wiki markup and special characters (troubles?) (查看说明 | 导出)
使用:Gadget-charinsert.js
默认所有人启用。 - Components for the CharInsert gadget (查看说明 | 导出)
使用:Gadget-charinsert-core.js、Gadget-charinsert-styles.css - Enable the legacy (2006) editing toolbar. This will be overridden by the "Enable the editing toolbar" option in the Editing tab. (查看说明 | 导出)
使用:Gadget-legacyToolbar.js - (D) refToolbar: add a "cite" button to the editing toolbar for quick addition of commonly used citation templates (查看说明 | 导出)
使用:Gadget-refToolbar.js
可用于“edit”页面操作
默认所有人启用。 - Components for the refToolbar gadget (查看说明 | 导出)
使用:Gadget-refToolbarBase.js - (D) EditNoticesOnMobile - enables editnotices for mobile editors. (documentation) (查看说明 | 导出)
使用:Gadget-EditNoticesOnMobile.js
可用于Minerva皮肤。
此小工具支持通过包含?withgadget
查询的URL来加载。
默认所有人启用。
Appearance [查看说明]
- Add an [edit] link for the lead section of a page (查看说明 | 导出)
使用:Gadget-edittop.js、Gadget-edittop.css - (S) Add a clock to the personal toolbar that displays the current time in UTC and provides a link to purge the current page (documentation) (查看说明 | 导出)
使用:UTCLiveClock-pagestyles、Gadget-UTCLiveClock.js、Gadget-UTCLiveClock.css
此小工具支持通过包含?withgadget
查询的URL来加载。 - Components for the UTCLiveClock gadget (查看说明 | 导出)
使用:Gadget-UTCLiveClock-pagestyles.css
可用于以下皮肤:旧版Vector(2010)、Vector(2022)、MonoBook。 - Add a "Purge" option to the top of the page, which purges the page's cache (查看说明 | 导出)
使用:Gadget-purgetab.js - Add a selector to the Wikipedia search page allowing the use of external search engines (查看说明 | 导出)
使用:Gadget-externalsearch.js - Allow toggling between tabs and dropdown menus (bug reports) (查看说明 | 导出)
使用:Gadget-MenuTabsToggle.js、Gadget-MenuTabsToggle.css
可用于以下皮肤:旧版Vector(2010)、Vector(2022)。 - Place the category box above all other content (查看说明 | 导出)
使用:Gadget-CategoryAboveAll.js
可用于MonoBook皮肤。 - Replace the "new section" tab text with "+" (查看说明 | 导出)
使用:Gadget-addsection-plus.js - (U) Change UTC-based times and dates, such as those used in signatures, to be relative to local time (documentation) (查看说明 | 导出)
使用:Gadget-CommentsInLocalTime.js - Display diffs with the old yellow-and-green colors and design (查看说明 | 导出)
使用:Gadget-OldDiff.css - Disable animations in the interface (查看说明 | 导出)
使用:Gadget-NoAnimations.js - Disable the suggestions dropdown-lists of the search fields (查看说明 | 导出)
使用:Gadget-disablesuggestions.js - Disable smaller font sizes of elements such as infoboxes, navboxes and reference lists (查看说明 | 导出)
使用:Gadget-NoSmallFonts.css - Display a floating alert for new talk page messages (查看说明 | 导出)
使用:Gadget-topalert.js、Gadget-topalert.css - Display an assessment of an article's quality in its page header (documentation) (查看说明 | 导出)
使用:Gadget-metadata.js、Gadget-metadata.css - Justify paragraphs (查看说明 | 导出)
使用:Gadget-JustifyParagraphs.css - Move section [edit] links to the right side of the screen (查看说明 | 导出)
使用:Gadget-righteditlinks.css - PrettyLog: format log pages like search results, and add small thumbnails for file uploads (查看说明 | 导出)
使用:Gadget-PrettyLog.js、Gadget-PrettyLog.css - (D) Show radio buttons to switch between views of certain content, such as some maps (查看说明 | 导出)
使用:Gadget-switcher.js
默认所有人启用。 - SidebarTranslate: display sidebar language links in English (查看说明 | 导出)
使用:Gadget-SidebarTranslate.js、Gadget-SidebarTranslate.css - Use a black background with green text (查看说明 | 导出)
使用:Gadget-Blackskin.css
可用于以下皮肤:MonoBook、旧版Vector(2010)、Vector(2022)。 - Dark mode toggle: Enable a toggle for using a light text on dark background color scheme (查看说明 | 导出)
使用:dark-mode-toggle-pagestyles、Gadget-dark-mode-toggle.js - ⧼gadget-dark-mode-toggle-pagestyles⧽ (查看说明 | 导出)
使用:Gadget-dark-mode-toggle-pagestyles.css
可用于以下皮肤:旧版Vector(2010)、Vector(2022)、Minerva、MonoBook。 - Vector classic typography (use only sans-serif in Vector skin) (查看说明 | 导出)
使用:Gadget-VectorClassic.css
可用于以下皮肤:旧版Vector(2010)、Vector(2022)。 - Widen the search box in the Vector skin (查看说明 | 导出)
使用:Gadget-widensearch.css
可用于以下皮肤:旧版Vector(2010)、Vector(2022)。 - Display links to disambiguation pages in orange (查看说明 | 导出)
使用:Gadget-DisambiguationLinks.css - Strike out usernames that have been blocked (查看说明 | 导出)
使用:Gadget-markblocked.js - Improved appearance for mobile, narrow and wide screens (documentation) (查看说明 | 导出)
使用:responsiveContentBase、Gadget-responsiveContent.js
可用于以下皮肤:旧版Vector(2010)、Vector(2022)。 - (D) Improved appearance for mobile and narrow screens (查看说明 | 导出)
使用:responsiveContentBaseTimeless、Gadget-responsiveContentTimeless.js
可用于Timeless皮肤。
默认所有人启用。 - Do not show search results for sister projects on the search results page (查看说明 | 导出)
使用:Gadget-HideInterwikiSearchResults.css - XTools: dynamically show statistics about a page's history under the page heading (查看说明 | 导出)
使用:Gadget-XTools-ArticleInfo.js
Advanced [查看说明]
- (S) Add a sidebar menu of user-defined regex tools, with a dynamic form for instant one-use regex (documentation) (查看说明 | 导出)
使用:Gadget-RegexMenuFramework.js - Add a toolbox link to reload the current page with the system message names exposed (查看说明 | 导出)
使用:Gadget-ShowMessageNames.js - Add a toolbox link to reload the current page with Resource Loader in debug mode (查看说明 | 导出)
使用:Gadget-DebugMode.js - Allow /16, /24 and /27 – /32 CIDR ranges on Special:Contributions forms, as well as wildcard prefix searches (e.g., "Splark*") (report issues) (查看说明 | 导出)
使用:Gadget-contribsrange.js - Enable tracking bugs on Phabricator using the Template:Tl template (查看说明 | 导出)
使用:Gadget-BugStatusUpdate.js - (S) Real-Time Recent Changes: patrol recent changes in real-time (unpatrolled filter only works for new pages) (查看说明 | 导出)
使用:Gadget-RTRC.js - Install scripts without having to manually edit JavaScript files (documentation) (查看说明 | 导出)
使用:Gadget-script-installer.js
Maintenance and administration [查看说明]
- XFDcloser: close deletion discussions at XfD venues, including actions to implement closes (查看说明 | 导出)
使用:Gadget-XFDcloser.js需要以下权限:
extendedconfirmed
- Components for the XFDcloser gadget (查看说明 | 导出)
使用:Gadget-XFDcloser-core.js、Gadget-XFDcloser-core.css - Beta testing components for XFDcloser gadget (查看说明 | 导出)
使用:Gadget-XFDcloser-core-beta.js、Gadget-XFDcloser-core-beta.css - Utility gadget. You should not be able to see this from Special:Preferences. (查看说明 | 导出)
使用:Gadget-libExtraUtil.js
Testing and development [查看说明]
- (S) AddMe: endorse or join a project using Template:Tl (查看说明 | 导出)
使用:Gadget-addMe.js、Gadget-addMe.css - New image thumb design, and other minor styling tweaks (TOC, categories). Discuss. (查看说明 | 导出)
使用:Gadget-NewImageThumb.js、Gadget-NewImageThumb.css
可用于以下皮肤:旧版Vector(2010)、Vector(2022)。 - Make headers of tables display as long as the table is in view, i.e. "sticky" (requires Chrome v91+, Firefox v59+, or Safari) (查看说明 | 导出)
使用:Gadget-StickyTableHeaders.js、Gadget-StickyTableHeaders.css - Add map popups to coordinates in the mobile website (查看说明 | 导出)
使用:Gadget-mobilemaps.js - Show an alert when you encounter JavaScript errors (查看说明 | 导出)
使用:Gadget-ShowJavascriptErrors.js - Show page description beneath the page title (not compatible with Page assessments gadget) (查看说明 | 导出)
使用:Gadget-Page descriptions.js
可用于以下皮肤:旧版Vector(2010)、Vector(2022)、MonoBook、现代。 - Auto-number headings: Adds hierarchical outline-style numbering to headers in articles (documentation) (查看说明 | 导出)
使用:Gadget-autonum.js、Gadget-autonum.css
Utility modules [查看说明]
- Utility gadget. You should not be able to see this from Special:Preferences. (查看说明 | 导出)
使用:Gadget-libLua.js - Utility gadget. You should not be able to see this from Special:Preferences. (查看说明 | 导出)
使用:Gadget-libSensitiveIPs.js - Core styling for dark mode gadget (Use the dark mode toggle gadget above to control this feature) (查看说明 | 导出)
使用:Gadget-dark-mode.css
可用于以下皮肤:旧版Vector(2010)、Vector(2022)、MonoBook、现代、Minerva、Timeless。
此小工具支持通过包含?withgadget
查询的URL来加载。