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

Content deleted Content added
AnomieBOT (talk | contribs)
Updating published sources: PERTableUpdater: * Fix metadata, add logging.
AnomieBOT (talk | contribs)
Updating published sources: ReplaceExternalLinks5: * Approved!
Line 253:
$txt.=qq(|}\n);
$txt.=qq(|-\n);
$txt.=qq(|style="text-align:right;font-size:smaller"| Updated as needed. Last updated: <!--TS-->2300:5932, 45 December 2011 (UTC)<!--/TS-->\n);
$txt.=qq(|}</div>);
 
Line 267:
my $intxt=$tok->{'revisions'}[0]{'*'}//'';
$intxt=~s/^\s+|\s+$//;
$intxt=~s#<!--TS-->.*<!--/TS-->#<!--TS-->2300:5932, 45 December 2011 (UTC)<!--/TS-->#g;
if($intxt ne $txt){
$api->log("Upadting $pg ($ct request$s)");