From: Reedy Date: Tue, 25 Jul 2017 23:47:58 +0000 (+0100) Subject: Add some output messages to populatePPSortKey X-Git-Tag: 1.31.0-rc.0~2584^2 X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=commitdiff_plain;h=cd3f1d58defd02dc847e0f6928dff78083380777 Add some output messages to populatePPSortKey Change-Id: I8a78fd1575c6a79cd78288c4f1e53a35689d1205 --- diff --git a/maintenance/populatePPSortKey.php b/maintenance/populatePPSortKey.php index fd7974dabf..7e3c2c3d25 100644 --- a/maintenance/populatePPSortKey.php +++ b/maintenance/populatePPSortKey.php @@ -43,6 +43,7 @@ class PopulatePPSortKey extends LoggedUpdateMaintenance { $lastPageValue = 0; $editedRowCount = 0; + $this->output( "Populating page_props.pp_sortkey...\n" ); while ( true ) { $conditions = [ 'pp_sortkey IS NULL' ]; if ( $lastPageValue !== 0 ) { @@ -93,7 +94,7 @@ class PopulatePPSortKey extends LoggedUpdateMaintenance { $lastProp = $row->pp_propname; } - $this->output( "Done!\n" ); + $this->output( "Populating page_props.pp_sortkey complete.\n" ); } protected function getUpdateKey() {