Manual:FixExtLinksProtocolRelative.php/fi
Appearance
| MediaWiki version: | ≥ 1.18 |
| tiedosto MediaWiki: fixExtLinksProtocolRelative.php | |
|---|---|
| Sijainti: | maintenance/ |
| Lähdekoodi: | master • 1.45.1 • 1.44.3 • 1.43.6 |
| 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/run.php fixExtLinksProtocolRelative
Terminal
$ php maintenance/run.php fixExtLinksProtocolRelative Fixing protocol-relative entries in the externallinks table... Done, 12 rows updated.
In MediaWiki version 1.43.6 and earlier, you must invoke maintenance scripts using
php maintenance/scriptName.php instead of php maintenance/run.php scriptName.