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

Content deleted Content added
AnomieBOT (talk | contribs)
Updating published sources: General: * Increase allowed length in most edit summary length checks. RandomPagePicker is the exception, since the summaries there aren't bot-controlled shorter is probably better.
AnomieBOT (talk | contribs)
Updating published sources: General: * A WMF team gave in to the vocal minority whining about the 1000-character edit summary limit and reduced it to 500. Sigh, change whiplash.
Line 271:
$api->log("Archiving closed XfDs from $page...");
my $summary="[[$apage|Archiving closed XfDs]]".$screwup.": ".join(" ", @summary);
$summary="[[$apage|Archiving closed XfDs]]".$screwup.": [".scalar(@summary)." discussions]" if length($summary)>1000500;
$res=$api->edit($tok, $outtxt, $summary, 0, 1);
if($res->{'code'} ne 'success'){