Permalink
Browse files

Increase lister limit to 5

  • Loading branch information...
Jarry1250 committed Apr 13, 2016
1 parent 660ff12 commit c29e7d994bd67bb38615e35751d7fb709f63d26a
Showing with 2 additions and 2 deletions.
  1. +2 −2 scripts/lister.php
View
@@ -122,7 +122,7 @@
$contents = substr( $contents, 0, $pos ) . "\n\n<!--\nAdd new articles to the top of the list, please, and remove the one from the bottom INCLUDING THE EM-DASH ON THE LINE BEFORE. Thanks! \n-->";
}
if( count( $addeds ) > 0 && ( count( $addeds ) < 3 || isset( $_GET['ignoretime'] ) ) && !isset( $_GET['nopost'] ) ){
if( count( $addeds ) > 0 && ( count( $addeds ) < 6 || isset( $_GET['ignoretime'] ) ) && !isset( $_GET['nopost'] ) ){
$page = new Page( $wiki, "Wikipedia:Good articles/recent" );
$addedStr = ( count( $addeds ) > 1 ) ? 's (' : ' (';
@@ -143,4 +143,4 @@
echo "Changes not written (edited=" . count( $addeds ) . ")";
}
file_put_contents( $filename, $total );
echo "\n--- Finishing report ---\n";
echo "\n--- Finishing report ---\n";

0 comments on commit c29e7d9

Please sign in to comment.