Here's a description of what my javascript automatically does as I edit pages in the main namespace.

Comments at User talk:Vildricianus. Note that I watch these changes, and undo any "bad" edits the script does. In general, these would not be very different from my manual editing, it's just easier.

If you need some lousy formatting job done, feel free to ask.

As of June 2, 2006 edit

Minor changes
  • Remove all kinds of minor spacing issues, for instance trailing spaces or spaces inside == headers ==.
  • Fix blank lines/whitespaces/whatever it's called:
    • Always a blank line before a header, except level 2
    • Always a blank line between inflection line and definitions
    • Always a blank line after a dividing line (before needs manual tweaking)
    • Never two or more spaces
    • Never a blank line in other instances (I guess)
  • Capitalize most definition sentences and add a space after #.
  • Remove "#:Quotations"
  • "Third person" into "Third-person"
  • "Past tense of" into "Simple past and past participle of"
  • If definitions immediately after a header, add an inflection line plus blank lines ('''{{subst:PAGENAME}}''' by default).
Templates
  • Templatize all kinds of stuff from (''tag'') into {{tag}}:
    • transitive, intransitive, reflexive
    • countable, uncountable
    • archaic, dated, obsolete, rare
    • vulgar, slang, poetic, formal, informal, colloquial
    • euphemism, figurative,
    • all kinds of topic tags, such as chemistry, biology etc.
    • gender and number: m, f, n, c, pl, sg, and most combinations
  • See also's into the template
  • Lowercase a number of oft-capitalized templates, such as "Wikipedia"
  • Enclose AHD, IPA and SAMPA in templates.
Categories
  • remove some English part of speech categories:
    • English language
    • English nouns
    • English proper nouns
    • English adjectives
    • English adverbs
    • English verbs
    • English transitive verbs
    • English intransitive verbs
    • English slang (this should go at Category:Slang by means of the template)
    • Countable
    • Uncountable
  • uppercase [[category:
  • remove the space in [[Category: Foo]]
Headers
  • Fix level of Alternative spellings and a few others.
  • Some headers always level four or more: derived terms, translations, translations to be checked
  • Change all kinds of wrong names, such as "Translations to be categorized" ("..checked"), "Derived words" ("..terms"), "Also See" ("See also") etc.
  • Change all kinds of bad caps, such as "Derived Terms" ("..terms").
Language wikification
  • Dewikify the most well-known languages
  • Change "Latin" into "Roman" script names of Serbian.
  • Substitute all language templates, which has all been done anyway