Manual:deleteSelfExternals.php
MediaWiki version: | ≥ 1.23 |
MediaWiki file: deleteSelfExternals.php | |
---|---|
Location: | maintenance/ |
Source code: | master • 1.43.0 • 1.42.4 • 1.39.11 |
Classes: | DeleteSelfExternals |
Details
editdeleteSelfExternals.php file is a maintenance script that deletes self-references to $wgServer from the externallinks
table.
It processes 1000 items in every batch.
Options
editThis script does not take any options.
Usage
editphp maintenance/run.php deleteSelfExternals
Terminal
$ php maintenance/run.php deleteSelfExternals Deleting self externals from http://mediawikidemo.org Deleting a batch
In MediaWiki version 1.39.10 and earlier, you must invoke maintenance scripts using
php maintenance/scriptName.php
instead of php maintenance/run.php scriptName
.