A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:clearInterwikiCache.php below:

Manual:clearInterwikiCache.php - MediaWiki

MediaWiki version:

1.21

clearInterwikiCache.php is a maintenance script to clear the interwiki links for all languages in 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

T289704

This script does not take any options.

php maintenance/run.php clearInterwikiCache

Terminal

$ php maintenance/run.php clearInterwikiCache

wikipedia...done
meta...done
news...done

In MediaWiki version

1.39.13

and earlier, you must invoke maintenance scripts using

php maintenance/scriptName.php

instead of

php maintenance/run.php scriptName

.

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.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4