MediaWiki REL1_35
|
MalformedTitleException is thrown when a TitleParser is unable to parse a title string. More...
Public Member Functions | |
__construct ( $errorMessage, $titleText=null, $errorMessageParameters=[]) | |
Stable to call. | |
getErrorMessage () | |
getErrorMessageParameters () | |
getMessageObject () | |
getTitleText () | |
Private Attributes | |
$errorMessage = null | |
$errorMessageParameters = [] | |
$titleText = null | |
MalformedTitleException is thrown when a TitleParser is unable to parse a title string.
@newable
Definition at line 26 of file MalformedTitleException.php.
MalformedTitleException::__construct | ( | $errorMessage, | |
$titleText = null , |
|||
$errorMessageParameters = [] |
|||
) |
Stable to call.
string | $errorMessage | Localisation message describing the error (since MW 1.26) |
string | null | $titleText | The invalid title text (since MW 1.26) |
string[] | $errorMessageParameters | Additional parameters for the error message. $titleText will be appended if it's not null. (since MW 1.26) |
Definition at line 38 of file MalformedTitleException.php.
References $errorMessage, $errorMessageParameters, $titleText, wfEscapeWikiText(), and wfMessage().
MalformedTitleException::getErrorMessage | ( | ) |
Definition at line 66 of file MalformedTitleException.php.
Referenced by getMessageObject(), and HTMLTitleTextField\validate().
MalformedTitleException::getErrorMessageParameters | ( | ) |
Definition at line 74 of file MalformedTitleException.php.
Referenced by getMessageObject(), and HTMLTitleTextField\validate().
MalformedTitleException::getMessageObject | ( | ) |
Implements ILocalizedException.
Definition at line 82 of file MalformedTitleException.php.
References getErrorMessage(), getErrorMessageParameters(), and wfMessage().
Referenced by SpecialRedirect\dispatchFile(), SpecialRedirectWithAction\onFormSubmit(), SpecialNewSection\onFormSubmit(), and SpecialPageLanguage\onSubmit().
MalformedTitleException::getTitleText | ( | ) |
|
private |
Definition at line 28 of file MalformedTitleException.php.
Referenced by __construct().
|
private |
Definition at line 29 of file MalformedTitleException.php.
Referenced by __construct().
|
private |
Definition at line 27 of file MalformedTitleException.php.
Referenced by __construct().