r50707 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r50706‎ | r50707 | r50708 >
Date:19:28, 17 May 2009
Author:siebrand
Status:ok
Tags:
Comment:
(bug 18432) Updated documentation for dumpBackup.php (patch contributed by Jidanni)
Modified paths:
  • /trunk/phase3/RELEASE-NOTES (modified) (history)
  • /trunk/phase3/maintenance/dumpBackup.php (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/dumpBackup.php
@@ -69,30 +69,30 @@
7070 $dumper->dump( WikiExporter::LOGS );
7171 } else {
7272 $dumper->progress( <<<ENDS
73 -This script dumps the wiki page database into an XML interchange wrapper
74 -format for export or backup.
 73+This script dumps the wiki page or logging database into an
 74+XML interchange wrapper format for export or backup.
7575
7676 XML output is sent to stdout; progress reports are sent to stderr.
7777
7878 Usage: php dumpBackup.php <action> [<options>]
7979 Actions:
80 - --full Dump complete history of every page.
81 - --current Includes only the latest revision of each page.
82 - --logs Dump action logs for every page.
 80+ --full Dump all revisions of every page.
 81+ --current Dump only the latest revision of every page.
 82+ --logs Dump all log events.
8383
8484 Options:
8585 --quiet Don't dump status reports to stderr.
8686 --report=n Report position and speed after every n pages processed.
8787 (Default: 100)
8888 --server=h Force reading from MySQL server h
89 - --start=n Start from page_id n
90 - --end=n Stop before page_id n (exclusive)
 89+ --start=n Start from page_id or log_id n
 90+ --end=n Stop before page_id or log_id n (exclusive)
9191 --skip-header Don't output the <mediawiki> header
9292 --skip-footer Don't output the </mediawiki> footer
9393 --stub Don't perform old_text lookups; for 2-pass dump
9494 --uploads Include upload records (experimental)
9595
96 -Fancy stuff:
 96+Fancy stuff: (Works? Add examples please.)
9797 --plugin=<class>[:<file>] Load a dump plugin class
9898 --output=<type>:<file> Begin a filtered output stream;
9999 <type>s: file, gzip, bzip2, 7zip
@@ -101,5 +101,3 @@
102102 ENDS
103103 );
104104 }
105 -
106 -
Index: trunk/phase3/RELEASE-NOTES
@@ -130,6 +130,7 @@
131131 * (bug 18389) Localise numbers in EXIF data
132132 * (bug 18522) Wrap MediaWiki:Protect-cascadeon in a div for identification
133133 * (bug 18438) Tweak HTML for preview bar for consistency and accessibility
 134+* (bug 18432) Updated documentation for dumpBackup.php
134135
135136 == API changes in 1.16 ==
136137

Status & tagging log