Jump to content

User:Polygnotus/Scripts/TypoFixer

From Wikipedia, the free encyclopedia

This script, used in combination with {{Verify spelling}} can be used to allow users to fix typos or reject proposed fixes in one click.

TypoFixer
DescriptionAllows users to fix typos or reject proposed fixes in one click
Author(s)Polygnotus
UpdatedAugust 22, 2024
    (2 months ago)
SourceUser: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

Limitations

[edit]