/twinkle

The wikipedia twinkle javascript helper

Primary LanguageJavaScript

Twinkle Build Status

Twinkle is a JavaScript application that gives Wikipedians a quick way of performing common maintenance tasks, such as nominating pages for deletion and cleaning up vandalism.

See Wikipedia:Twinkle on the English Wikipedia for more information.

AzaToth is the original author and maintainer of the tool, as well as the morebits.js library gadget, which forms the basis for many Wikipedia scripts and editing tools in addition to Twinkle.

How to file a bug report or feature request

If you're unsure whether you are experiencing a Twinkle-based bug, you should first try asking at Wikipedia talk:Twinkle, where other editors may assist you. Bugs may be filed either here or at Wikipedia talk:Twinkle. For simple feature requests or changes (e.g., a template was deleted or renamed) feel free to open an issue or pull request here, but for more significant changes, consider discussing the idea on Wikipedia talk:Twinkle and any relevant pages first to ensure there is consensus for the change and to get broader community input. If you believe you have found a security issue, follow the guidelines in SECURITY.md.

If you'd like to start contributing, awesome! Check out CONTRIBUTING.md to get started!

Layout of this repository

  • morebits.js: The central library used by Twinkle and many other scripts. Contains code to interact with the MediaWiki API, display forms and dialogs, generate status logs, and do various other useful things. The vast majority of code in here is not Twinkle-specific.
  • twinkle.js: General Twinkle-specific code, mostly related to preferences and exposing Twinkle in the UI. Significantly, it contains the default set of preferences of Twinkle.
  • modules: Contains the individual Twinkle modules. Descriptions for these can be found in header comments or in the Twinkle documentation. The module twinkleconfig.js powers the Twinkle preferences panel.

select2 is added under the MIT license.