Podręcznik:FixExtLinksProtocolRelative.php

This page is a translated version of the page Manual:FixExtLinksProtocolRelative.php and the translation is 33% complete.
Wersja MediaWiki:
1.18

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

Fixing protocol-relative entries in the externallinks table...
Done, 12 rows updated.

See also