Manual:InitEditCount.php/de
Appearance
MediaWiki Version: | ≥ 1.8 |
MediaWiki-Datei: initEditCount.php | |
---|---|
Speicherort: | maintenance/ |
Quellcode: | master • 1.42.3 • 1.41.4 • 1.39.10 |
Klassen: | InitEditCount |
Details
initEditCount.php file is a maintenance script to init the user_editcount
database field based on the number of rows in the revision
table.
Optionen
Option | Beschreibung | Notwendig |
---|---|---|
--quick | Force the update to be done in a single query | Optional |
--background | Force replication-friendly mode | Optional |
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.
Verwendung
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!