Fix for missing end tag </page> on some exports
authorBill Pirkle <bpirkle@wikimedia.org>
Wed, 31 Oct 2018 23:02:02 +0000 (18:02 -0500)
committerBill Pirkle <bpirkle@wikimedia.org>
Wed, 31 Oct 2018 23:02:02 +0000 (18:02 -0500)
commit94ec06e0bfead0173e2aae609d6d7326d0dd804c
tree1d0024140ccd52e747c0fcd34db90e21b4df0324
parent47c9437835fe68e69b723f454d682064688bdad9
Fix for missing end tag </page> on some exports

T203424 replaced streaming mode with batched queries.
However, it did not properly handle some values of
the $wgExportMaxHistory config variable, and emitted
broken XML. This change fixes that issue.

Bug: T207974
Change-Id: Iade3fc603e513da51b7a970c16275516c02ede49
includes/export/WikiExporter.php