Index: trunk/extensions/MoodBar/MoodBar.php |
— | — | @@ -17,28 +17,28 @@ |
18 | 18 | |
19 | 19 | // Object model |
20 | 20 | $wgAutoloadClasses['MBFeedbackItem'] = $moodBarDir . 'FeedbackItem.php'; |
21 | | -$wgAutoloadClasses['MBFeedbackResponseItem'] = $moodBarDir . 'FeedbackResponseItem.php'; |
22 | | -$wgAutoloadClasses['MWFeedbackResponseItemPropertyException'] = $moodBarDir . 'FeedbackResponseItem.php'; |
23 | | -$wgAutoloadClasses['MoodBarFormatter'] = $moodBarDir . 'Formatter.php'; |
24 | | -$wgAutoloadClasses['MoodBarHTMLEmailNotification'] = $moodBarDir . 'include/MoodBarHTMLEmailNotification.php'; |
25 | | -$wgAutoloadClasses['MoodBarHTMLMailerJob'] = $moodBarDir . 'include/MoodBarHTMLMailerJob.php'; |
26 | | -$wgAutoloadClasses['MoodBarUtil'] = $moodBarDir . 'include/MoodBarUtil.php'; |
| 21 | +$wgAutoloadClasses['MBFeedbackResponseItem'] = $moodBarDir . 'FeedbackResponseItem.php'; |
| 22 | +$wgAutoloadClasses['MWFeedbackResponseItemPropertyException'] = $moodBarDir . 'FeedbackResponseItem.php'; |
| 23 | +$wgAutoloadClasses['MoodBarFormatter'] = $moodBarDir . 'Formatter.php'; |
| 24 | +$wgAutoloadClasses['MoodBarHTMLEmailNotification'] = $moodBarDir . 'include/MoodBarHTMLEmailNotification.php'; |
| 25 | +$wgAutoloadClasses['MoodBarHTMLMailerJob'] = $moodBarDir . 'include/MoodBarHTMLMailerJob.php'; |
| 26 | +$wgAutoloadClasses['MoodBarUtil'] = $moodBarDir . 'include/MoodBarUtil.php'; |
27 | 27 | |
28 | 28 | // API |
29 | | -$wgAutoloadClasses['ApiMoodBar'] = $moodBarDir . 'ApiMoodBar.php'; |
| 29 | +$wgAutoloadClasses['ApiMoodBar'] = $moodBarDir . 'ApiMoodBar.php'; |
30 | 30 | $wgAPIModules['moodbar'] = 'ApiMoodBar'; |
31 | | -$wgAutoloadClasses['ApiQueryMoodBarComments'] = $moodBarDir . 'ApiQueryMoodBarComments.php'; |
| 31 | +$wgAutoloadClasses['ApiQueryMoodBarComments'] = $moodBarDir . 'ApiQueryMoodBarComments.php'; |
32 | 32 | $wgAPIListModules['moodbarcomments'] = 'ApiQueryMoodBarComments'; |
33 | | -$wgAutoloadClasses['ApiFeedbackDashboard'] = $moodBarDir . 'ApiFeedbackDashboard.php'; |
| 33 | +$wgAutoloadClasses['ApiFeedbackDashboard'] = $moodBarDir . 'ApiFeedbackDashboard.php'; |
34 | 34 | $wgAPIModules['feedbackdashboard'] = 'ApiFeedbackDashboard'; |
35 | | -$wgAutoloadClasses['ApiFeedbackDashboardResponse'] = $moodBarDir . 'ApiFeedbackDashboardResponse.php'; |
| 35 | +$wgAutoloadClasses['ApiFeedbackDashboardResponse'] = $moodBarDir . 'ApiFeedbackDashboardResponse.php'; |
36 | 36 | $wgAPIModules['feedbackdashboardresponse'] = 'ApiFeedbackDashboardResponse'; |
37 | | -$wgAutoloadClasses['ApiMoodBarSetUserEmail'] = $moodBarDir . 'ApiMoodBarSetUserEmail.php'; |
38 | | -$wgAutoloadClasses['MWApiMoodBarSetUserEmailInvalidActionException'] = $moodBarDir . 'ApiMoodBarSetUserEmail.php'; |
| 37 | +$wgAutoloadClasses['ApiMoodBarSetUserEmail'] = $moodBarDir . 'ApiMoodBarSetUserEmail.php'; |
| 38 | +$wgAutoloadClasses['MWApiMoodBarSetUserEmailInvalidActionException'] = $moodBarDir . 'ApiMoodBarSetUserEmail.php'; |
39 | 39 | $wgAPIModules['moodbarsetuseremail'] = 'ApiMoodBarSetUserEmail'; |
40 | 40 | |
41 | 41 | // Hooks |
42 | | -$wgAutoloadClasses['MoodBarHooks'] = $moodBarDir . 'MoodBar.hooks.php'; |
| 42 | +$wgAutoloadClasses['MoodBarHooks'] = $moodBarDir . 'MoodBar.hooks.php'; |
43 | 43 | $wgHooks['BeforePageDisplay'][] = 'MoodBarHooks::onPageDisplay'; |
44 | 44 | $wgHooks['ResourceLoaderGetConfigVars'][] = 'MoodBarHooks::resourceLoaderGetConfigVars'; |
45 | 45 | $wgHooks['MakeGlobalVariablesScript'][] = 'MoodBarHooks::makeGlobalVariablesScript'; |
— | — | @@ -46,12 +46,12 @@ |
47 | 47 | $wgHooks['onMarkItemAsHelpful'][] = 'MoodBarHooks::onMarkItemAsHelpful'; |
48 | 48 | |
49 | 49 | // Special pages |
50 | | -$wgAutoloadClasses['SpecialMoodBar'] = $moodBarDir . 'SpecialMoodBar.php'; |
| 50 | +$wgAutoloadClasses['SpecialMoodBar'] = $moodBarDir . 'SpecialMoodBar.php'; |
51 | 51 | $wgSpecialPages['MoodBar'] = 'SpecialMoodBar'; |
52 | | -$wgAutoloadClasses['SpecialFeedbackDashboard'] = $moodBarDir . 'SpecialFeedbackDashboard.php'; |
| 52 | +$wgAutoloadClasses['SpecialFeedbackDashboard'] = $moodBarDir . 'SpecialFeedbackDashboard.php'; |
53 | 53 | $wgSpecialPages['FeedbackDashboard'] = 'SpecialFeedbackDashboard'; |
54 | 54 | |
55 | | -$dashboardFormsPath = $moodBarDir . 'DashboardForms.php'; |
| 55 | +$dashboardFormsPath = $moodBarDir . 'DashboardForms.php'; |
56 | 56 | $wgAutoloadClasses['MBDashboardForm'] = $dashboardFormsPath; |
57 | 57 | $wgAutoloadClasses['MBActionForm'] = $dashboardFormsPath; |
58 | 58 | $wgAutoloadClasses['MBHideForm'] = $dashboardFormsPath; |
— | — | @@ -75,8 +75,8 @@ |
76 | 76 | $wgGroupPermissions['sysop']['moodbar-admin'] = true; |
77 | 77 | |
78 | 78 | // Internationalisation |
79 | | -$wgExtensionMessagesFiles['MoodBar'] = $moodBarDir . 'MoodBar.i18n.php'; |
80 | | -$wgExtensionMessagesFiles['MoodBarAliases'] = $moodBarDir . 'MoodBar.alias.php'; |
| 79 | +$wgExtensionMessagesFiles['MoodBar'] = $moodBarDir . 'MoodBar.i18n.php'; |
| 80 | +$wgExtensionMessagesFiles['MoodBarAliases'] = $moodBarDir . 'MoodBar.alias.php'; |
81 | 81 | |
82 | 82 | // Resources |
83 | 83 | $mbResourceTemplate = array( |