User:Polygnotus/Scripts/TypoFixer
Appearance
This user page or section is in a state of significant expansion or restructuring. You are welcome to assist in its construction by editing it as well. If this user page has not been edited in several days, please remove this template. If you are the editor who added this template and you are actively editing, please be sure to replace this template with {{in use}} during the active editing session. Click on the link for template parameters to use.
This page was last edited by Polygnotus (talk | contribs) 2 months ago. (Update timer) |
This script is not ready for use yet! |
This script, used in combination with {{Verify spelling}} can be used to allow users to fix typos or reject proposed fixes in one click.
Description | Allows users to fix typos or reject proposed fixes in one click |
---|---|
Author(s) | Polygnotus |
Updated | August 22, 2024 (2 months ago) |
Source | User:Polygnotus/Scripts/TypoFixer.js |
The script turns:
repersented{{verify spelling|reason=repersented=>represented}}
into:
Installation
[edit]First install User:Enterprisey/script-installer, then come back to this page and click the giant blue "Install" button in the infobox on the right.
Or install it manually by adding the below code to your Special:MyPage/common.js file:
{{subst:iusc|User:Polygnotus/Scripts/TypoFixer.js}}
Testing
[edit]You can test the script over at User:Polygnotus/Scripts/TypoFixerTest.
Functionality
[edit]- Allows the user to implement the proposed typofix (and remove the template) by clicking the Play icon
- Allows the user to remove the template without implementing the proposed typofix by clicking the Stop icon