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

Details

Committed
TTOMar 30 2015, 7:50 PM
Parents
rMW362bc978f84e: Localisation updates from https://translatewiki.net.
Branches
Unknown
Tags
Unknown
References
refs/changes/39/200339/2
ChangeId
I68ce2288d7d209733bceffe42e1876c7afcd73d3