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

Content deleted Content added
AnomieBOT (talk | contribs)
Updating published sources: DeletionSortingCleaner: * Look for <code>xfd-closed</code> class to recognize closed discussions, <code>boilerplate metadata</code> might be used by other things too. * Update result regex too.
AnomieBOT (talk | contribs)
Updating published sources: DeletionSortingCleaner: * Fix typo in overlong edit summary code.
Line 289:
if(@summary){
$summary="[[$apage|Archiving closed XfDs]]" . ( $dups ? ' and removing duplicate XfDs' : '' ) . $screwup . ": " . join(" ", @summary);
$summary="[[$apage|Archiving closed XfDs]]" . ( $dups ? ' and removing duplicate XfDs' : '' ) . $screwup . ": [" . scalar($@summary) . " discussions]" if length($summary)>500;
} else {
$summary = "Removing duplicate XfDs" . $screwup;