User:Symplectic Map/AutoSpell

Today we are going to talk about User:Symplectic Map/AutoSpell. This is a topic that has captured the attention of many people in recent years. User:Symplectic Map/AutoSpell has become something that we cannot ignore, whether because of its impact on society or on our personal lives. It is a topic that has generated emotions and debates, and has led to reflection on its importance in daily life. Many experts have studied and analyzed User:Symplectic Map/AutoSpell from different perspectives, and today we want to delve into its meaning, scope and significance. We hope that this article gives you a broader and clearer vision about User:Symplectic Map/AutoSpell and invites you to reflect and delve into its importance in our current world.

AutoSpell is a user script which corrects common misspellings in Wikipedia articles.

Installation

1. Put the following line in your monobook.js (if you are using the default monobook theme):

importScript('User:Symplectic_Map/spell.js');

2. Clear your browser cache by pressing 'Ctrl+Shift+r' in Firefox or by pressing 'Ctrl+F5' in Google Chrome or by pressing 'Ctrl+Reload' in Internet Explorer.

3. You should see a 'spell' tab next to the watch/unwatch tab at the top of the page.

Usage

The script can be invoked either in edit mode or in view mode by pressing the 'spell' tab.

Function

When invoked, the script will open the article-edit page (if necessary), then perform a sequence of search/replace commands in an attempt to correct common misspellings. Once the script has completed, it will place a brief statement in the edit summary, click 'this is a minor edit', and press the show changes button. It is up to the user to inspect the changes and accept/reject the changes. It is important that the user does not blindly accept changes, as there may be a undiscovered bug in the script and/or a misspelling may be false-positive.

Note that misspelled image and/or file names should not be corrected. In an effort to reduce this problem, the script will attempt to obfuscate such misspellings using the {{sic}} template. For example, '{{sic|aval|iable|hide=y}}' will render as 'avaliable' but will not trigger replacement. Using the {{sic}} template should prevent bots/scripts from falsely correcting these 'correct misspellings'.

Technical details

The core front-end is located in User:Symplectic Map/spell.js. The regular expressions for search/replace are located in User:Symplectic Map/misspellings.js and User:Symplectic Map/capitalizations.js. Each of these functions uses tools located in User:Symplectic Map/script.js.

Reporting Bugs

Please report any bugs on Symplectic Map's talk page.

Credits

The code was created by modifying WP:AutoEd and compiling misspellings from the lists of common misspellings.