Index: includes/actions/HistoryAction.php
===================================================================
--- includes/actions/HistoryAction.php	(revision 104960)
+++ includes/actions/HistoryAction.php	(working copy)
@@ -196,6 +196,11 @@
 	 * @return ResultWrapper
 	 */
 	function fetchRevisions( $limit, $offset, $direction ) {
+		// Fail if article doesn't exist.
+		if( !$this->getTitle()->exists() ) {
+			return new FakeResultWrapper( array() );
+		}
+
 		$dbr = wfGetDB( DB_SLAVE );
 
 		if ( $direction == HistoryPage::DIR_PREV ) {
