Manual:fixExtLinksProtocolRelative.php
From Linux Web Expert
<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> |
tiedosto MediaWiki: fixExtLinksProtocolRelative.php | |
---|---|
Sijainti: | maintenance/ |
Lähdekoodi: | master • 1.41.1 • 1.40.3 • 1.39.7 |
Sarjat: | FixExtLinksProtocolRelative |
Details
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.
Vaihtoehdot
This script does not accept any options.
Käyttö
php maintenance/fixExtLinksProtocolRelative.php
Terminal
$ php maintenance/fixExtLinksProtocolRelative.php Fixing protocol-relative entries in the externallinks table... Done, 12 rows updated.