Manual:fixExtLinksProtocolRelative.php
MediaWiki version: | ≥ 1.18 |
MediaWiki file: fixExtLinksProtocolRelative.php | |
---|---|
Location: | maintenance/ |
Source code: | master • 1.42.3 • 1.41.4 • 1.39.10 |
Classes: | FixExtLinksProtocolRelative |
Details
editfixExtLinksProtocolRelative.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
editThis script does not accept any options.
Usage
editphp maintenance/fixExtLinksProtocolRelative.php
Terminal
$ php maintenance/fixExtLinksProtocolRelative.php Fixing protocol-relative entries in the externallinks table... Done, 12 rows updated.