Index: trunk/extensions/PageTriage/PageTriage.i18n.php |
— | — | @@ -15,3 +15,10 @@ |
16 | 16 | 'pagetriage-desc' => 'Facilitates reviwing and approving new articles', |
17 | 17 | 'pagetriage' => 'Page Triage', |
18 | 18 | ); |
| 19 | + |
| 20 | +/** |
| 21 | + * Message documentation (Message documentation) |
| 22 | + */ |
| 23 | +$messages['qqq'] = array( |
| 24 | + 'pagetriage-desc' => '{{desc}}', |
| 25 | +); |
\ No newline at end of file |
Index: trunk/extensions/PageTriage/PageTriage.php |
— | — | @@ -26,3 +26,14 @@ |
27 | 27 | $wgExtensionAliasesFiles['PageTriage'] = $dir . 'PageTriage.alias.php'; |
28 | 28 | $wgSpecialPages['PageTriage'] = 'SpecialPageTriage'; |
29 | 29 | $wgSpecialPageGroups['PageTriage'] = 'changes'; |
| 30 | + |
| 31 | +$wgHooks['LoadExtensionSchemaUpdates'][] = 'efPageTriageSchemaUpdates'; |
| 32 | + |
| 33 | +/** |
| 34 | + * @param $updater DatabaseUpdater |
| 35 | + * @return bool |
| 36 | + */ |
| 37 | +function efPageTriageSchemaUpdates( $updater ) { |
| 38 | + $base = dirname( __FILE__ ) . "/sql"; |
| 39 | + $updater->addExtensionTable( 'pagetriage', "$base/PageTriage.sql" ); |
| 40 | +} |
\ No newline at end of file |