User:ImplSearchBot/Code: Difference between revisions
Content added Content deleted
m (ImplSearchBot:0) |
m (ImplSearchBot:0) |
||
Line 69: | Line 69: | ||
if ( exists $options{'post'} ); |
if ( exists $options{'post'} ); |
||
if( |
if(defined $wikineeded) |
||
{ |
{ |
||
unless(exists $options{'username'} and exists $options{'password'}) |
unless(exists $options{'username'} and exists $options{'password'}) |
||
Line 549: | Line 549: | ||
my ($removed, $added) = &diffcat($old, $new); |
my ($removed, $added) = &diffcat($old, $new); |
||
my $out = " |
my $out = ""; |
||
⚫ | |||
my $page; |
|||
if( scalar @$removed > 0 ); |
|||
⚫ | |||
⚫ | |||
$out .= "Added to $category:\n" |
|||
⚫ | |||
if( scalar @$added > 0 ); |
|||
{ |
|||
$out .= "$_\n" |
|||
⚫ | |||
} |
|||
⚫ | |||
⚫ | |||
{ |
|||
⚫ | |||
} |
|||
&out($out, 2) |
&out($out, 2) |
||
if("" ne $out); |
|||
} |
} |
||