r56283 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r56282‎ | r56283 | r56284 >
Date:21:17, 13 September 2009
Author:ialex
Status:deferred
Tags:
Comment:
use correct paths for sql files ;)
Modified paths:
  • /trunk/extensions/LiquidThreads/classes/Hooks.php (modified) (history)

Diff [purge]

Index: trunk/extensions/LiquidThreads/classes/Hooks.php
@@ -308,7 +308,7 @@
309309 global $wgExtNewTables, $wgExtNewFields, $wgExtPGNewFields,
310310 $wgExtPGAlteredFields, $wgExtNewIndexes, $wgDBtype;
311311
312 - $dir = dirname( __FILE__ );
 312+ $dir = dirname( dirname( __FILE__ ) );
313313
314314 // DB updates
315315 $wgExtNewTables[] = array( 'thread', "$dir/lqt.sql" );
@@ -316,16 +316,16 @@
317317 $wgExtNewTables[] = array( 'thread_history', "$dir/schema-changes/thread_history_table.sql" );
318318
319319
320 - $wgExtNewFields[] = array( "thread", "thread_article_namespace", "$dir/split-thread_article.sql" );
321 - $wgExtNewFields[] = array( "thread", "thread_article_title", "$dir/split-thread_article.sql" );
322 - $wgExtNewFields[] = array( "thread", "thread_ancestor", "$dir/normalise-ancestry.sql" );
323 - $wgExtNewFields[] = array( "thread", "thread_parent", "$dir/normalise-ancestry.sql" );
324 - $wgExtNewFields[] = array( "thread", "thread_modified", "$dir/split-timestamps.sql" );
325 - $wgExtNewFields[] = array( "thread", "thread_created", "$dir/split-timestamps.sql" );
326 - $wgExtNewFields[] = array( "thread", "thread_editedness", "$dir/store-editedness.sql" );
327 - $wgExtNewFields[] = array( "thread", "thread_subject", "$dir/store_subject-author.sql" );
328 - $wgExtNewFields[] = array( "thread", "thread_author_id", "$dir/store_subject-author.sql" );
329 - $wgExtNewFields[] = array( "thread", "thread_author_name", "$dir/store_subject-author.sql" );
 320+ $wgExtNewFields[] = array( "thread", "thread_article_namespace", "$dir/schema-changes/split-thread_article.sql" );
 321+ $wgExtNewFields[] = array( "thread", "thread_article_title", "$dir/schema-changes/split-thread_article.sql" );
 322+ $wgExtNewFields[] = array( "thread", "thread_ancestor", "$dir/schema-changes/normalise-ancestry.sql" );
 323+ $wgExtNewFields[] = array( "thread", "thread_parent", "$dir/schema-changes/normalise-ancestry.sql" );
 324+ $wgExtNewFields[] = array( "thread", "thread_modified", "$dir/schema-changes/split-timestamps.sql" );
 325+ $wgExtNewFields[] = array( "thread", "thread_created", "$dir/schema-changes/split-timestamps.sql" );
 326+ $wgExtNewFields[] = array( "thread", "thread_editedness", "$dir/schema-changes/store-editedness.sql" );
 327+ $wgExtNewFields[] = array( "thread", "thread_subject", "$dir/schema-changes/store_subject-author.sql" );
 328+ $wgExtNewFields[] = array( "thread", "thread_author_id", "$dir/schema-changes/store_subject-author.sql" );
 329+ $wgExtNewFields[] = array( "thread", "thread_author_name", "$dir/schema-changes/store_subject-author.sql" );
330330
331331 $wgExtNewIndexes[] = array( 'thread', 'thread_summary_page', '(thread_summary_page)' );
332332

Status & tagging log