[ Index ] |
PHP Cross Reference of MediaWiki-1.24.0 |
[Source view] [Print] [Project Stats]
(no description)
File Size: | 223 lines (6 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
SpamBlacklistHooks:: (6 methods):
filterMergedContent()
filterAPIEditBeforeSave()
userCanSendEmail()
abortNewAccount()
validate()
pageSaveContent()
Class: SpamBlacklistHooks - X-Ref
Hooks for the spam blacklist extensionfilterMergedContent( IContextSource $context, Content $content, Status $status, $summary, User $user, $minoredit ) X-Ref |
Hook function for EditFilterMergedContent param: IContextSource $context param: Content $content param: Status $status param: string $summary param: User $user param: bool $minoredit return: bool |
filterAPIEditBeforeSave( $editPage, $text, &$resultArr ) X-Ref |
Hook function for APIEditBeforeSave. This allows blacklist matches to be reported directly in the result structure of the API call. param: $editPage EditPage param: $text string param: $resultArr array return: bool |
userCanSendEmail( &$user, &$hookErr ) X-Ref |
Verify that the user can send emails param: $user User param: $hookErr array return: bool |
abortNewAccount( $user, &$abortError ) X-Ref |
Processes new accounts for valid email addresses param: $user User param: $abortError return: bool |
validate( $editPage, $text, $section, &$hookError ) X-Ref |
Hook function for EditFilter Confirm that a local blacklist page being saved is valid, and toss back a warning to the user if it isn't. param: $editPage EditPage param: $text string param: $section string param: $hookError string return: bool |
pageSaveContent(Page $wikiPage,User $user,Content $content,$summary,$isMinor,$isWatch,$section,$flags,$revision,Status $status,$baseRevId) X-Ref |
Hook function for PageContentSaveComplete Clear local spam blacklist caches on page save. param: Page $wikiPage param: User $user param: Content $content param: string $summary param: bool $isMinor param: bool $isWatch param: string $section param: int $flags param: int $revision param: Status $status param: int $baseRevId return: bool |
Generated: Fri Nov 28 14:03:12 2014 | Cross-referenced by PHPXref 0.7.1 |