Tardis:CosmeticBot
From Tardis Wiki, the free Doctor Who reference
SpellBot → JIMBO → How do I get a bot? → CosmeticBot |
CodeBot is a bot that makes tiny, cosmetic changes to the code of each page. It's run often to ensure that certain elements of page formatting are all done the same way. This then helps other bots more reliably make more substantive changes.
From time to time, a bot shall execute a script whose sole function is to clean up the code. It shall run on every page in the main namespace, as well as several other namespaces. This script will in no way change the way that a page appears. But it will perform a number of menial tasks on pages, such as:
- the removal of extraneous spaces, per T:SPACING
- the insertion of leading and trailing spaces in section headers, per T:HEAD
- the placement of exactly one space following a full stop, which isn't required, but is allowed by T:SPACING
- the placement of exactly one space between a symbol which creates a list (i.e., * and #) and the following text
- consistent capitalisation of namespaces, such that — for instance — file: becomes File:
- the elimination of some redundant pipe tricks — [[Human|human]] would become simply [[human]], for instance