Last modified: 2012-08-24 15:07:26 UTC
We have a handy maintenance script for checking if the code contains undocumented hooks: $ php maintenance/findhooks.php Undocumented: InitPreferencesForm Undocumented: PreferencesUserInformationPanel Undocumented: RenderPreferencesForm Undocumented: ResetPreferences Undocumented: SavePreferences This could be fairly easily adapted to send test failures to CodeReview when a new hook comes in that's not documented.
I guess it should be added to the automatic tests in gerrit now.
Moving back to MediaWiki, not a Gerrit issue. This should be rewritten as a PHPUnit test, then it'll get run automatically with all the others.