This ocassionally happens for whatever reason, but it doesn't really make sense to throw an exception when creating a broken-looking link would also work. We already do this for TitleParser::getPrefixedDBkey(), and this also matches the behavior of Title::getNsText(). Bug: T136352 Bug: T136356 Change-Id: Ic7eb17f8917f7fbb28b11d94b742dac1fe5582a1 |
||
|---|---|---|
| .. | ||
| ForeignTitle.php | ||
| ForeignTitleFactory.php | ||
| ImportTitleFactory.php | ||
| MalformedTitleException.php | ||
| MediaWikiPageLinkRenderer.php | ||
| MediaWikiTitleCodec.php | ||
| NaiveForeignTitleFactory.php | ||
| NaiveImportTitleFactory.php | ||
| NamespaceAwareForeignTitleFactory.php | ||
| NamespaceImportTitleFactory.php | ||
| PageLinkRenderer.php | ||
| SubpageImportTitleFactory.php | ||
| TitleFormatter.php | ||
| TitleParser.php | ||
| TitleValue.php | ||