Add skipping to nth page option/ability for dump importing process
authorMehmet Mert Yıldıran <mehmetmertyildiran@gmail.com>
Fri, 26 May 2017 01:54:32 +0000 (04:54 +0300)
committerMehmet Mert Yıldıran <mehmetmertyildiran@gmail.com>
Thu, 8 Jun 2017 22:01:05 +0000 (01:01 +0300)
commit4951c2b54f429037038cca617eb3e5860c1c271f
tree56fb43573c2160a03efdce51266752c93eee6a0d
parentf0e12ae951ef9f6cb359c5ecfcd3739e38f4d29a
Add skipping to nth page option/ability for dump importing process

Usage: php importDump.php --skip-to 271500 /path_to/dumpfile.xml.gz

When importing a database dump and the import process crashes
(for random reasons) after a certain number of pages, the
"--skip-to" parameter allows restarting the import process at
a certain page instead of starting the import from scratch.

Change-Id: Ib36063b69d6846fc197800bba44287493b0632c0
includes/import/WikiImporter.php
maintenance/importDump.php