Index: trunk/extensions/AdvancedSearch/AdvancedSearch.php |
— | — | @@ -43,6 +43,7 @@ |
44 | 44 | $wgHooks['LoadExtensionSchemaUpdates'][] = 'AdvancedSearchSchemaUpdate'; |
45 | 45 | $wgHooks['LinksUpdate'][] = 'AdvancedSearchCategoryIntersector::LinksUpdate'; |
46 | 46 | $wgHooks['ArticleDeleteComplete'][] = 'AdvancedSearchCategoryIntersector::ArticleDeleteComplete'; |
| 47 | +$wgHooks['ParserTestTables'][] = 'AdvancedSearchAddTable'; |
47 | 48 | |
48 | 49 | function AdvancedSearchLocalizedPageName( &$specialPageArray, $code ) { |
49 | 50 | wfLoadExtensionMessages( 'AdvancedSearch' ); |
— | — | @@ -63,3 +64,8 @@ |
64 | 65 | } |
65 | 66 | return true; |
66 | 67 | } |
| 68 | + |
| 69 | +function AdvancedSearchAddTable( &$tables ) { |
| 70 | + $tables[] = 'categorysearch'; |
| 71 | + return true; |
| 72 | +} |