|
MediaWiki REL1_35
|

Public Member Functions | |
| onSecondaryDataUpdates ( $title, $oldContent, $recursive, $parserOutput, &$updates) | |
| Use this hook to modify the list of DataUpdates to perform when page content is modified. | |
Definition at line 15 of file SecondaryDataUpdatesHook.php.
| MediaWiki\Content\Hook\SecondaryDataUpdatesHook::onSecondaryDataUpdates | ( | $title, | |
| $oldContent, | |||
| $recursive, | |||
| $parserOutput, | |||
| & | $updates | ||
| ) |
Use this hook to modify the list of DataUpdates to perform when page content is modified.
| Title | $title | Title of the page that is being edited |
| Content | $oldContent | Page content before the edit |
| bool | $recursive | Whether DataUpdates should trigger recursive updates (relevant mostly for LinksUpdate) |
| ParserOutput | $parserOutput | Rendered version of the page after the edit |
| DataUpdate[] | &$updates | List of DataUpdate objects, to be modified or replaced by the hook handler |
Implemented in MediaWiki\HookContainer\HookRunner.