Content deleted Content added
Updating published sources: POTDPageDeleter: * Approved! |
Updating published sources: POTDPageDeleter: * Add log message for link removal. |
||
Line 115:
$outtxt =~ s!<noinclude>\s*</noinclude>\s*$!!;
if ( $intxt ne $outtxt ) {
$api->log( "Removing reference to [[Template:POTD protected/$dt]] from $title2" );
$res = $api->edit( $tok, $outtxt, "Removing reference to deleted [[Template:POTD protected/$dt]]. $screwup", 0, 1 );
if($res->{'code'} ne 'success'){
|