Jump to content

Manual:findHooks.php

From mediawiki.org
This page is a translated version of the page Manual:FindHooks.php and the translation is 78% complete.
MediaWiki バージョン:
1.34

詳細

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

オプション 説明 必須かどうか
--online Check against MediaWiki.org hook documentation 省略可能

使用法

php maintenance/findHooks.php [ --online ]

Basic run

Terminal

Check against MediaWiki.org

Terminal

関連項目