Returning a null from preg_replace means an error happened in processing the regex. If the regex being used is constant and a unicode one, that means that almost certainly the issue is an invalid utf-8 sequences. So throw appropriate exception if that happens. Bug: T313663 Change-Id: I9ab184fbddd95dd0317fc42a5690cf5179c4192e |
||
|---|---|---|
| .. | ||
| Hook | ||
| ForeignTitle.php | ||
| ForeignTitleFactory.php | ||
| ImportTitleFactory.php | ||
| MalformedTitleException.php | ||
| MediaWikiTitleCodec.php | ||
| NaiveForeignTitleFactory.php | ||
| NaiveImportTitleFactory.php | ||
| NamespaceAwareForeignTitleFactory.php | ||
| NamespaceImportTitleFactory.php | ||
| NamespaceInfo.php | ||
| SubpageImportTitleFactory.php | ||
| TitleFormatter.php | ||
| TitleParser.php | ||
| TitleValue.php | ||