Wikipedia:AutoWikiBrowser/Settings

From Wikipedia, the free encyclopedia

AutoWikiBrowser - 4.3.2.0

v  d  e
Home

General information about AutoWikiBrowser and directions for installation.

Request approval

Request approval to be added to the CheckPage to use AutoWikiBrowser.

Discussion

Discuss the application and ask questions.

Bugs

Report bugs in the application.

Feature Requests

Request new features to be implemented into AWB

User manual

The full user manual.

Developer Talk Page · Typos · IW Order · User talk templates · Plugins · IRCMonitor · Projects which have used AWB · Changelog · AWB Sandbox · Settings · Custom Modules · WikiFunctions.dll · Custom style.css · Userbox · SVN Snapshots · Usage Stats
Wikipedia:AutoWikiBrowser AutoWikiBrowser (Scripts)
 This is a repository of settings and scripts which perform specific tasks using the AutoWikiBrowser.


Contents

[edit] Scripts & Settings

Script name Functions Notes Authors
Bracket reference conversion It converts bracket references (such as [1]) to Cite.php and {{cite web}}. none Bookofjude
mboverload's RegExTypoFix spellchecker Misspellings replace list. Built-in to AWB Built from scratch by hand to be used near bot level (goal is to be always "Save"). Includes the different capitalizations and plurals of every word. Note: now built into AWB. mboverload
WP:GUS Userbox fixing Migrating UBs incompletely moved under WP:GUS Check with me before using, it might need updating Phil
de-linking be-bold fixing links to be bold which should go to be bold this is the first pass, catching only vanilla links; piped stuff will come later Phil
migrate babel-x migrating {{Babel-X}} to {{Babel}} and fixing old syntax Phil
ISBN-hyph Tidying up and hyphenating ISBN numbers Pretty robust, I believe. Labels some invalid ISBNs. Be careful with 13 digit ISBNs and trailing hyphens. Now obsolete due to AWB version. Rich Farmbrough
ISSN Tidying up and checksumming ISSN numbers Pretty robust, I believe. Labels some invalid ISSNs. Implements arithmetic in regular expressions. Now obsolete due to AWB version. Rich Farmbrough
Birth and death Converting to {{birth date}} etc. templates Most entries should be already done by humans or by User:SmackBot. You can of course request a run against any specific list/category. Rich Farmbrough

[edit] Sample regular expressions

[edit] XHTML compliance

<br> and <hr> to <br /> and <hr />
Match:<[/]?(br|hr)([^{/}<>]*?)> replace with: <$1$2 />
HTML Attribute quoting 
Match:(<\w+)\s*(\w+) *= *(['"]([^"']*?)['"]|([#-9A-Za-z]+))([^{}<>]*>) replace with:$1 $2="$4$5"$6

[edit] Conditions

Between X and Y bytes of wikitext
Single line conditional regex: ^.{0,900}$ where 0 is the mininum and 900 is the maximum
Curd word count
Single line conditional regex: ^\W*(\w+\W+){13,29}\w*$ where 13 is the mininum and 29 is the maximum
Languages