["Wikipedia:Correct typos in one click"](https://en.wikipedia.org/wiki/Wikipedia:Correct_typos_in_one_click) is a project that helps editors correct typos across Wikipedia.
To complete the task please go through the editor side steps first, to understand the project objective, and then go through the admin side steps to actually expand the project to WikibooksIn the following steps you will fix some typos in Wikipedia using the project script and test its functionality.
The process of the project in the editor side:# Create an account on English Wikipedia (https://en.wikipedia.org/w/index.php?title=Special:CreateAccount)
# Create account on English WikipediaVisit the project page (https://en.wikipedia.org/wiki/Wikipedia:Correct_typos_in_one_click)
# Scroll to the end of the page using "Desktop scroll to bottom" button
# Add a line of code to your personal JavaScript code area#each paragraph should have link to an article in the title, suspect word, as instructed in project pagethe offered correction and some context
# Refresh# Type in the search box: User:YOURNAME/common.js (replace YOURNAME with the account you created)
# Buttons of "replace", "type", "remove" will appear on the project page,# Choose the option "start the ... and will allow you to correct suspect typos in one click.page"
# Fix or dismiss at least 5 words using the added buttons.
The process on the admin side:In the edit box paste: importScript('User:Uziel302/typo.js'); -this should load the project script on your browser.
# Click "Publish page" at the bottom.
# Hard refresh in order to load the script. See the keyboard shortcuts of your machine at the gray box at: https://en.wikipedia.org/wiki/Wikipedia:Bypass_your_cache
# Go back to the project page (https://en.wikipedia.org/wiki/Wikipedia:Correct_typos_in_one_click)
# Create a list of misspellings of real words - my list is downloadable at https://typos.site/33mcorrections.rar (should be extracted after download)Buttons of "replace", "type", "remove" will appear on the project page under each paragraph title, and will allow you to correct suspect typos in one click.
# Download a copy of the whole wiki site, for the current task download "Articles, templates, media/file descriptions, and primary meta-pages." from https://dumps.wikimedia.org/enwikibooks/20191201/ (extract after download)Find a typo where the offer correction is right and click replace
# Search for the list of misspelled words in# There should be a popup that the downloaded wikitypo was fixed, using this C code: https://github.com/Uziel302/websites-spell-checker/blob/master/enwiki%20autocorrect.c Create a new text file,click it and view the changes. copy the code to it and save it as autocorrect.c To compile C program you will need either access to UNIX command line (Mac/Linux/Chromebook machine) where you can run "gcc autocorrect.c -o autocorrect" from a directory where the C file is saved.If no popup was seen within few seconds of correction, To run the prgoram use "./autocorrect". If using Windows machine, use a development environment like CodeBlocksreport a bug.
# Click "contributions" at the top menu and review the edits you made.
# Click diff button to view the before and after of the edit.
# Create a project page by searching "Wikibooks:Correct typos in one click" inside en.wikibooks.org and clicking the red link to create the page.Find in the project page a false positive, a word that shouldn't be corrected, Basic content you can copy from English Wikipedia project pageand click remove.
# Copy the list of typos the C program produced into the project page# Make sure that after refresh the passage is removed.
# Treat 5 typos from the list as done on the editor side.
If you like fixing typos with the tool you can keep fixing on your free timeFind in the project page a word that should be corrected, instead of clicking replace use "type" and type the correction. If you don't like, tell me what's missing....Make sure the edit it done in the article as you typed.