r86929 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r86928‎ | r86929 | r86930 >
Date:07:17, 26 April 2011
Author:freakolowsky
Status:ok
Tags:
Comment:
* typo from r86708
Modified paths:
  • /trunk/phase3/includes/installer/OracleUpdater.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/installer/OracleUpdater.php
@@ -20,7 +20,7 @@
2121 array( 'doFKRenameDeferr' ),
2222 array( 'doFunctions17' ),
2323 array( 'doSchemaUpgrade17' ),
24 - array( 'doInserPage0' ),
 24+ array( 'doInsertPage0' ),
2525 );
2626 }
2727
@@ -81,7 +81,10 @@
8282 $this->output( "ok\n" );
8383 }
8484
85 - protected function doInserPage0() {
 85+ /**
 86+ * Insert page (page_id = 0) to prevent FK constraint violation
 87+ */
 88+ protected function doInsertPage0() {
8689 $this->output( "Inserting page 0 if missing ... " );
8790 $row = array(
8891 'page_id' => 0,

Follow-up revisions

RevisionCommit summaryAuthorDate
r86930* merge of r86929 (typo from r86708)freakolowsky07:18, 26 April 2011

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r86708* insert page 0 (for FK) if updatingfreakolowsky14:23, 22 April 2011

Status & tagging log