Launching git hook when editing wiki from web interface

Is it possible to launch a git pre-commit hook for all users when editing from the web interface?

We use some pre-commit hook to generate some info that should be added to the wiki pages.
Locally this works fine, but we want users to be able to use the web interface for editing the wiki, and fire off the same pre-commit hook.

The reason this is a pre-commit hook, is that it edits/adds files to the wiki and adds these to the commit with the "–amend " option. This makes sure the files are in sync.