Manual:FindDeprecated.php

Category:MediaWiki code#FindDeprecated.php

Details

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

This script does not take any options or arguments.

Usage

php maintenance/run.php findDeprecated
In MediaWiki version 1.39.12 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

Terminal

See also

Category:Maintenance scripts Category:Development maintenance scripts
Category:Development maintenance scripts Category:Maintenance scripts Category:MediaWiki code