allow xml page content or metadata dumps to target specific namespaces
authorAriel T. Glenn <ariel@wikimedia.org>
Wed, 17 Apr 2019 10:49:22 +0000 (13:49 +0300)
committerAriel T. Glenn <ariel@wikimedia.org>
Thu, 18 Apr 2019 11:42:50 +0000 (14:42 +0300)
commit7f51b9e04067c0969daad2489f39e2d4b21a1535
tree3500b28f9b6f1727a170f4bff055d7a681045b73
parent8414e3c4d0c2a647f794e1e535e70f3a2abe6eb4
allow xml page content or metadata dumps to target specific namespaces

We don't alter the db query for this, but throw away the extraneous
rows before doing any processing on them whatsoever.

Use of the DumpNamespaceFilter comes too late to avoid processing
for each revision done in XmlDumpWriter::writeRevision.

Bug: T220940
Change-Id: I9cb30ce612d862d97d96720ac68ff2327409f485
includes/export/WikiExporter.php
maintenance/dumpBackup.php
maintenance/includes/BackupDumper.php