Index: trunk/extensions/UsabilityInitiative/UsabilityInitiative.php |
— | — | @@ -27,12 +27,15 @@ |
28 | 28 | ); |
29 | 29 | |
30 | 30 | // Shortcut to this extension directory |
31 | | -$dir = dirname( __FILE__ ) . '/'; |
| 31 | +$dir = dirname( __FILE__ ); |
32 | 32 | |
33 | 33 | // Autoload Classes |
34 | 34 | $wgAutoloadClasses['UsabilityInitiativeHooks'] = |
35 | | - $dir . 'UsabilityInitiative.hooks.php'; |
| 35 | + "$dir/UsabilityInitiative.hooks.php"; |
36 | 36 | |
| 37 | +$wgExtensionMessagesFiles['UsabilityInitiative'] = |
| 38 | + "$dir/UsabilityInitiative.i18n.php"; |
| 39 | + |
37 | 40 | // Register ajax add script hook |
38 | 41 | $wgHooks['AjaxAddScript'][] = 'UsabilityInitiativeHooks::addJS'; |
39 | 42 | |