MediaWiki master
|
A codec for MediaWiki page titles. More...
Static Public Member Functions | |
static | getTitleInvalidRegex () |
Returns a simple regex that will match on characters and sequences invalid in titles. | |
A codec for MediaWiki page titles.
Definition at line 38 of file MediaWikiTitleCodec.php.
|
static |
Returns a simple regex that will match on characters and sequences invalid in titles.
Note that this doesn't pick up many things that could be wrong with titles, but that replacing this regex with something valid will make many titles valid. Previously Title::getTitleInvalidRegex()
Definition at line 50 of file MediaWikiTitleCodec.php.
References MediaWiki\Title\TitleParser\getTitleInvalidRegex().