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

Content deleted Content added
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.
AnomieBOT (talk | contribs)
Updating published sources: SourceUploader: * Change "warning" omboxes to use type=content, even though the border is overridden anyway.
Line 1:
{{ombox|type=content|text= Credit to [[User:SoxBot IV/Source|SoxBot IV]] for a bit of inspiration on the code.}}
{{ombox|type=customcontent|style=border:1px solid #b22222|image=[[Image:Ambox warning pn.svg|40px]]|text= Not approved.}}
<source lang="perl">
package tasks::SandboxCleaner;