Manual:Run.php

Details
run.php file is the entry point introduced in for running maintenance scripts. The executable  will allow to call it. Since MediaWiki 1.40, run a maintenance script without run.php is deprecated. It introduces the wfMaintenanceRunSetup callback.

Usage
 ./maintenance/run

Advanced Usage
 ./maintenance/run [--conf|--globals|--memory-limit|--profiler|--server|--wiki]