Jump to content

Manuel:FixExtLinksProtocolRelative.php

From mediawiki.org
This page is a translated version of the page Manual:FixExtLinksProtocolRelative.php and the translation is 86% complete.
Version de MediaWiki :
1.18

Détails

Le fichier fixExtLinksProtocolRelative.php est un script de maintenance qui corrige les entrées des URLs associées aux protocoles dans la table des externallinks, en remplaçant chaque entrée de protocole par deux entrées, l'une pour HTTP et l'autre pour HTTPS.

Options

Ce script n'a pas d'options.

Utilisation

php maintenance/run.php fixExtLinksProtocolRelative
Terminal
Dans la version MediaWiki MediaWiki 1.39 et antérieures, vous devez appeler les scripts de maintenance en utilisant php maintenance/scriptName.php au lieu de php maintenance/run.php scriptName.

See also