User:Neils51/sandbox

unified school district USD 1234 end USD 234 end USD 234 million end USD 12324 million end $USD 234 though a little faulty USD 234 billion end USD 234 Billion end USD 233456 Billion end $USD 220 million end (mode to regex required for this).

The prizes are a donkey, 10,000,000£, and a goldfish. The prizes are a donkey 10,000,000,000£, and a goldfish. The prizes are a donkey 10,000£ and a goldfish. The prizes are a donkey, 10,000£ and a goldfish.


Java Wiki Browser - WP:JWB
Load speeds - WP:LOAD
Typos - WP:AWB/Typos & Talk WT:AWB/T
More typos - WP:TT/M
New changes - WP:RCP
Regular expressions - WP:REGEX
Search syntax - elastic
Misspellings - WP:LCM
Archive copy as title - ACAT
CS1 errors - - lack of URL
Special Pages - Special Pages
Duplicate Args - CAT:DUPARG
Linked Misspellings - Linked Misspellings
Reports - WP:DBR
All stuff WikiBrowser - Category WikiBrowser
DavidBrooks' AWB Builds - AWB builds
Link to tables page - User:Neils51/tables
Link to Signpost - User talk:Neils51/Signpost
Magic words - Magic words
Technical Village Pump - TVP
Miscapitalizations - DB reports
Circular linked pages - User:Dawnseeker2000/Sandbox 3
URL to Wiki - Template
Page patrol - common typos - Page Patrol
The Missing Manual - The manual


alcahol calandar dissaper falible gallaxy homogenous hapen ilegal finanical magasine pampflet suprise suddently

millieu millieux milleau milleu


childrens children's children's's childrens'

womans woman's womans' womans's'

mens men's men's's mens'

women's womens' womens's women's's

its test it's test its' test Its' test its' (test)

I often come across wikilinks in section headers and currently fix manually, however, after coming across nearly 20 in an article I was wondering if anyone has written regex or C# to find and do the bulk of the work to change to 'see also', which seems to fit 99% of the time? Neils51 (talk) 14:18, 24 May 2022 (UTC)

I don't see how moving them to 'see also' usually fits. I usually unlink the term in the header and link it in the section, usually in the first sentences. MB 14:23, 24 May 2022 (UTC)
As discussed here MOS:LINKSTYLE although may be context related. Depends on the article I suppose. Neils51 (talk) 15:03, 24 May 2022 (UTC)
@Neils51: Here's a small trick using regexes, but it will only work with headers that contain one wikilink:
Replace /^(=+)(\s*.*)(\[\[([^#|<>{}\[\]]+?(?:#.*?(?=\||\]\]))?)(?:\|.+?)?\]\])(.*\s*)\1$/gm
with $1$2{{subst:Delink|$3}}$5$1\n{{see also|$4}}
Basically, we capture the link's target, delink the header with {{Delink}}, then wrap that target into {{see also}} and add it add a second line.
Note that user scripts or AWB plugins should be preferred as JS and C# are real, Turing-complete programming languages with much more power than regex.
NguoiDungKhongDinhDanh 19:25, 24 May 2022 (UTC)
Addendum: You may re-replace the regex above multiple times, then clean up {{see also}}s by replacing /(?<=^{{[\t_ ]*[Ss]ee[\t_ ]+also[\t_ ]*(?:\|\s*([^#|<>{}\[\]]+?(?:#.*?(?=\||\}\}))?))+)}}\n{{[\t_ ]*[Ss]ee[\t_ ]+also[\t_ ]*/gm with nothing. NguoiDungKhongDinhDanh 19:45, 24 May 2022 (UTC)
@NguoiDungKhongDinhDanh: Much appreciated! Will look at a plugin at some point. Neils51 (talk) 21:15, 24 May 2022 (UTC)
Have this working just fine in AWB. Used in Advanced Setting, else in Normal Settings the edit summary gets a little messed. Made modifications to the replace function and don't use the de-link, currently running with two iterations enabled. The 'see also' cleanup is in a subrule. Plan to use a macro to push in an edit summary. Neils51 (talk) 11:23, 27 May 2022 (UTC)

An NZ

The typo list currently changes "a NZ" to "an NZ" which is correct, but I've just found an exception to this rule: changing "a NZ$420 million" to "an NZ$420 million" is incorrect, because it's pronounced" a $420 million New Zealand dollar ..." or just "a $420 million dollar ...". Could someone fix this please? ―Panamitsu (talk) 21:22, 17 December 2025 (UTC)

This error is still being made so I would appreciate it if someone could fix it. I'm not sure how to do it myself. It should change "an NZ$" to "a NZ$". Panamitsu 11:00, 26 March 2026 (UTC)
a NZ 
an NZ 
a NZ$420 million 
an NZ$420 million

Content Disclaimer

Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.

  1. The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
  2. There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
  3. It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
  4. Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
  5. Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.