Normalize input to TitleParser::parseTitle()
authorAryeh Gregor <ayg@aryeh.name>
Mon, 15 Apr 2019 12:42:03 +0000 (15:42 +0300)
committerAryeh Gregor <ayg@aryeh.name>
Mon, 15 Apr 2019 14:08:59 +0000 (17:08 +0300)
commit29bfd8b39b01bdd3232d5be16c71e6f2ead31fc3
treed04e9414e1de426e9d90d8f96a8594ce89dd2769
parent37fcedbb3ff7ebf0ce97b0cc28291a3af1138380
Normalize input to TitleParser::parseTitle()

This matches behavior of Title::newFromText(), which assists porting old
code to TitleParser.

Change-Id: I50e9af09df843ea575250e276c7cfce660c00efd
includes/title/MediaWikiTitleCodec.php
tests/phpunit/includes/title/MediaWikiTitleCodecTest.php