Manual:importSiteScripts.php

From Linux Web Expert

Revision as of 14:59, 26 February 2023 by imported>Ameisenigel (Reverted edits by Check.a78 (talk) to last version by Alien333)
(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>

Détails

le fichier importSiteScripts.php dst un script de maintenance pour importer tous les scripts dans l'espace de noms MédiaWiki d'un site local.

Options et arguments

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

Utilisation

php maintenance/importSiteScripts.php apiUrl indexUrl
Terminal

Voir aussi