Manual:importSiteScripts.php

From Linux Web Expert

Revision as of 04:48, 6 December 2023 by imported>FuzzyBot (Updating to match new version of source page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

<td class="mw-version-versionbox" title="<translate nowrap> The latest stable version is <tvar name=1>1.41</tvar></translate>">
<translate> ≥</translate> 1.17
<translate> MediaWiki version:</translate>

Detalhes

O arquivo importSiteScripts.php é um script de manutenção para importar todos os scripts no namespace MediaWiki a partir de um site local.

Options/Arguments

Argument Description Required
api API (api.php) base url <translate> Required</translate>
index Index (index.php) base url <translate> Required</translate>

Usage

php maintenance/importSiteScripts.php apiUrl indexUrl
Terminal

See also