Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 Installation  





2 Usage  





3 Function  





4 Technical details  





5 Reporting Bugs  





6 Credits  














User:Symplectic Map/AutoSpell

















User page
Talk
 

















Read
Edit
View history
 








Tools
   


Actions  



Read
Edit
View history
 




General  



What links here
Related changes
User contributions
User logs
View user groups
Upload file
Special pages
Permanent link
Page information
Get shortened URL
Download QR code
 




Print/export  



Download as PDF
Printable version
 
















Appearance
   

 






From Wikipedia, the free encyclopedia
 

< User:Symplectic Map

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

Installation[edit]

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[edit]

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

Function[edit]

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[edit]

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[edit]

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

Credits[edit]

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


Retrieved from "https://en.wikipedia.org/w/index.php?title=User:Symplectic_Map/AutoSpell&oldid=1086843913"





This page was last edited on 8 May 2022, at 18:04 (UTC).

Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



Privacy policy

About Wikipedia

Disclaimers

Contact Wikipedia

Code of Conduct

Developers

Statistics

Cookie statement

Mobile view



Wikimedia Foundation
Powered by MediaWiki