Handle $title === null in Title::newFromText
authorGergő Tisza <tgr.huwiki@gmail.com>
Thu, 26 Jul 2018 18:39:21 +0000 (20:39 +0200)
committerGergő Tisza <tgr.huwiki@gmail.com>
Thu, 26 Jul 2018 18:39:21 +0000 (20:39 +0200)
commitbfd6406ff52f090dc2834cd099cd3cf903ca2eee
treee6491cefe207a50fefdfa50ad04fcd792cb55698
parenta075271157d32567e894c668aa2b76138c491b95
Handle $title === null in Title::newFromText

This relied on TitleCodec throwing MalformedTitleException in the
past, but that is fragile as other parts of the logic do not
expect null.

Bug: T200456
Change-Id: I1aca3971e2a9c0b1fe3adbcf34f3ee65b2271234
includes/Title.php