HomePhabricator

Add null check in WikiImporter

Authored by TTO.

Description

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
(cherry picked from commit 45788085afaa7be7b606c08ccc3cba06d224496b)

Details

Committed
TTOMar 30 2015, 10:10 PM
Parents
rMW8d4b5f4c761b: Update Wikidata
Branches
Unknown
Tags
Unknown
References
refs/changes/71/200771/1
ChangeId
I68ce2288d7d209733bceffe42e1876c7afcd73d3