Manual:ImportSiteScripts.php/pl
Wersja MediaWiki: | ≥ 1.17 |
Plik MediaWiki: importSiteScripts.php | |
---|---|
Lokalizacja: | maintenance/ |
Kod źródłowy: | master • 1.42.1 • 1.41.2 • 1.39.8 |
Klasy: | ImportSiteScripts |
Details
importSiteScripts.php file is a maintenance script to import all scripts in the MediaWiki namespace from a local site.
Options/Arguments
Argument | Description | Required |
---|---|---|
api | API (api.php) base url | Wymagane |
index | Index (index.php) base url | Wymagane |
Usage
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