Manuel:InitEditCount.php

This page is a translated version of the page Manual:InitEditCount.php and the translation is 33% complete.
Version de MediaWiki :
1.8

Détails

Le fichier initEditCount.php est un script de maintenance pour initialiser le champ user_editcount de le base de données en fonction du nombre de lignes de la table revision.

Options

Option Description Required
--quick Force the update to be done in a single query optionnel
--background Force replication-friendly mode optionnel

Background mode will be automatically used if multiple servers are listed in the load balancer, usually indicating a replication environment. This avoids locking tables or lagging replica databases with large updates.

Usage

php maintenance/initEditCount.php [ --quick| --background ]
Terminal
$ php maintenance/initEditCount.php --background

Using replication-friendly background mode...
mediawiki_db 4 (100.0%) done in 0.0 secs (769.385 accounts/sec).
Done!

See also