Manual:generateLocalAutoload.php

From Linux Web Expert

Revision as of 17:24, 26 June 2023 by imported>Reedy (Marked this version for translation)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

<td class="mw-version-versionbox" title="<translate nowrap> MediaWiki <tvar name=1>1.40</tvar> is legacy version</translate>">
1.25 – 1.40
<translate> MediaWiki versions:</translate> Renamed to generateAutoload.php in MW 1.41

Details

generateLocalAutoload.php was a maintenance script that generates a local autoload file. It was renamed to Manual:generateAutoload.php in MediaWiki 1.41. 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.


Options

This script does not accept any options.

Usage

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

See also