User:Lowercase sigmabot II/Source.py

Source as of 09:37, 28 December 2014 (UTC).

Sandbot1.py
This task runs every minute. It checks if the following sandboxes have the Sandbox heading template;
 * Sandbox
 * Tutorial/Editing/sandbox
 * Tutorial/Formatting/sandbox
 * Tutorial/Wikipedia links/sandbox
 * Tutorial/Citing sources/sandbox
 * Tutorial/Keep in mind/sandbox

If the template is not present on the sandbox, it prepends Sandbox heading &lt;!-- Please leave this line alone! --&gt; to the page.

If the template is present, it does nothing.

Sandbot2.py
This task runs once per hour. It clears the sandboxes by replacing the content with the sandbox header, which looks like this: