Manual:ImportSiteScripts.php/ja
MediaWiki バージョン: | ≧ 1.17 |
MediaWiki ファイル: importSiteScripts.php | |
---|---|
場所: | maintenance/ |
ソース コード: | master • 1.44.0 • 1.43.3 • 1.39.13 |
クラス: | ImportSiteScripts |
詳細
importSiteScripts.php file is a maintenance script to import all scripts in the MediaWiki namespace from a local site.
オプション/引数
引数 | 説明 | 必須かどうか |
---|---|---|
api | API (api.php) base url | 必須 |
index | Index (index.php) base url | 必須 |
使用法
php maintenance/run.php importSiteScripts apiUrl indexUrl
Terminal
{{#parsoid\0fragment:0}}
MediaWiki バージョン 1.39.13 以前では、メンテナンス スクリプトを
php maintenance/run.php スクリプト名
ではなく php maintenance/スクリプト名.php
を使用して実行する必要があります。