X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=maintenance%2FdumpLinks.php;h=be0b46332bfec3d2447054a3c1783d8258b03cf1;hb=688200c607640e77029d171803a7a72832519aa2;hp=7dfbec1e6313285dbb929c7c108c7a39f115924b;hpb=68609ba4b41d27b17991cecd113bce00e871ca9f;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/dumpLinks.php b/maintenance/dumpLinks.php index 7dfbec1e63..be0b46332b 100644 --- a/maintenance/dumpLinks.php +++ b/maintenance/dumpLinks.php @@ -30,7 +30,7 @@ * @ingroup Maintenance */ -require_once( __DIR__ . '/Maintenance.php' ); +require_once __DIR__ . '/Maintenance.php'; /** * Maintenance script that generates a plaintext link dump. @@ -69,10 +69,11 @@ class DumpLinks extends Maintenance { $link = Title::makeTitle( $row->pl_namespace, $row->pl_title ); $this->output( " " . $link->getPrefixedURL() ); } - if ( isset( $lastPage ) ) + if ( isset( $lastPage ) ) { $this->output( "\n" ); + } } } $maintClass = "DumpLinks"; -require_once( RUN_MAINTENANCE_IF_MAIN ); +require_once RUN_MAINTENANCE_IF_MAIN;