Extension:Push/hooks

Push has 2 hooks as of version 0.7:

PushAPIBeforePush
Hook that allows modifying (or aborting) a push before it is executed.

Example usage:

PushAPIBeforeImagePush
Hook that allows modifying (or aborting) an image push before it is executed.

Example usage: