Manual:generateAutoload.php

From Linux Web Expert

Revision as of 20:43, 8 July 2023 by imported>Shirayuki (Created page with "== 詳細 ==")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

<td class="mw-version-versionbox" title="<translate nowrap> The latest stable version is <tvar name=1>1.41</tvar></translate>">
<translate> ≥</translate> 1.41
Gerrit change 898689
<translate> MediaWiki version:</translate>

詳細

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

オプション

This script does not accept any options.

使用法

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

関連項目