Manual:deleteSelfExternals.php

From Linux Web Expert

Revision as of 17:17, 23 February 2022 by imported>APaskulin (WMF)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

<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>

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

See also