Manual:importSiteScripts.php

MediaWiki version:
1.17

DetailsEdit

importSiteScripts.php file is a maintenance script to import all scripts in the MediaWiki namespace from a local site.

Options/ArgumentsEdit

Argument Description Required
api API (api.php) base url Required
index Index (index.php) base url Required

UsageEdit

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

See alsoEdit