Agreed bot tasks[edit | edit source]

Uncontroversial or agreed-upon tasks should be listed here:

Routine bot tasks[edit | edit source]

Actual commands are in bold.

Most are currently performed by ChriswaterguyBot, but may be performed by any bot. Use appropriate care.

  • fix double-redirects: python double (browse the outputs for anything odd, and manually fix anything that needs fixing.)
  • delete broken redirects: python broken (Requires adminship. Be extra careful)
  • fix format of redirects to categories:
    • python -xml:currentdump.xml -nocase "#REDIRECT [[Category:" "#REDIRECT [[:Category:"
    • python -xml:currentdump.xml -nocase "#REDIRECT[[Category:" "#REDIRECT [[:Category:"
  • add "|{{PAGENAME}}" to category tags, for pages not in the main or category namespaces.

Occasional[edit | edit source]

  • Correcting capitalization of headers, e.g. See Also to See also:
    • python -regex -xml:currentdump.xml "(== ?See )Also" "\\1also"
    • python -regex -xml:currentdump.xml "(== ?External )Links" "\\1links"

[check that this new regex version works]

See if this works instead - \l to create lower case of first character in a string

    • python -regex -xml:currentdump.xml "(== ?External]]
Cookies help us deliver our services. By using our services, you agree to our use of cookies.