Merge "Add some output messages to populatePPSortKey"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Wed, 26 Jul 2017 01:30:05 +0000 (01:30 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Wed, 26 Jul 2017 01:30:05 +0000 (01:30 +0000)
maintenance/populatePPSortKey.php

index fd7974d..7e3c2c3 100644 (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() {