Jump to content

Manual:findHooks.php

From mediawiki.org
(Redirected from Manual:Findhooks.php)
MediaWiki version:
1.34

Details

[edit]

findHooks.php file is a maintenance script that compares documented and actually present mismatches. This script assumes that hook 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.

Options/Arguments

[edit]
Option Description Required?
--online Check against MediaWiki.org hook documentation Optional

Usage

[edit]
php maintenance/findHooks.php [ --online ]

Basic run

[edit]
Terminal

Check against MediaWiki.org

[edit]
Terminal

See also

[edit]