Index: trunk/phase3/maintenance/updaters.inc |
— | — | @@ -434,7 +434,7 @@ |
435 | 435 | global $wgDatabase; |
436 | 436 | $fname = 'do_watchlist_update'; |
437 | 437 | if ( $wgDatabase->fieldExists( 'watchlist', 'wl_notificationtimestamp' ) ) { |
438 | | - wfOut( "The watchlist table is already set up for email notification.\n" ); |
| 438 | + wfOut( "...the watchlist table is already set up for email notification.\n" ); |
439 | 439 | } else { |
440 | 440 | wfOut( "Adding wl_notificationtimestamp field for email notification management." ); |
441 | 441 | /* ALTER TABLE watchlist ADD (wl_notificationtimestamp varchar(14) binary NOT NULL default '0'); */ |
— | — | @@ -525,7 +525,7 @@ |
526 | 526 | $wgDatabase->freeResult( $res ); |
527 | 527 | |
528 | 528 | if ( in_array( 'binary', $flags ) ) { |
529 | | - wfOut( "$table table has correct $field encoding.\n" ); |
| 529 | + wfOut( "...$table table has correct $field encoding.\n" ); |
530 | 530 | } else { |
531 | 531 | wfOut( "Fixing $field encoding on $table table... " ); |
532 | 532 | $wgDatabase->sourceFile( archive( $patchFile ) ); |
— | — | @@ -706,7 +706,7 @@ |
707 | 707 | $wgDatabase->sourceFile( archive( 'patch-inverse_timestamp.sql' ) ); |
708 | 708 | wfOut( "ok\n" ); |
709 | 709 | } else { |
710 | | - wfOut( "revision timestamp indexes already up to 2005-03-13\n" ); |
| 710 | + wfOut( "...revision timestamp indexes already up to 2005-03-13\n" ); |
711 | 711 | } |
712 | 712 | } |
713 | 713 | |
— | — | @@ -807,14 +807,14 @@ |
808 | 808 | $wgDatabase->sourceFile( archive( 'patch-drop_img_type.sql' ) ); |
809 | 809 | wfOut( "ok\n" ); |
810 | 810 | } else { |
811 | | - wfOut( "No img_type field in image table; Good.\n" ); |
| 811 | + wfOut( "...no img_type field in image table; Good.\n" ); |
812 | 812 | } |
813 | 813 | } |
814 | 814 | |
815 | 815 | function do_old_links_update() { |
816 | 816 | global $wgDatabase; |
817 | 817 | if ( $wgDatabase->tableExists( 'pagelinks' ) ) { |
818 | | - wfOut( "Already have pagelinks; skipping old links table updates.\n" ); |
| 818 | + wfOut( "...have pagelinks; skipping old links table updates.\n" ); |
819 | 819 | } else { |
820 | 820 | convertLinks(); flush(); |
821 | 821 | } |
— | — | @@ -837,7 +837,7 @@ |
838 | 838 | global $wgDatabase; |
839 | 839 | $duper = new UserDupes( $wgDatabase ); |
840 | 840 | if ( $duper->hasUniqueIndex() ) { |
841 | | - wfOut( "Already have unique user_name index.\n" ); |
| 841 | + wfOut( "...already have unique user_name index.\n" ); |
842 | 842 | } else { |
843 | 843 | if ( !$duper->clearDupes() ) { |
844 | 844 | wfOut( "WARNING: This next step will probably fail due to unfixed duplicates...\n" ); |
— | — | @@ -1081,7 +1081,7 @@ |
1082 | 1082 | if ( !$wgDatabase->tableExists( 'profiling' ) ) { |
1083 | 1083 | // Simply ignore |
1084 | 1084 | } elseif ( $wgDatabase->fieldExists( 'profiling', 'pf_memory' ) ) { |
1085 | | - wfOut( "profiling table has pf_memory field.\n" ); |
| 1085 | + wfOut( "...profiling table has pf_memory field.\n" ); |
1086 | 1086 | } else { |
1087 | 1087 | wfOut( "Adding pf_memory field to table profiling..." ); |
1088 | 1088 | $wgDatabase->sourceFile( archive( 'patch-profiling-memory.sql' ) ); |
— | — | @@ -1373,11 +1373,11 @@ |
1374 | 1374 | |
1375 | 1375 | function rename_eu_wiki_id() { |
1376 | 1376 | global $wgDatabase; |
1377 | | - wfOut( "Renaming eu_wiki_id -> eu_local_id... " ); |
1378 | 1377 | if ( $wgDatabase->fieldExists( 'external_user', 'eu_local_id' ) ) { |
1379 | | - wfOut( "already done.\n" ); |
| 1378 | + wfOut( "...eu_wiki_id already renamed to eu_local_id.\n" ); |
1380 | 1379 | return; |
1381 | 1380 | } |
| 1381 | + wfOut( "Renaming eu_wiki_id -> eu_local_id... " ); |
1382 | 1382 | $wgDatabase->sourceFile( archive( 'patch-eu_local_id.sql' ) ); |
1383 | 1383 | wfOut( "ok\n" ); |
1384 | 1384 | } |
— | — | @@ -1396,7 +1396,7 @@ |
1397 | 1397 | |
1398 | 1398 | function do_update_mime_minor_field() { |
1399 | 1399 | if ( update_row_exists( 'mime_minor_length' ) ) { |
1400 | | - wfOut( "*_mime_minor fields are already long enough.\n" ); |
| 1400 | + wfOut( "...*_mime_minor fields are already long enough.\n" ); |
1401 | 1401 | } else { |
1402 | 1402 | global $wgDatabase; |
1403 | 1403 | wfOut( "Altering all *_mime_minor fields to 100 bytes in size ... " ); |