Jump to content

Manual:importSiteScripts.php

From mediawiki.org
MediaWiki version:
1.17

Details

[edit]

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

Options/Arguments

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

Usage

[edit]
php maintenance/run.php importSiteScripts apiUrl indexUrl
Terminal
In MediaWiki version 1.39.10 and earlier, you must invoke maintenance scripts using php maintenance/scriptName.php instead of php maintenance/run.php scriptName.

See also

[edit]