User:ClueBot II/sandbox.js

Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.
......................................
... Sandbox cleaner script by Cobi ...
......................................




...............................
... Define the sandbox text ...
..............................;
set %sbt 

'{{Please leave this line alone (sandbox heading)}}
<!-- Hello! Feel free to try your formatting and editing skills below this line. As this page is for editing experiments, this page will automatically be cleaned every 12 hours. -->';
...............................


....................................
... Define the introduction text ...
...................................;
set %int 

'{{Please leave this line alone}}
<!-- Feel free to change the text below this line. No profanity, please. -->';
....................................


....................................
... Define the X# template texts ...
...................................;
set %xxt 

'<noinclude>
This sandbox is itself a template.  This sandbox is for experimenting with templates.
{{Please leave this line alone (template sandbox heading)}}
</noinclude>

If you defined parameters such as <tt><nowiki>{{Template sandbox|First|Second|name="Named"}}</nowiki></tt>:
;First:{{{1}}}
;Second:{{{2}}}
;Name:{{{name}}}

----
<!-- Hello!  Feel free to try your formatting and editing skills below this line.  As this page is for editing experiments, this page will automatically be cleaned every 12 hours. -->';
....................................


................................
... Define the template text ...
...............................;
set %tst 

'<noinclude>
This sandbox is itself a template.  This sandbox is for experimenting with templates.
{{Please leave this line alone (template sandbox heading)}}
</noinclude>

If you defined parameters such as <tt><nowiki>{{Template sandbox|First|Second|name="Named"}}</nowiki></tt>:
;First:{{{1}}}
;Second:{{{2}}}
;Name:{{{name}}}

----';
................................


................................
... Define the tutorial text ...
...............................;
set %tut 

'{{Please leave this line alone (tutorial sandbox heading)}}
<!-- Hello!  Feel free to try your formatting and editing skills below this line.  As this page is for editing experiments, this page will automatically be cleaned every 12 hours. -->';
................................


...............................
... Define the edit summary ...
..............................;
set %es 

'Clearing sandboxes. (bot)';
...............................


.....................
... Set the pages ...
....................;
pageset 'Wikipedia:Sandbox' %sbt %es;
.pageset 'Wikipedia:Introduction' %int %es;
pageset 'Template:X1' %xxt %es;
pageset 'Template:X2' %xxt %es;
pageset 'Template:X3' %xxt %es;
pageset 'Template:X4' %xxt %es;
pageset 'Template:X5' %xxt %es;
pageset 'Template:X6' %xxt %es;
pageset 'Template:X7' %xxt %es;
pageset 'Template:X8' %xxt %es;
pageset 'Template:X9' %xxt %es;
pageset 'Template:Template sandbox' %tst %es;
pageset 'Wikipedia:Tutorial (Editing)/sandbox' %tut %es;
pageset 'Wikipedia:Tutorial (Formatting)/sandbox' %tut %es;
pageset 'Wikipedia:Tutorial (Wikipedia links)/sandbox' %tut %es;
pageset 'Wikipedia:Tutorial (Citing sources)/sandbox' %tut %es;
pageset 'Wikipedia:Tutorial (Keep in mind)/sandbox' %tut %es;
.....................

...........................
... Unset our variables ...
..........................;
unset %sbt;
unset %int;
unset %xxt;
unset %tst;
unset %tut;
unset %es;
...........................


...........
... EOF ...
..........;
Retrieved from "https://en.wikipedia.org/w/index.php?title=User:ClueBot_II/sandbox.js&oldid=379162064"