X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=maintenance%2FdumpSisterSites.php;h=784dc7a88730169eaf4b7e00861ee9a906d9cbd6;hb=64ca212514d48330ff02fdaed34563e0b75e22c4;hp=1eecfe4e7ebaabf37896f89dd84f9204c779adc2;hpb=3e65b390b91a987affa7faf603a4eee614f5f4d5;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/dumpSisterSites.php b/maintenance/dumpSisterSites.php index 1eecfe4e7e..784dc7a887 100644 --- a/maintenance/dumpSisterSites.php +++ b/maintenance/dumpSisterSites.php @@ -4,7 +4,7 @@ * http://www.eekim.com/cgi-bin/wiki.pl?SisterSites * * Copyright © 2006 Brion Vibber - * http://www.mediawiki.org/ + * https://www.mediawiki.org/ * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -25,7 +25,7 @@ * @ingroup Maintenance */ -require_once( __DIR__ . '/Maintenance.php' ); +require_once __DIR__ . '/Maintenance.php'; /** * Maintenance script that generates a page name dump for SisterSites usage. @@ -43,8 +43,9 @@ class DumpSisterSites extends Maintenance { $dbr->bufferResults( false ); $result = $dbr->select( 'page', array( 'page_namespace', 'page_title' ), - array( 'page_namespace' => NS_MAIN, - 'page_is_redirect' => 0, + array( + 'page_namespace' => NS_MAIN, + 'page_is_redirect' => 0, ), __METHOD__ ); @@ -58,4 +59,4 @@ class DumpSisterSites extends Maintenance { } $maintClass = "DumpSisterSites"; -require_once( RUN_MAINTENANCE_IF_MAIN ); +require_once RUN_MAINTENANCE_IF_MAIN;