Manual:fixExtLinksProtocolRelative.php

From Linux Web Expert

Revision as of 04:51, 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.18
<translate> MediaWiki version:</translate>

詳細

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/fixExtLinksProtocolRelative.php
Terminal

See also