Manual:generateLocalAutoload.php

From Linux Web Expert

Revision as of 17:24, 26 June 2023 by imported>FuzzyBot (Updating to match new version of source page)
(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

Rincian

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.


Pilihan

Skrip ini tidak menerima pilihan apa pun.

Penggunaan

$ php maintenance/generateLocalAutoload.php
Terminal
Skrip ini tidak memberikan keluaran apa pun pada stdout. Jika Anda tidak mendapati galat, itu berarti skrip berhasil dijalankan.

Lihat pula