maintenance: Fix detection of bad hooks (wfRunHooks -> Hooks::run)
authorTimo Tijhof <krinklemail@gmail.com>
Thu, 10 Jan 2019 19:33:10 +0000 (11:33 -0800)
committerTimo Tijhof <krinklemail@gmail.com>
Thu, 10 Jan 2019 19:33:10 +0000 (11:33 -0800)
commit5b02c8e3a07a5a476c877d392ef16f11a4242c93
treed5d3376ef2ed844f67971ae01bfe3fa0e25c8164
parentcb9de88ded69987e1b92161527896c0617bd7480
maintenance: Fix detection of bad hooks (wfRunHooks -> Hooks::run)

It was still looking for wfRunHooks, which no longer exists
as of MediaWiki 1.32.

After this, it is now able to find one bad hook:

> Unclear hook calls:
> - Hooks::run( $action . 'ArticleComplete', [ .. ] ); # SpecialEditWatchlist

Also, remove the matching of wfRunHooks generally, given it no
longer exists. And also remove the historic notes from hooks.txt.

Change-Id: I4ac52ed75fb99d7775d4b4755e3f0871003d70a8
docs/hooks.txt
maintenance/findHooks.php