Page MenuHomePhabricator

background parameter documentation on initEditCount.php outputs weirdly
Closed, ResolvedPublic

Description

$ php maintenance/initEditCount.php --help

Batch-recalculate user_editcount fields from the revision table

Usage: php initEditCount.php [--background|--conf|--dbgroupdefault|--dbpass|--dbuser|--globals|--help|--memory-limit|--profiler|--quick|--quiet|--server|--wiki]

Generic maintenance parameters:
    --help (-h): Display this help message
    --quiet (-q): Whether to suppress non-error output
    --conf: Location of LocalSettings.php, if not default
    --wiki: For specifying the wiki ID
    --globals: Output globals at the end of processing for debugging
    --memory-limit: Set a specific memory limit for the script, "max"
        for no limit or "default" to avoid changing it
    --server: The protocol and server name to use in URLs, e.g.
        http://en.wikipedia.org. This is sometimes necessary because server name
        detection may fail in command line scripts.
    --profiler: Profiler output format (usually "text")

Script dependant parameters:
    --dbuser: The DB user to use for this script
    --dbpass: The password to use for this script
    --dbgroupdefault: The default DB group to use.

Script specific parameters:
    --background: Force replication-friendly mode; may be inefficient
        but
		avoids locking tables or lagging replica DBs with large
        updates;
		calculates counts on a replica DB if possible.

Background
        mode will be automatically used if multiple servers are listed
in the
        load balancer, usually indicating a replication environment.
    --quick: Force the update to be done in a single query

Event Timeline

Reedy renamed this task from background documentation on initEditCount.php outputs weird to background parameter documentation on initEditCount.php outputs weirdly.Mar 18 2020, 12:25 AM
Reedy triaged this task as Lowest priority.

Change 580695 had a related patch set uploaded (by Ammarpad; owner: Ammarpad):
[mediawiki/core@master] initEditCount.php: Fix text flow in param description

https://gerrit.wikimedia.org/r/580695

Change 580695 merged by jenkins-bot:
[mediawiki/core@master] initEditCount.php: Fix text flow in param description

https://gerrit.wikimedia.org/r/580695