Manual:deleteSelfExternals.php
From Linux Web Expert
<td class="mw-version-versionbox" title="<translate nowrap> The latest stable version is <tvar name=1>1.41</tvar></translate>">
<translate> ≥</translate> 1.23
<translate> MediaWiki version:</translate> |
MediaWiki file: deleteSelfExternals.php | |
---|---|
Location: | maintenance/ |
Source code: | master • 1.41.1 • 1.40.3 • 1.39.7 |
Classes: | DeleteSelfExternals |
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/deleteSelfExternals.php
Terminal
$ php maintenance/deleteSelfExternals.php Deleting self externals from http://mediawikidemo.org Deleting a batch