Last modified: 2014-06-27 05:37:41 UTC
protected function isMainPage( $title ) { if ( $title->isRedirect() && $this->followRedirects ) { // Title::newFromRedirect is deprecated since 1.21, so go over WikiPage $wp = $this->makeWikiPage( $title ); return $wp->getRedirectTarget()->isMainPage(); } else { return $title->isMainPage(); } } $wp->getRedirectTarget() can return null
Prioritization and scheduling of this bug is tracked on Trello card https://trello.com/c/KlFNspve
New PS by MaxSem and Merged: https://gerrit.wikimedia.org/r/#/c/142436