Merge "make xml abstracts, stubs and page log dumps work again"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Sun, 24 Mar 2019 20:36:56 +0000 (20:36 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Sun, 24 Mar 2019 20:36:56 +0000 (20:36 +0000)
1  2 
maintenance/includes/BackupDumper.php

@@@ -26,6 -26,7 +26,7 @@@
   */
  
  require_once __DIR__ . '/../Maintenance.php';
+ require_once __DIR__ . '/../../includes/export/WikiExporter.php';
  
  use MediaWiki\MediaWikiServices;
  use Wikimedia\Rdbms\LoadBalancer;
@@@ -163,7 -164,8 +164,7 @@@ abstract class BackupDumper extends Mai
  
                $options = $this->orderedOptions;
                foreach ( $options as $arg ) {
 -                      $opt = $arg[0];
 -                      $param = $arg[1];
 +                      list( $opt, $param ) = $arg;
  
                        switch ( $opt ) {
                                case 'plugin':