User:Beetstra/PageCleanup

If you are here because my AWB-run made a bad mistakes in editing a page, please notify me on my talk-page or on the talk-page of this page. Remember, I try to do my best to make good changes, but the finger hitting the save-button in AWB is still human. Sorry if there are things really going wrong, just revert my edit, and notify me. I will try and repair the script I am using (or ignore the page, and do the edit by hand). Things done here are a subset of the settings here, I sometimes forget to put one out, hope to do it right.

On the other hand, if you think, there is something I could do to pages, which you think could be done with AWB, please add it to the 'things to be programmed' section (and I will think about it).

Things that have been programmed
I am currently programming AWB to automatically clean up chemical compound related pages (seehere for settings and script). I saw that the script can also be used to cleanup other pages.

It tries to do a lot of things in one run:


 * 1) General fixes (interwiki sort, stub to bottom, etc.) (internal AWB machine).
 * 2) Unicodify (internal AWB machine).
 * 3) RegEx typo fix User:Mboverload/RegExTypoFix (internal AWB machine).
 * 4) Change cleanup into cleanupdate.
 * 5) Remove the space from ' ]'.
 * 6) "url" becomes "[url url]".
 * 7) Move inline url's into refs.
 * 8) "[url text]" becomes "text ".
 * 9) [url] becomes.
 * 10) Rebuilding Maintenance template into seperate stubs
 * 11) Format the -tag
 * 12) Attempt to automatically add a tag to an article containing -tags.
 * 13) Remove some empty lines before headers.

'Problems'

 * The replacing of inline url's does not 'see' that it is sometimes doing the replacing in wrong places (e.g. external links sections). For now it is paranoid, and now it does not edit in the places where it should .. :-( .. can someone tell me how to tell regex to discard anything in e.g. the 'references'-section, some codes work half of the time, but I can't get it to foolproof
 * For now I am not making references for all URL-s after the ==Notes==, ==References== or ==External links== sections.

Tasks done by hand in the same runs

 * 1) 'Stub-sort'-ing
 * 2) moving around paragraphs, adding/removing Cleanup, Notability, Citation needed-tags.

Tasks to be programmed
If you know strings of data that could be replaced, put them in this section.