Avoid fatal in Article::fetchContent()
authorBrad Jorsch <bjorsch@wikimedia.org>
Thu, 1 May 2014 14:12:25 +0000 (10:12 -0400)
committerBrad Jorsch <bjorsch@wikimedia.org>
Thu, 1 May 2014 14:12:25 +0000 (10:12 -0400)
commit26d114090a04fc589cd00aa4432407b3e1ce01f5
treea32ae2227834fd9e841586397187151d1cf294c8
parent67c63613de88d4919d232118e18fd91424697a0d
Avoid fatal in Article::fetchContent()

The function is documented as returning false if there is no content to
the page, but this logic was lost in the ContentHandler change.

Even though it's "BC cruft", it still shouldn't fatal for something as
simple as a non-existent page.

Bug: 43737
Change-Id: Ic1924a42fa7b4227ac65838d0def6a66c3990573
includes/Article.php