MediaWiki REL1_40
|
Public Member Functions | |
__construct (ServiceOptions $options, UserIdentity $user, ?MessageLocalizer $localizer, ParserOptions $popts, ParserFactory $parserFactory, 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 41 of file SignatureValidator.php.
MediaWiki\Preferences\SignatureValidator::__construct | ( | ServiceOptions | $options, |
UserIdentity | $user, | ||
?MessageLocalizer | $localizer, | ||
ParserOptions | $popts, | ||
ParserFactory | $parserFactory, | ||
SpecialPageFactory | $specialPageFactory, | ||
TitleFactory | $titleFactory ) |
ServiceOptions | $options | |
UserIdentity | $user | |
?MessageLocalizer | $localizer | |
ParserOptions | $popts | |
ParserFactory | $parserFactory | |
SpecialPageFactory | $specialPageFactory | |
TitleFactory | $titleFactory |
Definition at line 73 of file SignatureValidator.php.
References MediaWiki\Config\ServiceOptions\assertRequiredOptions().
|
protected |
string | $signature | Signature before PST |
Definition at line 210 of file SignatureValidator.php.
References SpecialPage\getTitleFor().
Referenced by MediaWiki\Preferences\SignatureValidator\validateSignature().
|
protected |
string | $signature | Signature after PST |
Definition at line 334 of file SignatureValidator.php.
Referenced by MediaWiki\Preferences\SignatureValidator\validateSignature().
|
protected |
string | $signature | Signature after PST |
Definition at line 244 of file SignatureValidator.php.
References MW_VERSION.
Referenced by MediaWiki\Preferences\SignatureValidator\validateSignature().
|
protected |
string | $signature | Signature after PST |
Definition at line 293 of file SignatureValidator.php.
Referenced by MediaWiki\Preferences\SignatureValidator\validateSignature().
MediaWiki\Preferences\SignatureValidator::validateSignature | ( | string | $signature | ) |
string | $signature | Signature before PST |
Definition at line 99 of file SignatureValidator.php.
References MediaWiki\Preferences\SignatureValidator\applyPreSaveTransform(), MediaWiki\Preferences\SignatureValidator\checkLineBreaks(), MediaWiki\Preferences\SignatureValidator\checkLintErrors(), MediaWiki\Preferences\SignatureValidator\checkUserLinks(), MediaWiki\MainConfigNames\SignatureAllowedLintErrors, and wfEscapeWikiText().