Manual:ClearInterwikiCache.php/it
Outdated translations are marked like this.
Versione MediaWiki: | ≥ 1.21 |
archivio MediaWiki: clearInterwikiCache.php | |
---|---|
Ubicazione: | maintenance/ |
Codice sorgente: | master • 1.43.0 • 1.42.5 • 1.39.11 |
Classi: | ClearInterwikiCache |
Details
clearInterwikiCache.php è uno script di manutenzione per ripulire i collegamenti interwiki per tutte le lingue da memcached .
This script will clear the interwiki cache on all databases configured in
$wgLocalDatabases
. If there's no database configured, this script will do nothing. See T289704Options/Arguments
This script does not take any options.
Utilizzo
php maintenance/run.php clearInterwikiCache
Terminal
$ php maintenance/run.php clearInterwikiCache wikipedia...done meta...done news...done
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
.Troubleshooting
If the script does not output anything it means nothing was done because you have no "local database". This problem is caused by the default value of the $wgLocalDatabases configuration. This behavior deserves further explanation but the quick workaround is to add your database name to that array.