Index: trunk/extensions/DidYouMean/DidYouMean.php |
— | — | @@ -35,6 +35,9 @@ |
36 | 36 | # handle undelete |
37 | 37 | $wgHooks['ArticleUndelete'][] = 'wfDymArticleUndelete'; |
38 | 38 | |
| 39 | +# handle parser test setup |
| 40 | +$wgHooks['ParserTestTables'][] = 'wfDymParserTestTables'; |
| 41 | + |
39 | 42 | # set this in LocalSettings.php |
40 | 43 | $wgDymUseSeeTemplate = false; |
41 | 44 | |
— | — | @@ -396,3 +399,9 @@ |
397 | 400 | |
398 | 401 | } |
399 | 402 | } |
| 403 | + |
| 404 | +function wfDymParserTestTables( &$tables ) { |
| 405 | + $tables[] = 'dympage'; |
| 406 | + $tables[] = 'dymnorm'; |
| 407 | + return true; |
| 408 | +} |