Jump to content

Manual:fixExtLinksProtocolRelative.php

From mediawiki.org
This page is a translated version of the page Manual:FixExtLinksProtocolRelative.php and the translation is 83% complete.
MediaWiki バージョン:
1.18

詳細

fixExtLinksProtocolRelative.php file is a maintenance script to fix any entries for protocol-relative URLs in the externallinks table, replacing each protocol-relative entry with two entries, one for HTTP and one for HTTPS.

オプション

このスクリプトにはオプションはありません。

使用法

php maintenance/run.php fixExtLinksProtocolRelative
Terminal
MediaWiki バージョン MediaWiki 1.39 以前では、メンテナンス スクリプトを php maintenance/run.php スクリプト名 ではなく php maintenance/スクリプト名.php を使用して実行する必要があります。

See also