aboutsummaryrefslogtreecommitdiffstats
path: root/maintenance/initEditCount.php
diff options
context:
space:
mode:
authorAmmar Abdulhamid <ammarpad@yahoo.com>2020-03-18 07:35:23 +0100
committerReedy <reedy@wikimedia.org>2020-03-23 22:59:07 +0000
commit3bdd39de4878b23a0875348d0443c3c339de57cd (patch)
tree2b769fc67e6ab6a3244c726f7eeba624c2ae6242 /maintenance/initEditCount.php
parente539ed73b460a83f84d25c77115dea34de7df3ed (diff)
downloadmediawikicore-3bdd39de4878b23a0875348d0443c3c339de57cd.tar.gz
mediawikicore-3bdd39de4878b23a0875348d0443c3c339de57cd.zip
initEditCount.php: Fix text flow in param description
Bug: T247911 Change-Id: Ia6d446aeb2edbe25cad8b06b3372dac858c211c3
Diffstat (limited to 'maintenance/initEditCount.php')
-rw-r--r--maintenance/initEditCount.php10
1 files changed, 4 insertions, 6 deletions
diff --git a/maintenance/initEditCount.php b/maintenance/initEditCount.php
index f4cd2d35a2f4..1ab9e5d1aad4 100644
--- a/maintenance/initEditCount.php
+++ b/maintenance/initEditCount.php
@@ -30,12 +30,10 @@ class InitEditCount extends Maintenance {
public function __construct() {
parent::__construct();
$this->addOption( 'quick', 'Force the update to be done in a single query' );
- $this->addOption( '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.' );
+ $this->addOption( '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.' );
$this->addDescription( 'Batch-recalculate user_editcount fields from the revision table' );
}