X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FexportSites.php;h=b1e4fa943b96e33d8eaaf989f2dad353fbf19ae4;hb=89124232762dd5988b2b7582cd3e412f650f98a1;hp=157a3234bcb0225720041ca3896d81c0a99a75e2;hpb=995449ef039b769a613ddf3731ece1e4c20d358c;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/exportSites.php b/maintenance/exportSites.php index 157a3234bc..b1e4fa943b 100644 --- a/maintenance/exportSites.php +++ b/maintenance/exportSites.php @@ -42,8 +42,8 @@ class ExportSites extends Maintenance { $exporter = new SiteExporter( $handle ); - $sites = SiteSQLStore::newInstance()->getSites( 'recache' ); - $exporter->exportSites( $sites ); + $siteLookup = \MediaWiki\MediaWikiServices::getInstance()->getSiteLookup(); + $exporter->exportSites( $siteLookup->getSites() ); fclose( $handle );