User:Pathoschild/Standardization

All namespaces

 * Syntax
 * Templates: remove msg: and template modifiers, and remove parameter whitespace.
 * Headers: normalize whitespace (no space between syntax and header text; no blank lines between header and following text; one blank line above header, unless it follows another header).
 * Lists: normalize whitespace (one space between item syntax and text).
 * Categories: normalize capitalization and parameter whitespace.
 * Links: normalize pipe whitespace, remove redundant link text ( to , replace underscores with spaces.
 * Sorting
 * Group license templates, categories, and interlanguage links at the bottom of the page in separate lists by type delineated by a single blank line between each.
 * Sort each list alphabetically (case-insensitive).

Author namespace

 * Normalize parameter layout.
 * Convert deprecated parameters and add new parameters.
 * Remove categories added automatically by.
 * Update redirects from  to.

Main namespace

 * Normalize or  parameter layout.
 * Convert to the transitional  format.

Author pages

 * When no date categories are present and a full date is given in the deprecated 'date' parameter, the script mistakenly uses the first number instead of the year for the birthyear (ie, "June 18, 1986").
 * Causes: regex pattern matches the first number; difficult to resolve, may need to get all numbers and use the biggest (will work in most cases).
 * Workaround: correct manually.

All namespaces

 * 1) Occasionally, an extra blank line will be inserted above the sorted elements. This is a non-issue.
 * 2) * Causes: unknown, possibly related to the end whitespace regex.
 * 3) * Workaround: remove the extra line, or ignore it (no significant effect on the output).