Manual:deleteSelfExternals.php
Appearance
MediaWiki version: | ≥ 1.23 |
MediaWiki file: deleteSelfExternals.php | |
---|---|
Location: | maintenance/ |
Source code: | master • 1.42.4 • 1.41.5 • 1.39.11 |
Classes: | DeleteSelfExternals |
Details
[edit]deleteSelfExternals.php file is a maintenance script that deletes self-references to $wgServer from the externallinks
table.
It processes 1000 items in every batch.
Options
[edit]This script does not take any options.
Usage
[edit]php 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
.