MediaWiki master
|
Public Member Functions | |
__construct (ServiceOptions $options, UserIdentity $user, ?MessageLocalizer $localizer, ParserOptions $popts, ParserFactory $parserFactory, LintErrorChecker $lintErrorChecker, SpecialPageFactory $specialPageFactory, TitleFactory $titleFactory) | |
validateSignature (string $signature) | |
Protected Member Functions | |
applyPreSaveTransform (string $signature) | |
checkLineBreaks (string $signature) | |
checkLintErrors (string $signature) | |
checkUserLinks (string $signature) | |
Definition at line 40 of file SignatureValidator.php.
MediaWiki\Preferences\SignatureValidator::__construct | ( | ServiceOptions | $options, |
UserIdentity | $user, | ||
?MessageLocalizer | $localizer, | ||
ParserOptions | $popts, | ||
ParserFactory | $parserFactory, | ||
LintErrorChecker | $lintErrorChecker, | ||
SpecialPageFactory | $specialPageFactory, | ||
TitleFactory | $titleFactory ) |
ServiceOptions | $options | |
UserIdentity | $user | |
?MessageLocalizer | $localizer | |
ParserOptions | $popts | |
ParserFactory | $parserFactory | |
LintErrorChecker | $lintErrorChecker | |
SpecialPageFactory | $specialPageFactory | |
TitleFactory | $titleFactory |
Definition at line 74 of file SignatureValidator.php.
References MediaWiki\Config\ServiceOptions\assertRequiredOptions().
|
protected |
string | $signature | Signature before PST |
Definition at line 217 of file SignatureValidator.php.
References MediaWiki\SpecialPage\SpecialPage\getTitleFor().
Referenced by MediaWiki\Preferences\SignatureValidator\validateSignature().
|
protected |
string | $signature | Signature after PST |
Definition at line 314 of file SignatureValidator.php.
Referenced by MediaWiki\Preferences\SignatureValidator\validateSignature().
|
protected |
string | $signature | Signature after PST |
Definition at line 251 of file SignatureValidator.php.
Referenced by MediaWiki\Preferences\SignatureValidator\validateSignature().
|
protected |
string | $signature | Signature after PST |
Definition at line 273 of file SignatureValidator.php.
Referenced by MediaWiki\Preferences\SignatureValidator\validateSignature().
MediaWiki\Preferences\SignatureValidator::validateSignature | ( | string | $signature | ) |
string | $signature | Signature before PST |
Definition at line 102 of file SignatureValidator.php.
References MediaWiki\Preferences\SignatureValidator\applyPreSaveTransform(), MediaWiki\Preferences\SignatureValidator\checkLineBreaks(), MediaWiki\Preferences\SignatureValidator\checkLintErrors(), MediaWiki\Preferences\SignatureValidator\checkUserLinks(), and wfEscapeWikiText().