Jump to content

Manual:findDeprecated.php

From mediawiki.org

Details

[edit]

findDeprecated.php maintenance script recursively scans MediaWiki PHP files for deprecated functions and interfaces and produces a report. This is a useful feature when you do development and want to know whether you are using any deprecated functions or interfaces.

Options/Arguments

[edit]

This script does not take any options or arguments.

Usage

[edit]
php maintenance/run.php findDeprecated
In MediaWiki version 1.39.10 and earlier, you must invoke maintenance scripts using php maintenance/scriptName.php instead of php maintenance/run.php scriptName.

Getting all deprecated functions and interfaces

[edit]
Terminal

See also

[edit]