HomePhabricator

(bug 42768) Avoid error for history of missing page.

Authored by daniel.

Description

(bug 42768) Avoid error for history of missing page.

Viewing the history of a page that does not exist should not cause a
fatal error.

Note: this fix needs to be backported to the mw1.21-wmf5 branch, and it
should be deployed on wikidata.org. It's not urgent, though.

Change-Id: I53a1e79c80933b1301449805618c56a5762e1832