Add some output messages to populatePPSortKey

Change-Id: I8a78fd1575c6a79cd78288c4f1e53a35689d1205
This commit is contained in:
Reedy 2017-07-26 00:47:58 +01:00
parent baa5c190ea
commit cd3f1d58de

View file

@ -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() {