Manual:generateLocalAutoload.php

Other languages:
MediaWiki version:
1.25

DetailsEdit

generateLocalAutoload.php is a maintenance script that generates a local autoload file. MediaWiki follows the psr-4 namespace to load the classes. This script generates and dumps the $wgAutoloadLocalClasses (autoload mapping) in autoload.php in the root of the MediaWiki directory.

OptionsEdit

This script does not accept any options.

UsageEdit

$ php maintenance/generateLocalAutoload.php
Terminal
$ php maintenance/generateLocalAutoload.php
This script does not give any output on stdout. If you don't get an error, it means the script ran successfully.

See alsoEdit