Index: trunk/extensions/LiquidThreads/classes/Hooks.php |
— | — | @@ -308,7 +308,7 @@ |
309 | 309 | global $wgExtNewTables, $wgExtNewFields, $wgExtPGNewFields, |
310 | 310 | $wgExtPGAlteredFields, $wgExtNewIndexes, $wgDBtype; |
311 | 311 | |
312 | | - $dir = dirname( __FILE__ ); |
| 312 | + $dir = dirname( dirname( __FILE__ ) ); |
313 | 313 | |
314 | 314 | // DB updates |
315 | 315 | $wgExtNewTables[] = array( 'thread', "$dir/lqt.sql" ); |
— | — | @@ -316,16 +316,16 @@ |
317 | 317 | $wgExtNewTables[] = array( 'thread_history', "$dir/schema-changes/thread_history_table.sql" ); |
318 | 318 | |
319 | 319 | |
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" ); |
330 | 330 | |
331 | 331 | $wgExtNewIndexes[] = array( 'thread', 'thread_summary_page', '(thread_summary_page)' ); |
332 | 332 | |