Index: trunk/phase3/maintenance/dumpBackup.php |
— | — | @@ -69,30 +69,30 @@ |
70 | 70 | $dumper->dump( WikiExporter::LOGS ); |
71 | 71 | } else { |
72 | 72 | $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. |
75 | 75 | |
76 | 76 | XML output is sent to stdout; progress reports are sent to stderr. |
77 | 77 | |
78 | 78 | Usage: php dumpBackup.php <action> [<options>] |
79 | 79 | 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. |
83 | 83 | |
84 | 84 | Options: |
85 | 85 | --quiet Don't dump status reports to stderr. |
86 | 86 | --report=n Report position and speed after every n pages processed. |
87 | 87 | (Default: 100) |
88 | 88 | --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) |
91 | 91 | --skip-header Don't output the <mediawiki> header |
92 | 92 | --skip-footer Don't output the </mediawiki> footer |
93 | 93 | --stub Don't perform old_text lookups; for 2-pass dump |
94 | 94 | --uploads Include upload records (experimental) |
95 | 95 | |
96 | | -Fancy stuff: |
| 96 | +Fancy stuff: (Works? Add examples please.) |
97 | 97 | --plugin=<class>[:<file>] Load a dump plugin class |
98 | 98 | --output=<type>:<file> Begin a filtered output stream; |
99 | 99 | <type>s: file, gzip, bzip2, 7zip |
— | — | @@ -101,5 +101,3 @@ |
102 | 102 | ENDS |
103 | 103 | ); |
104 | 104 | } |
105 | | - |
106 | | - |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -130,6 +130,7 @@ |
131 | 131 | * (bug 18389) Localise numbers in EXIF data |
132 | 132 | * (bug 18522) Wrap MediaWiki:Protect-cascadeon in a div for identification |
133 | 133 | * (bug 18438) Tweak HTML for preview bar for consistency and accessibility |
| 134 | +* (bug 18432) Updated documentation for dumpBackup.php |
134 | 135 | |
135 | 136 | == API changes in 1.16 == |
136 | 137 | |