Add null check in WikiImporter
authorThis, that and the other <at.light@live.com.au>
Sun, 29 Mar 2015 09:30:15 +0000 (20:30 +1100)
committerTTO <at.light@live.com.au>
Mon, 30 Mar 2015 19:50:59 +0000 (19:50 +0000)
commit45788085afaa7be7b606c08ccc3cba06d224496b
tree96dc184b084c552e46c9e8f903e234ca48098cfa
parent362bc978f84e04e12ddb1c38f300a4b5b327e1ed
Add null check in WikiImporter

This is my code, and it caused fatals in production whenever anyone tried
to import anything :(

This should get rid of the fatals, but obviously this won't fix the
underlying issue of WikiPage::getContent() sometimes returning null. See
the task for more info on that issue.

Bug: T94325
Change-Id: I68ce2288d7d209733bceffe42e1876c7afcd73d3
includes/Import.php