Manual:PurgeExpiredWatchlistItems.php/de

This page is a translated version of the page Manual:PurgeExpiredWatchlistItems.php and the translation is 45% complete.
MediaWiki Version:
1.35

Details

purgeExpiredWatchlistItems.php is a maintenance script that deletes expired rows from the watchlist and watchlist_expiry database tables.

This script should be run periodically, for example, by a cron job. The recommended periodicity is once or twice a day, to account for users on different timezones. For improved site performance, $wgWatchlistPurgeRate can be set to 0.

Optionen

This script doesn't have any of its own parameters, and the most useful of the generic parameters is probably --batch-size, which determines how many rows will be deleted on each run (defaults to 500).

Verwendung

php maintenance/purgeExpiredWatchlistItems.php
Terminal

Häufiger Fehler

Watchlist expiry is not enabled.

An error is thrown if $wgWatchlistExpiry is not true. Set $wgWatchlistExpiry = true; to enable.

Siehe auch