Manual:FindHooks.php

findHooks.php is a MediaWiki maintenance script that compares documented and actually present mismatches. This script assumes that hooks names in hooks.txt are at the beginning of a line and single quoted and hooks names in code are the first parameter of wfRunHooks.