User:Chris the speller/SkipTrick

Sometimes it would be handy to have more than one "Skip" text field in AWB. You can use Find & Replace expressions to simulate this, though it will not be quite as fast, and will take a minute or two to set up. However, this trick may enable you to avoid looking at many pages and avoid accidentally making erroneous changes. It temporarily changes certain strings, allowing AWB to skip articles that only contain false hits. Save these settings so you can use them periodically without having to look at the same false positives each time.

A simple example
You want to change "infact" to "in fact", but there are many articles that contain URLs with "&infact", "?infact", ".infact", etc. In the table below, the first rule "moves" these out of the way temporarily, by changing them to a different string that is extremely unlikely to appear in the article. The second rule performs the actual desired fix, then the third rule restores the temporarily altered strings. If you have checked "Skip if no replacement", and the second rule did not actually find something to fix, then the article has no net changes and will be skipped. In the rare case where the first and second rule both made changes, those made by the second rule will be the only ones visible in the difference window. But if you have checked "Add replacements to edit summary", it will produce a rather bewildering edit summary. For this reason, you may want to uncheck that box and manually enter the edit summary for that one article.

You may also add other rules before and after these to temporarily change "infact [sic]" and other such strings.

Some similar protection can be obtained by checking "Ignore external/interwiki link..." and "Ignore templates, refs...", but these can often prevent you from finding actual misspellings. The technique shown here lets you dig a little deeper. Take off the training wheels, but be careful!

"infront" example from real life
The first 11 rules clear out known proper names, known image names, links, known reference names and templates. The last two rules make the real changes and then undo all temporary changes.

 infront\ of\ temple\ nature inqxqxfront of temple nature part of image name false true true false None</RegularExpressionOptions> </Replacement> <Replacement> <Find>Infront\ Motor\ &amp;\ Spo</Find> <Replace>Inqxqxfront Motor &amp; Spo</Replace> <Comment>part of proper name</Comment> <IsRegex>false</IsRegex> <Enabled>true</Enabled> <Minor>true</Minor> <BeforeOrAfter>false</BeforeOrAfter> <RegularExpressionOptions>None</RegularExpressionOptions> </Replacement> <Replacement> <Find>Infront\ Investments</Find> <Replace>Inqxqxfront Investments</Replace> <Comment>part of proper name</Comment> <IsRegex>false</IsRegex> <Enabled>true</Enabled> <Minor>true</Minor> <BeforeOrAfter>false</BeforeOrAfter> <RegularExpressionOptions>None</RegularExpressionOptions> </Replacement> <Replacement> <Find>Infront\ Sports</Find> <Replace>Inqxqxfront Sports</Replace> <Comment>part of proper name</Comment> <IsRegex>false</IsRegex> <Enabled>true</Enabled> <Minor>true</Minor> <BeforeOrAfter>false</BeforeOrAfter> <RegularExpressionOptions>None</RegularExpressionOptions> </Replacement> <Replacement> <Find>infront\ of\ the\ Pearl\ Roundabout</Find> <Replace>inqxqxfront of the Pearl Roundabout</Replace> <Comment>part of image name</Comment> <IsRegex>false</IsRegex> <Enabled>true</Enabled> <Minor>true</Minor> <BeforeOrAfter>false</BeforeOrAfter> <RegularExpressionOptions>None</RegularExpressionOptions> </Replacement> <Replacement> <Find>\(cannel\)\ infront</Find> <Replace>(cannel) inqxqxfront</Replace> <Comment>part of image name</Comment> <IsRegex>false</IsRegex> <Enabled>true</Enabled> <Minor>true</Minor> <BeforeOrAfter>false</BeforeOrAfter> <RegularExpressionOptions>None</RegularExpressionOptions> </Replacement> <Replacement> <Find>Road\ infront\ of\ lohagara</Find> <Replace>Road inqxqxfront of lohagara</Replace> <Comment>part of image name</Comment> <IsRegex>false</IsRegex> <Enabled>true</Enabled> <Minor>true</Minor> <BeforeOrAfter>false</BeforeOrAfter> <RegularExpressionOptions>None</RegularExpressionOptions> </Replacement> <Replacement> <Find>publisher=Infront</Find> <Replace>publisher=Inqxqxfront</Replace> <Comment>part of cite template</Comment> <IsRegex>false</IsRegex> <Enabled>true</Enabled> <Minor>true</Minor> <BeforeOrAfter>false</BeforeOrAfter> <RegularExpressionOptions>None</RegularExpressionOptions> </Replacement> <Replacement> <Find>\[\[Infront</Find> <Replace>[[Inqxqxfront</Replace>       <Comment>part of a link</Comment>        <IsRegex>false</IsRegex>        <Enabled>true</Enabled>        <Minor>true</Minor>        <BeforeOrAfter>false</BeforeOrAfter>        <RegularExpressionOptions>None</RegularExpressionOptions>      </Replacement>      <Replacement>        <Find>name="infront</Find>        <Replace>name="inqxqxfront</Replace>        <Comment>part of a reference name</Comment>        <IsRegex>false</IsRegex>        <Enabled>true</Enabled>        <Minor>true</Minor>        <BeforeOrAfter>false</BeforeOrAfter>        <RegularExpressionOptions>None</RegularExpressionOptions>      </Replacement>      <Replacement>        <Find>(I|i)nfront}}</Find>        <Replace>$1nqxqxfront}}</Replace>        <Comment>part of a template</Comment>        <IsRegex>true</IsRegex>        <Enabled>true</Enabled>        <Minor>true</Minor>        <BeforeOrAfter>false</BeforeOrAfter>        <RegularExpressionOptions>None</RegularExpressionOptions>      </Replacement>      <Replacement>        <Find>(?&lt;![-/.])\b(I|i)nfront\b</Find>        <Replace>$1n front</Replace>        <Comment>actually change all others</Comment>        <IsRegex>true</IsRegex>        <Enabled>true</Enabled>        <Minor>true</Minor>        <BeforeOrAfter>false</BeforeOrAfter>        <RegularExpressionOptions>None</RegularExpressionOptions>      </Replacement>      <Replacement>        <Find>(I|i)nqxqxfront</Find>        <Replace>$1nfront</Replace>        <Comment>undo all temporary changes</Comment>        <IsRegex>true</IsRegex>        <Enabled>true</Enabled>        <Minor>true</Minor>        <BeforeOrAfter>false</BeforeOrAfter>        <RegularExpressionOptions>None</RegularExpressionOptions>      </Replacement> -->