Don't fail on incomplete row info when exporting.
authordaniel <daniel.kinzler@wikimedia.de>
Mon, 29 Oct 2012 21:47:19 +0000 (22:47 +0100)
committerdaniel <daniel.kinzler@wikimedia.de>
Mon, 29 Oct 2012 21:47:19 +0000 (22:47 +0100)
commit400dfb3550cabfeb7730563c8321e2c3d65bf637
tree49e4ca694f9005dad549dd457db7163b35f2b041
parent9d58cb641cce48ac4698f9138f7bc44f9b426f02
Don't fail on incomplete row info when exporting.

This allows XmlDumpWriter to output rows that are missing some
information without triggering php warnings.

This fixes warnings caused by the OAI extension when using
XmlDumpWriter::writeRevision without setting the row's
rev_parent_id field.

Generally, it seems convenient to allow optional fields to be unset
instead of skipping them if they are empty, but requiering them to be
set.

Change-Id: I246ba3a899bd9e833232444a11ac63e1b0225ab6
includes/Export.php