Wikibase
MediaWiki Wikibase extension
|
Interface to run a hook before and edit is saved. More...
Public Member Functions | |
run ( $new, IContextSource $context, string $summary) | |
Call EditFilterMergedContent hook, if registered. | |
Interface to run a hook before and edit is saved.
Wikibase\Repo\EditEntity\EditFilterHookRunner::run | ( | $new, | |
IContextSource | $context, | ||
string | $summary ) |
Call EditFilterMergedContent hook, if registered.
EntityDocument | EntityRedirect | EntityContent | null | $new | The entity or redirect (content) we are trying to save |
IContextSource | $context | The request context for the edit |
string | $summary | The edit summary |
RuntimeException | |
InvalidArgumentException |
Implemented in Wikibase\Repo\EditEntity\MediaWikiEditFilterHookRunner.