Manual:DeleteSelfExternals.php

MediaWiki version:
1.23
Category:MediaWiki code#DeleteSelfExternals.php

Details

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

This script does not take any options.

Usage

php maintenance/run.php deleteSelfExternals
Terminal
In MediaWiki version 1.39.12 and earlier, you must invoke maintenance scripts using php maintenance/scriptName.php instead of php maintenance/run.php scriptName.

See also

Category:Maintenance scripts Category:Database maintenance scripts
Category:Database maintenance scripts Category:Maintenance scripts Category:MediaWiki code