Have TitleParser::parseTitle() default to NS_MAIN to match Title
authorKunal Mehta <legoktm@member.fsf.org>
Wed, 15 Aug 2018 03:58:34 +0000 (20:58 -0700)
committerKunal Mehta <legoktm@member.fsf.org>
Wed, 15 Aug 2018 03:58:34 +0000 (20:58 -0700)
commitf339c908513e4c8e7923cc0366a6ceebcbcc3a16
tree52279cfe06e80beda161e67dd06e67d6c82e0550
parent757e55265d0684aaf8524e4657adec96551b7126
Have TitleParser::parseTitle() default to NS_MAIN to match Title

Matches the default parameters of Title::newFromText().

Change-Id: Id08312d424be9ae7e64688bb21687204ae77c560
includes/title/MediaWikiTitleCodec.php
includes/title/TitleParser.php