Manual:Hooks/BeforeRevertedTagUpdate

Various content management extensions that involve some kind of approval mechanism for edits can use this to indicate that the should not be performed right after the edit is made, but rather it should wait for the edit to be approved. To delay the execution of the update simply implement this hook and set the parameter to  when the user does not have an  user right or similar.

The update can be later rescheduled using. In your code that marks an edit as "approved" use:

Parameters

 * : modified
 * : The user performing the modification, instance of
 * : Edit summary/comment, instance of
 * : An, Flags passed to
 * : New of the article
 * : A object storing information about the effects of this edit, including which edits were reverted and which edit is this based on (for reverts and null edits).
 * : A, representing whether the edit is considered approved. Setting it to will abort the update, while setting it to  will cause the update to be executed normally. If patrolling is enabled, the passed value will indicate whether the edit is autopatrolled or not. In case patrolling is disabled on the wiki, the passed value will always be , unless modified by other extensions.