summaryrefslogtreecommitdiff
path: root/maintenance/dumpBackup.php
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2009-02-22 13:37:51 +0100
committerPierre Schmitz <pierre@archlinux.de>2009-02-22 13:37:51 +0100
commitb9b85843572bf283f48285001e276ba7e61b63f6 (patch)
tree4c6f4571552ada9ccfb4030481dcf77308f8b254 /maintenance/dumpBackup.php
parentd9a20acc4e789cca747ad360d87ee3f3e7aa58c1 (diff)
updated to MediaWiki 1.14.0
Diffstat (limited to 'maintenance/dumpBackup.php')
-rw-r--r--maintenance/dumpBackup.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/maintenance/dumpBackup.php b/maintenance/dumpBackup.php
index bb431242..de7ce655 100644
--- a/maintenance/dumpBackup.php
+++ b/maintenance/dumpBackup.php
@@ -63,6 +63,8 @@ if( isset( $options['full'] ) ) {
$dumper->dump( WikiExporter::FULL, $textMode );
} elseif( isset( $options['current'] ) ) {
$dumper->dump( WikiExporter::CURRENT, $textMode );
+} elseif( isset( $options['logs'] ) ) {
+ $dumper->dump( WikiExporter::LOGS );
} else {
$dumper->progress( <<<ENDS
This script dumps the wiki page database into an XML interchange wrapper
@@ -74,6 +76,7 @@ Usage: php dumpBackup.php <action> [<options>]
Actions:
--full Dump complete history of every page.
--current Includes only the latest revision of each page.
+ --logs Dump action logs for every page.
Options:
--quiet Don't dump status reports to stderr.