Manual:importSiteScripts.php
Appearance
MediaWiki バージョン: | ≧ 1.17 |
MediaWiki ファイル: importSiteScripts.php | |
---|---|
場所: | maintenance/ |
ソース コード: | master • 1.42.3 • 1.41.4 • 1.39.10 |
クラス: | 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/importSiteScripts.php apiUrl indexUrl
Terminal
$ php maintenance/importSiteScripts.php https://hi.wikiversity.org/w/api.php https://hi.wikiversity.org/w/ Fetched list up to मीडियाविकि:Visualeditor-cite-tool-definition.json Importing 36 pages Importing Common.js Importing Common.js/Slideshows.js Importing Common.js/WatchlistNotice.js Importing Common.js/addin-mooc-config.js Importing Common.js/addin-mooc-localization.js Importing Common.js/addin-mooc.js Importing DebateTree.js Importing Displayname.js Importing EditToolbar.js Importing ExtraTabs.js Importing Gadget-GoogleTrans.js Importing Gadget-HotCat.js Importing Gadget-Numeral converter.js Importing Gadget-ShortUrl.js Importing Gadget-ShortUrlShare.js Importing Gadget-Twinkle.js Importing Gadget-XTools-ArticleInfo.js Importing Gadget-charinsert.js Importing Gadget-defaultsummaries.js Importing Gadget-morebits.js Importing Gadget-refToolbar.js Importing Gadget-refToolbarBase.js Importing Gadget-removeAccessKeys.js Importing Gadget-searchFocus.js Importing Gadget-twinklediff.js Importing Gadget-twinklefluff.js Importing Gadget-twinkleunlink.js Importing Navigation.js Importing Purge.js Importing RefToolbar.js Importing RefToolbarConfig.js Importing RefToolbarLegacy.js Importing RefToolbarMessages-en.js Importing RefToolbarMessages-hi.js Importing Sidebar.js Importing Tables.js