Jump to content

Extension:FlaggedRevs/Hooks/FlaggedRevsStabilitySettingsChanged

From mediawiki.org
FlaggedRevsStabilitySettingsChanged
Available from version 1.44.0 (Gerrit change 1088632)
Called after stabilisation settings for a page have changed
Define function:
public static function onFlaggedRevsStabilitySettingsChanged( $title, $newStabilitySettings, $userIdentity, $reason ) { ... }
Attach hook:
$wgHooks['FlaggedRevsStabilitySettingsChanged'][] = 'MyExtensionHooks::onFlaggedRevsStabilitySettingsChanged';
Called from:File(s): FlaggedRevs /

For more information about attaching hooks, see Manual:Hooks .
For examples of other extensions using this hook, see Category:FlaggedRevsStabilitySettingsChanged extensions.

Parameters

[edit]
  • $title: The title of the page which had the stabilisation settings change
  • $newStabilitySettings: The new stabilisation settings for the $title
  • $userIdentity: The user who modified the stabilisation settings
  • $reason: The reason given for the changing of the stabilisation settings