Manual:FixExtLinksProtocolRelative.php/ja
MediaWiki バージョン: | ≧ 1.18 |
MediaWiki ファイル: fixExtLinksProtocolRelative.php | |
---|---|
場所: | maintenance/ |
ソース コード: | master • 1.43.1 • 1.42.6 • 1.39.12 |
クラス: | FixExtLinksProtocolRelative |
詳細
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
$ php maintenance/run.php fixExtLinksProtocolRelative Fixing protocol-relative entries in the externallinks table... Done, 12 rows updated.
MediaWiki バージョン 1.39.12 以前では、メンテナンス スクリプトを
php maintenance/run.php scriptName
ではなく php maintenance/scriptName.php
を使用して実行する必要があります。