https://bugzilla.wikimedia.org/show_bug.cgi?id=20345

           Summary: Add findhooks.php check for undocumented hooks to
                    commit-time testing for CodeReview
           Product: Wikimedia
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: Normal
         Component: General/Unknown
        AssignedTo: wikibugs-l@lists.wikimedia.org
        ReportedBy: br...@wikimedia.org


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.


-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to