Content deleted Content added
Updating published sources: SourceUploader: * Change "warning" omboxes to use type=content, even though the border is overridden anyway. |
Updating published sources: General: * Update for the addition of 'rvslots'. DatedCategoryDeleterTest: * Disable. It's clear that task won't be needed. BrokenRedirectDeleter: * Handle pages with newlines before the <code>#REDIRECT</code>. |
||
(7 intermediate revisions by 3 users not shown) | |||
Line 1:
{{ombox|type=content|text= Credit to [[User:SoxBot IV/Source|SoxBot IV]] for a bit of inspiration on the code.}}
{{ombox|type=content|style=border:1px solid #b22222|image=[[Image:Ambox warning pn.svg|40px]]|text= Not approved.}}
<
package tasks::SandboxCleaner;
Line 8:
=begin metadata
Bot: AnomieBOT
Task: SandboxCleaner
BRFA: None
Status: On hold
Created: 2008-08-30
Clears a sandbox page to predefined content once every 12 hours (at or shortly
Line 96 ⟶ 97:
sub approved {
return
}
Line 184 ⟶ 185:
next;
}
my $intxt=$tok->{'revisions'}[0]{'slots'}{'main'}{'*'};
# Generate new page content
Line 230 ⟶ 231:
1;
</syntaxhighlight>
|