dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "Drop wfUseMW, deprecated in 1.26"
[lhc/web/wiklou.git]
/
maintenance
/
dumpBackup.php
diff --git
a/maintenance/dumpBackup.php
b/maintenance/dumpBackup.php
index
9bf1222
..
b942302
100644
(file)
--- a/
maintenance/dumpBackup.php
+++ b/
maintenance/dumpBackup.php
@@
-22,10
+22,11
@@
* http://www.gnu.org/copyleft/gpl.html
*
* @file
* http://www.gnu.org/copyleft/gpl.html
*
* @file
- * @ingroup Dump Maintenance
+ * @ingroup Dump
+ * @ingroup Maintenance
*/
*/
-require_once __DIR__ . '/
backup.inc
';
+require_once __DIR__ . '/
includes/BackupDumper.php
';
class DumpBackup extends BackupDumper {
function __construct( $args = null ) {
class DumpBackup extends BackupDumper {
function __construct( $args = null ) {
@@
-87,7
+88,7
@@
TEXT
} elseif ( $this->hasOption( 'revrange' ) ) {
$this->dump( WikiExporter::RANGE, $textMode );
} else {
} elseif ( $this->hasOption( 'revrange' ) ) {
$this->dump( WikiExporter::RANGE, $textMode );
} else {
- $this->
error( 'No valid action specified.', 1
);
+ $this->
fatalError( 'No valid action specified.'
);
}
}
}
}
@@
-133,5
+134,5
@@
TEXT
}
}
}
}
-$maintClass =
'DumpBackup'
;
+$maintClass =
DumpBackup::class
;
require_once RUN_MAINTENANCE_IF_MAIN;
require_once RUN_MAINTENANCE_IF_MAIN;