Manual:clearInterwikiCache.php

This page is a translated version of the page Manual:ClearInterwikiCache.php and the translation is 50% complete.
MediaWiki バージョン:
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. タスク T289704 を参照してください

オプション/引数

このスクリプトにはオプションはありません。

使用法

php maintenance/clearInterwikiCache.php
Terminal

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.

関連項目