User:AnomieBOT/source/tasks/SandboxCleaner.pm: Difference between revisions

Content deleted Content added
Changed from invalid mbox "type=custom", to red "type=delete", since it got reported into the mbox error log. No change in appearance.
AnomieBOT (talk | contribs)
Updating published sources: General: * When an API edit errors via <code>result="Failure"</code> rather than the standard <code>error</code> node, fill in something sane in the return value's <code>error</code> node.
Line 1:
{{ombox|type=content| text = Credit to [[User:SoxBot IV/Source|SoxBot IV]] for a bit of inspiration on the code.}}
{{ombox
{{ombox|type=custom|style=border:1px solid #b22222|image=[[Image:Ambox warning pn.svg|40px]]|text= Not approved.}}
| type = content
| text = Credit to [[User:SoxBot IV/Source|SoxBot IV]] for a bit of inspiration on the code.
}}
{{ombox
| type = delete
| style = border: 1px solid #b22222;
| image = [[Image:Ambox warning pn.svg|40px]]
| text = Not approved.
}}
 
<source lang="perl">
package tasks::SandboxCleaner;