Podręcznik:FixExtLinksProtocolRelative.php
Appearance
| Wersja MediaWiki: | ≥ 1.18 |
| Plik MediaWiki: fixExtLinksProtocolRelative.php | |
|---|---|
| Lokalizacja: | maintenance/ |
| Kod źródłowy: | master • 1.45.3 • 1.44.5 • 1.43.8 |
| Klasy: | FixExtLinksProtocolRelative |
Szczegóły
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.
Options
This script does not accept any options.
Usage
php maintenance/run.php fixExtLinksProtocolRelative
Terminal
$ php maintenance/run.php fixExtLinksProtocolRelative Fixing protocol-relative entries in the externallinks table... Done, 12 rows updated.
W wersji MediaWiki MediaWiki 1.39 i we wcześniejszych musisz wywoływać skrypty konserwacyjne poprzez
php maintenance/nazwaSkryptu.php zamiast php maintenance/run.php nazwaSkryptu.