Manual:RunScript.php

Details
runScript.php file is a convenience maint-scripts>Special:MyLanguage/Manual:Maintenance scripts|maintenance script wrapper, useful for scripts or extensions located outside of standard locations.

Usage
To use, give the maintenance script as a relative or full path.

Examples
If your pwd is mediawiki base folder:

If your pwd is maintenance folder:

Or use the full path: