User:Leucosticte/MediaInclu/Hooks/BeforeRecentChangeSave
Appearance
(Redirected from Inclupedia/Hooks/BeforeRecentChangeSave)
BeforeRecentChangeSave | |
---|---|
Available from version 1.23.0 Before the recent change data is written to the database | |
Define function: |
public static function onBeforeRecentChangeSave( &$attribs ) { ... } |
Attach hook: |
$wgHooks['BeforeRecentChangeSave'][] = 'MyExtensionHooks::onBeforeRecentChangeSave'; |
Called from: | RecentChange.php |
For more information about attaching hooks, see Manual:Hooks.
For examples of extensions using this hook, see Category:BeforeRecentChangeSave extensions.
This hook doesn't exist yet, except on Leucosticte's private test wiki. It may eventually be added in an upcoming Gerrit change.
Details
[edit]- &$attribs â Array of attributes