Index: trunk/phase3/includes/installer/MysqlUpdater.php |
— | — | @@ -200,7 +200,7 @@ |
201 | 201 | } else { |
202 | 202 | $this->output( "Fixing $field encoding on $table table... " ); |
203 | 203 | $this->applyPatch( $patchFile ); |
204 | | - $this->output( "ok\n" ); |
| 204 | + $this->output( "done.\n" ); |
205 | 205 | } |
206 | 206 | } |
207 | 207 | |
— | — | @@ -242,7 +242,7 @@ |
243 | 243 | $this->output( "ok\n" ); |
244 | 244 | $this->output( 'Adding default interwiki definitions...' ); |
245 | 245 | $this->applyPatch( "$IP/maintenance/interwiki.sql", true ); |
246 | | - $this->output( "ok\n" ); |
| 246 | + $this->output( "done.\n" ); |
247 | 247 | } |
248 | 248 | |
249 | 249 | /** |
— | — | @@ -257,7 +257,7 @@ |
258 | 258 | |
259 | 259 | $this->output( "Updating indexes to 20031107..." ); |
260 | 260 | $this->applyPatch( 'patch-indexes.sql', true ); |
261 | | - $this->output( "ok\n" ); |
| 261 | + $this->output( "done.\n" ); |
262 | 262 | } |
263 | 263 | |
264 | 264 | protected function doOldLinksUpdate() { |
— | — | @@ -275,7 +275,7 @@ |
276 | 276 | $this->output( "Fixing ancient broken imagelinks table.\n" ); |
277 | 277 | $this->output( "NOTE: you will have to run maintenance/refreshLinks.php after this.\n" ); |
278 | 278 | $this->applyPatch( 'patch-fix-il_from.sql' ); |
279 | | - $this->output( "ok\n" ); |
| 279 | + $this->output( "done.\n" ); |
280 | 280 | } |
281 | 281 | |
282 | 282 | /** |
— | — | @@ -297,7 +297,7 @@ |
298 | 298 | 'wl_title' => 'wl_title', |
299 | 299 | 'wl_notificationtimestamp' => 'wl_notificationtimestamp' |
300 | 300 | ), array( 'NOT (wl_namespace & 1)' ), __METHOD__, 'IGNORE' ); |
301 | | - $this->output( "ok\n" ); |
| 301 | + $this->output( "done.\n" ); |
302 | 302 | } |
303 | 303 | |
304 | 304 | function doSchemaRestructuring() { |
— | — | @@ -486,7 +486,7 @@ |
487 | 487 | } else { |
488 | 488 | $this->output( "Promoting $field from $info->Type to int... " ); |
489 | 489 | $this->db->query( "ALTER TABLE $tablename MODIFY $field int NOT NULL", __METHOD__ ); |
490 | | - $this->output( "ok\n" ); |
| 490 | + $this->output( "done.\n" ); |
491 | 491 | } |
492 | 492 | } |
493 | 493 | } |
— | — | @@ -499,7 +499,7 @@ |
500 | 500 | |
501 | 501 | $this->output( "Converting links and brokenlinks tables to pagelinks... " ); |
502 | 502 | $this->applyPatch( 'patch-pagelinks.sql' ); |
503 | | - $this->output( "ok\n" ); |
| 503 | + $this->output( "done.\n" ); |
504 | 504 | |
505 | 505 | global $wgContLang; |
506 | 506 | foreach ( MWNamespace::getCanonicalNamespaces() as $ns => $name ) { |
— | — | @@ -521,7 +521,7 @@ |
522 | 522 | AND pl_title LIKE '$likeprefix:%'"; |
523 | 523 | |
524 | 524 | $this->db->query( $sql, __METHOD__ ); |
525 | | - $this->output( "ok\n" ); |
| 525 | + $this->output( "done.\n" ); |
526 | 526 | } |
527 | 527 | } |
528 | 528 | |
— | — | @@ -537,7 +537,7 @@ |
538 | 538 | } |
539 | 539 | $this->output( "Adding unique index on user_name... " ); |
540 | 540 | $this->applyPatch( 'patch-user_nameindex.sql' ); |
541 | | - $this->output( "ok\n" ); |
| 541 | + $this->output( "done.\n" ); |
542 | 542 | } |
543 | 543 | |
544 | 544 | protected function doUserGroupsUpdate() { |
— | — | @@ -600,7 +600,7 @@ |
601 | 601 | __METHOD__ ); |
602 | 602 | } |
603 | 603 | } |
604 | | - $this->output( "ok\n" ); |
| 604 | + $this->output( "done.\n" ); |
605 | 605 | } |
606 | 606 | |
607 | 607 | /** |
— | — | @@ -616,7 +616,7 @@ |
617 | 617 | |
618 | 618 | $this->output( "Making wl_notificationtimestamp nullable... " ); |
619 | 619 | $this->applyPatch( 'patch-watchlist-null.sql' ); |
620 | | - $this->output( "ok\n" ); |
| 620 | + $this->output( "done.\n" ); |
621 | 621 | } |
622 | 622 | |
623 | 623 | /** |
— | — | @@ -703,7 +703,7 @@ |
704 | 704 | $this->output( "Creating page_restrictions table..." ); |
705 | 705 | $this->applyPatch( 'patch-page_restrictions.sql' ); |
706 | 706 | $this->applyPatch( 'patch-page_restrictions_sortkey.sql' ); |
707 | | - $this->output( "ok\n" ); |
| 707 | + $this->output( "done.\n" ); |
708 | 708 | |
709 | 709 | $this->output( "Migrating old restrictions to new table...\n" ); |
710 | 710 | $task = $this->maintenance->runChild( 'UpdateRestrictions' ); |
— | — | @@ -752,15 +752,16 @@ |
753 | 753 | } else { |
754 | 754 | $this->output( "Adding pf_memory field to table profiling..." ); |
755 | 755 | $this->applyPatch( 'patch-profiling-memory.sql' ); |
756 | | - $this->output( "ok\n" ); |
| 756 | + $this->output( "done.\n" ); |
757 | 757 | } |
758 | 758 | } |
759 | 759 | |
760 | 760 | protected function doFilearchiveIndicesUpdate() { |
761 | 761 | $info = $this->db->indexInfo( 'filearchive', 'fa_user_timestamp', __METHOD__ ); |
762 | 762 | if ( !$info ) { |
| 763 | + $this->output( "Updating filearchive indices..." ); |
763 | 764 | $this->applyPatch( 'patch-filearchive-user-index.sql' ); |
764 | | - $this->output( "...filearchive indices updated\n" ); |
| 765 | + $this->output( "done.\n" ); |
765 | 766 | } |
766 | 767 | } |
767 | 768 | |
— | — | @@ -773,7 +774,7 @@ |
774 | 775 | |
775 | 776 | $this->output( "Making pl_namespace, tl_namespace and il_to indices UNIQUE... " ); |
776 | 777 | $this->applyPatch( 'patch-pl-tl-il-unique.sql' ); |
777 | | - $this->output( "ok\n" ); |
| 778 | + $this->output( "done.\n" ); |
778 | 779 | } |
779 | 780 | |
780 | 781 | protected function renameEuWikiId() { |
— | — | @@ -784,7 +785,7 @@ |
785 | 786 | |
786 | 787 | $this->output( "Renaming eu_wiki_id -> eu_local_id... " ); |
787 | 788 | $this->applyPatch( 'patch-eu_local_id.sql' ); |
788 | | - $this->output( "ok\n" ); |
| 789 | + $this->output( "done.\n" ); |
789 | 790 | } |
790 | 791 | |
791 | 792 | protected function doUpdateMimeMinorField() { |
— | — | @@ -795,7 +796,7 @@ |
796 | 797 | |
797 | 798 | $this->output( "Altering all *_mime_minor fields to 100 bytes in size ... " ); |
798 | 799 | $this->applyPatch( 'patch-mime_minor_length.sql' ); |
799 | | - $this->output( "ok\n" ); |
| 800 | + $this->output( "done.\n" ); |
800 | 801 | } |
801 | 802 | |
802 | 803 | protected function doPopulateRevLen() { |