Content deleted Content added
Updating published sources: POTDPageCreator: * Adjust edit summary because someone complained it wasn't obvious enough where things were being substed from. |
Updating published sources: POTDPageCreator: * Adjust regex, people have started not leaving a newline. |
||
Line 70:
return $res if $res;
if ( $outtxt=~s!^\s*\Q{{POTD/$date/{{#invoke:random|number|\E(\d+)\Q}}|{{{1|{{{style|default}}}}}}}}\E\s*
my $n = $1;
for ( my $i = 1; $i <= $n; $i++ ) {
|