Manual:FixExtLinksProtocolRelative.php/ko
Appearance
| 미디어위키 버전: | ≥ 1.18 |
| 미디어위키 파일: fixExtLinksProtocolRelative.php | |
|---|---|
| 위치: | maintenance/ |
| 소스 코드: | master • 1.46.0 • 1.45.4 • 1.43.9 |
| 클래스: | FixExtLinksProtocolRelative |
상세
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.
옵션
This script does not accept any options.
사용법
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.39 and earlier, you must invoke maintenance scripts using
php maintenance/scriptName.php instead of php maintenance/run.php scriptName.