User:Leucosticte/MediaInclu/Hooks/UpdateRevisionOn

This hook doesn't exist yet, except on Leucosticte's private test wiki. It may eventually be added in an upcoming Gerrit change.

Details

 * $dbw — database master
 * $revision — revision object
 * $lastRevision — integer
 * $lastRevIsRedirect — boolean
 * &$row — array; use this in the update
 * &$conditions — array; use these conditions in the update
 * &$result — result to return; true on success, false on failure

If the hook returns false/null/zero, then the update won't be performed.