Index: trunk/extensions/Translate/_autoload.php |
— | — | @@ -13,39 +13,31 @@ |
14 | 14 | /** @endcond */ |
15 | 15 | |
16 | 16 | /** |
17 | | - * @name Core extension classes |
| 17 | + * @name Core Translate classes |
18 | 18 | * @{ |
19 | 19 | */ |
20 | | -$wgAutoloadClasses['TranslateTasks'] = "$dir/TranslateTasks.php"; |
21 | | -$wgAutoloadClasses['TaskOptions'] = "$dir/TranslateTasks.php"; |
22 | | - |
23 | | -$wgAutoloadClasses['TranslateUtils'] = "$dir/TranslateUtils.php"; |
24 | | - |
25 | | -$wgAutoloadClasses['TranslateHooks'] = "$dir/TranslateHooks.php"; |
26 | | - |
27 | | -$wgAutoloadClasses['MessageChecker'] = "$dir/MessageChecks.php"; |
| 20 | +$wgAutoloadClasses['AliasMessageGroup'] = "$dir/MessageGroups.php"; |
| 21 | +$wgAutoloadClasses['FatMessage'] = "$dir/Message.php"; |
| 22 | +$wgAutoloadClasses['FileBasedMessageGroup'] = "$dir/Groups.php"; |
28 | 23 | $wgAutoloadClasses['MediaWikiMessageChecker'] = "$dir/MediaWikiMessageChecker.php"; |
29 | | - |
| 24 | +$wgAutoloadClasses['MessageChecker'] = "$dir/MessageChecks.php"; |
| 25 | +$wgAutoloadClasses['MessageCollection'] = "$dir/MessageCollection.php"; |
| 26 | +$wgAutoloadClasses['MessageDefinitions'] = "$dir/MessageCollection.php"; |
30 | 27 | $wgAutoloadClasses['MessageGroup'] = "$dir/Groups.php"; |
31 | 28 | $wgAutoloadClasses['MessageGroupBase'] = "$dir/Groups.php"; |
32 | | -$wgAutoloadClasses['FileBasedMessageGroup'] = "$dir/Groups.php"; |
33 | | - |
34 | 29 | $wgAutoloadClasses['MessageGroupOld'] = "$dir/MessageGroups.php"; |
35 | 30 | $wgAutoloadClasses['MessageGroups'] = "$dir/MessageGroups.php"; |
36 | | -$wgAutoloadClasses['WikiPageMessageGroup'] = "$dir/MessageGroups.php"; |
37 | | -$wgAutoloadClasses['AliasMessageGroup'] = "$dir/MessageGroups.php"; |
38 | 31 | $wgAutoloadClasses['RecentMessageGroup'] = "$dir/MessageGroups.php"; |
39 | | -$wgAutoloadClasses['WorkflowStatesMessageGroup'] = "$dir/MessageGroups.php"; |
40 | | - |
41 | | -$wgAutoloadClasses['MessageCollection'] = "$dir/MessageCollection.php"; |
42 | | -$wgAutoloadClasses['MessageDefinitions'] = "$dir/MessageCollection.php"; |
43 | | - |
44 | 32 | $wgAutoloadClasses['TMessage'] = "$dir/Message.php"; |
| 33 | +$wgAutoloadClasses['TaskOptions'] = "$dir/TranslateTasks.php"; |
45 | 34 | $wgAutoloadClasses['ThinMessage'] = "$dir/Message.php"; |
46 | | -$wgAutoloadClasses['FatMessage'] = "$dir/Message.php"; |
47 | | - |
48 | 35 | $wgAutoloadClasses['TranslateEditAddons'] = "$dir/TranslateEditAddons.php"; |
| 36 | +$wgAutoloadClasses['TranslateHooks'] = "$dir/TranslateHooks.php"; |
49 | 37 | $wgAutoloadClasses['TranslateRcFilter'] = "$dir/RcFilter.php"; |
| 38 | +$wgAutoloadClasses['TranslateTasks'] = "$dir/TranslateTasks.php"; |
| 39 | +$wgAutoloadClasses['TranslateUtils'] = "$dir/TranslateUtils.php"; |
| 40 | +$wgAutoloadClasses['WikiPageMessageGroup'] = "$dir/MessageGroups.php"; |
| 41 | +$wgAutoloadClasses['WorkflowStatesMessageGroup'] = "$dir/MessageGroups.php"; |
50 | 42 | /**@}*/ |
51 | 43 | |
52 | 44 | /** |
— | — | @@ -62,17 +54,17 @@ |
63 | 55 | * There are few more special pages in page translation section. |
64 | 56 | * @{ |
65 | 57 | */ |
66 | | -$wgAutoloadClasses['SpecialTranslate'] = "$dir/specials/SpecialTranslate.php"; |
67 | | -$wgAutoloadClasses['SpecialMagic'] = "$dir/specials/SpecialMagic.php"; |
68 | | -$wgAutoloadClasses['SpecialTranslationStats'] = "$dir/specials/SpecialTranslationStats.php"; |
69 | | -$wgAutoloadClasses['SpecialTranslations'] = "$dir/specials/SpecialTranslations.php"; |
| 58 | +$wgAutoloadClasses['SpecialFirstSteps'] = "$dir/specials/SpecialFirstSteps.php"; |
| 59 | +$wgAutoloadClasses['SpecialImportTranslations'] = "$dir/specials/SpecialImportTranslations.php"; |
70 | 60 | $wgAutoloadClasses['SpecialLanguageStats'] = "$dir/specials/SpecialLanguageStats.php"; |
| 61 | +$wgAutoloadClasses['SpecialMagic'] = "$dir/specials/SpecialMagic.php"; |
| 62 | +$wgAutoloadClasses['SpecialManageGroups'] = "$dir/specials/SpecialManageGroups.php"; |
71 | 63 | $wgAutoloadClasses['SpecialMessageGroupStats'] = "$dir/specials/SpecialMessageGroupStats.php"; |
72 | | -$wgAutoloadClasses['SpecialImportTranslations'] = "$dir/specials/SpecialImportTranslations.php"; |
73 | | -$wgAutoloadClasses['SpecialFirstSteps'] = "$dir/specials/SpecialFirstSteps.php"; |
74 | | -$wgAutoloadClasses['SpecialSupportedLanguages'] = "$dir/specials/SpecialSupportedLanguages.php"; |
75 | 64 | $wgAutoloadClasses['SpecialMyLanguage'] = "$dir/specials/SpecialMyLanguage.php"; |
76 | | -$wgAutoloadClasses['SpecialManageGroups'] = "$dir/specials/SpecialManageGroups.php"; |
| 65 | +$wgAutoloadClasses['SpecialSupportedLanguages'] = "$dir/specials/SpecialSupportedLanguages.php"; |
| 66 | +$wgAutoloadClasses['SpecialTranslate'] = "$dir/specials/SpecialTranslate.php"; |
| 67 | +$wgAutoloadClasses['SpecialTranslationStats'] = "$dir/specials/SpecialTranslationStats.php"; |
| 68 | +$wgAutoloadClasses['SpecialTranslations'] = "$dir/specials/SpecialTranslations.php"; |
77 | 69 | /**@}*/ |
78 | 70 | |
79 | 71 | /** |
— | — | @@ -81,10 +73,10 @@ |
82 | 74 | */ |
83 | 75 | $wgAutoloadClasses['SimpleFormatReader'] = "$dir/ffs/Simple.php"; |
84 | 76 | $wgAutoloadClasses['SimpleFormatWriter'] = "$dir/ffs/Simple.php"; |
85 | | -$wgAutoloadClasses['WikiFormatReader'] = "$dir/ffs/Wiki.php"; |
86 | | -$wgAutoloadClasses['WikiFormatWriter'] = "$dir/ffs/Wiki.php"; |
87 | 77 | $wgAutoloadClasses['WikiExtensionFormatReader'] = "$dir/ffs/WikiExtension.php"; |
88 | 78 | $wgAutoloadClasses['WikiExtensionFormatWriter'] = "$dir/ffs/WikiExtension.php"; |
| 79 | +$wgAutoloadClasses['WikiFormatReader'] = "$dir/ffs/Wiki.php"; |
| 80 | +$wgAutoloadClasses['WikiFormatWriter'] = "$dir/ffs/Wiki.php"; |
89 | 81 | $wgAutoloadClasses['XliffFormatWriter'] = "$dir/ffs/Xliff.php"; |
90 | 82 | /**@}*/ |
91 | 83 | |
— | — | @@ -92,47 +84,41 @@ |
93 | 85 | * @name Various utilities |
94 | 86 | * @{ |
95 | 87 | */ |
96 | | -$wgAutoloadClasses['PHPVariableLoader'] = "$dir/utils/ResourceLoader.php"; |
97 | | -$wgAutoloadClasses['StringMangler'] = "$dir/utils/StringMatcher.php"; |
98 | | -$wgAutoloadClasses['StringMatcher'] = "$dir/utils/StringMatcher.php"; |
99 | 88 | $wgAutoloadClasses['FCFontFinder'] = "$dir/utils/Font.php"; |
100 | 89 | $wgAutoloadClasses['FuzzyBot'] = "$dir/utils/FuzzyBot.php"; |
101 | | - |
102 | | -$wgAutoloadClasses['TranslatePreferences'] = "$dir/utils/UserToggles.php"; |
103 | | -$wgAutoloadClasses['TranslateToolbox'] = "$dir/utils/ToolBox.php"; |
104 | | - |
105 | | -$wgAutoloadClasses['MessageIndex'] = "$dir/utils/MessageIndex.php"; |
106 | | -$wgAutoloadClasses['MessageIndexRebuildJob'] = "$dir/utils/MessageIndexRebuildJob.php"; |
107 | | -$wgAutoloadClasses['MessageTable'] = "$dir/utils/MessageTable.php"; |
108 | | -$wgAutoloadClasses['StatsTable'] = "$dir/utils/StatsTable.php"; |
109 | | -$wgAutoloadClasses['JsSelectToInput'] = "$dir/utils/JsSelectToInput.php"; |
110 | 90 | $wgAutoloadClasses['HTMLJsSelectToInputField'] = "$dir/utils/HTMLJsSelectToInputField.php"; |
| 91 | +$wgAutoloadClasses['JsSelectToInput'] = "$dir/utils/JsSelectToInput.php"; |
111 | 92 | $wgAutoloadClasses['MessageGroupCache'] = "$dir/utils/MessageGroupCache.php"; |
112 | 93 | $wgAutoloadClasses['MessageGroupStats'] = "$dir/utils/MessageGroupStats.php"; |
| 94 | +$wgAutoloadClasses['MessageHandle'] = "$dir/utils/MessageHandle.php"; |
| 95 | +$wgAutoloadClasses['MessageIndex'] = "$dir/utils/MessageIndex.php"; |
| 96 | +$wgAutoloadClasses['MessageIndexRebuildJob'] = "$dir/utils/MessageIndexRebuildJob.php"; |
| 97 | +$wgAutoloadClasses['MessageTable'] = "$dir/utils/MessageTable.php"; |
113 | 98 | $wgAutoloadClasses['MessageWebImporter'] = "$dir/utils/MessageWebImporter.php"; |
| 99 | +$wgAutoloadClasses['PHPVariableLoader'] = "$dir/utils/ResourceLoader.php"; |
| 100 | +$wgAutoloadClasses['RevTag'] = "$dir/utils/RevTag.php"; |
| 101 | +$wgAutoloadClasses['StatsTable'] = "$dir/utils/StatsTable.php"; |
| 102 | +$wgAutoloadClasses['StringMangler'] = "$dir/utils/StringMatcher.php"; |
| 103 | +$wgAutoloadClasses['StringMatcher'] = "$dir/utils/StringMatcher.php"; |
| 104 | +$wgAutoloadClasses['TTMServer'] = "$dir/utils/TTMServer.php"; |
| 105 | +$wgAutoloadClasses['TranslateMetadata'] = "$dir/utils/TranslateMetadata.php"; |
| 106 | +$wgAutoloadClasses['TranslatePreferences'] = "$dir/utils/UserToggles.php"; |
| 107 | +$wgAutoloadClasses['TranslateToolbox'] = "$dir/utils/ToolBox.php"; |
| 108 | +$wgAutoloadClasses['TranslateYaml'] = "$dir/utils/TranslateYaml.php"; |
114 | 109 | $wgAutoloadClasses['TranslationEditPage'] = "$dir/utils/TranslationEditPage.php"; |
115 | 110 | $wgAutoloadClasses['TranslationHelpers'] = "$dir/utils/TranslationHelpers.php"; |
| 111 | +$wgAutoloadClasses['TranslationMemoryUpdater'] = "$dir/utils/TranslationMemoryUpdater.php"; |
116 | 112 | $wgAutoloadClasses['TranslationStats'] = "$dir/utils/TranslationStats.php"; |
117 | 113 | |
118 | | -$wgAutoloadClasses['TranslationMemoryUpdater'] = "$dir/utils/TranslationMemoryUpdater.php"; |
119 | | - |
120 | | -$wgAutoloadClasses['TranslateYaml'] = "$dir/utils/TranslateYaml.php"; |
121 | | - |
122 | | -$wgAutoloadClasses['RevTag'] = "$dir/utils/RevTag.php"; |
123 | | - |
124 | | -$wgAutoloadClasses['MessageHandle'] = "$dir/utils/MessageHandle.php"; |
125 | | -$wgAutoloadClasses['TTMServer'] = "$dir/utils/TTMServer.php"; |
126 | | -$wgAutoloadClasses['TranslateMetadata'] = "$dir/utils/TranslateMetadata.php"; |
127 | | - |
128 | 114 | /**@}*/ |
129 | 115 | |
130 | 116 | /** |
131 | | - * @name Classes for predefined old-style message groups |
| 117 | + * @name Classes for predefined non-managed message groups |
132 | 118 | * @{ |
133 | 119 | */ |
134 | 120 | $wgAutoloadClasses['PremadeMediawikiExtensionGroups'] = "$dir/ffs/MediaWikiExtensions.php"; |
135 | | -$wgAutoloadClasses['PremadeWikiaExtensionGroups'] = "$dir/ffs//WikiaExtensions.php"; |
136 | 121 | $wgAutoloadClasses['PremadeToolserverTextdomains'] = "$dir/ffs/ToolserverTextdomains.php"; |
| 122 | +$wgAutoloadClasses['PremadeWikiaExtensionGroups'] = "$dir/ffs//WikiaExtensions.php"; |
137 | 123 | /**@}*/ |
138 | 124 | |
139 | 125 | /** |
— | — | @@ -140,9 +126,9 @@ |
141 | 127 | * @{ |
142 | 128 | */ |
143 | 129 | $wgAutoloadClasses['ComplexMessages'] = "$dir/ffs/MediaWikiComplexMessages.php"; |
144 | | -$wgAutoloadClasses['SpecialPageAliasesCM'] = "$dir/ffs/MediaWikiComplexMessages.php"; |
145 | 130 | $wgAutoloadClasses['MagicWordsCM'] = "$dir/ffs/MediaWikiComplexMessages.php"; |
146 | 131 | $wgAutoloadClasses['NamespaceCM'] = "$dir/ffs/MediaWikiComplexMessages.php"; |
| 132 | +$wgAutoloadClasses['SpecialPageAliasesCM'] = "$dir/ffs/MediaWikiComplexMessages.php"; |
147 | 133 | /**@}*/ |
148 | 134 | |
149 | 135 | /** |
— | — | @@ -150,35 +136,35 @@ |
151 | 137 | * @ingroup PageTranslation |
152 | 138 | * @{ |
153 | 139 | */ |
| 140 | +$wgAutoloadClasses['DeleteJob'] = "$dir/tag/DeleteJob.php"; |
| 141 | +$wgAutoloadClasses['MoveJob'] = "$dir/tag/MoveJob.php"; |
154 | 142 | $wgAutoloadClasses['PageTranslationHooks'] = "$dir/tag/PageTranslationHooks.php"; |
155 | | -$wgAutoloadClasses['TranslatablePage'] = "$dir/tag/TranslatablePage.php"; |
| 143 | +$wgAutoloadClasses['RenderJob'] = "$dir/tag/RenderJob.php"; |
| 144 | +$wgAutoloadClasses['SpecialPageTranslation'] = "$dir/tag/SpecialPageTranslation.php"; |
| 145 | +$wgAutoloadClasses['SpecialPageTranslationDeletePage'] = "$dir/tag/SpecialPageTranslationDeletePage.php"; |
| 146 | +$wgAutoloadClasses['SpecialPageTranslationMovePage'] = "$dir/tag/SpecialPageTranslationMovePage.php"; |
156 | 147 | $wgAutoloadClasses['TPException'] = "$dir/tag/TPException.php"; |
157 | 148 | $wgAutoloadClasses['TPParse'] = "$dir/tag/TPParse.php"; |
158 | 149 | $wgAutoloadClasses['TPSection'] = "$dir/tag/TPSection.php"; |
159 | | -$wgAutoloadClasses['SpecialPageTranslation'] = "$dir/tag/SpecialPageTranslation.php"; |
160 | | -$wgAutoloadClasses['SpecialPageTranslationMovePage'] = "$dir/tag/SpecialPageTranslationMovePage.php"; |
161 | | -$wgAutoloadClasses['SpecialPageTranslationDeletePage'] = "$dir/tag/SpecialPageTranslationDeletePage.php"; |
162 | | -$wgAutoloadClasses['RenderJob'] = "$dir/tag/RenderJob.php"; |
163 | | -$wgAutoloadClasses['MoveJob'] = "$dir/tag/MoveJob.php"; |
164 | | -$wgAutoloadClasses['DeleteJob'] = "$dir/tag/DeleteJob.php"; |
| 150 | +$wgAutoloadClasses['TranslatablePage'] = "$dir/tag/TranslatablePage.php"; |
165 | 151 | /**@}*/ |
166 | 152 | |
167 | 153 | /** |
168 | | - * @name Classes for new-style file format support (FFS) |
| 154 | + * @name Classes for file format support (FFS) |
169 | 155 | * @{ |
170 | 156 | */ |
| 157 | +$wgAutoloadClasses['DtdFFS'] = "$dir/ffs/DTD.php"; |
171 | 158 | $wgAutoloadClasses['FFS'] = "$dir/FFS.php"; |
172 | | -$wgAutoloadClasses['SimpleFFS'] = "$dir/FFS.php"; |
| 159 | +$wgAutoloadClasses['FlatPhpFFS'] = "$dir/ffs/PhpVariables.php"; |
| 160 | +$wgAutoloadClasses['GettextFFS'] = "$dir//ffs/Gettext.php"; |
173 | 161 | $wgAutoloadClasses['JavaFFS'] = "$dir/FFS.php"; |
174 | | -$wgAutoloadClasses['YamlFFS'] = "$dir/FFS.php"; |
175 | | -$wgAutoloadClasses['RubyYamlFFS'] = "$dir/FFS.php"; |
176 | 162 | $wgAutoloadClasses['JavaScriptFFS'] = "$dir/FFS.php"; |
177 | 163 | $wgAutoloadClasses['OpenLayersFFS'] = "$dir/FFS.php"; |
178 | | -$wgAutoloadClasses['ShapadoJsFFS'] = "$dir/FFS.php"; |
179 | | -$wgAutoloadClasses['GettextFFS'] = "$dir//ffs/Gettext.php"; |
180 | | -$wgAutoloadClasses['FlatPhpFFS'] = "$dir/ffs/PhpVariables.php"; |
181 | | -$wgAutoloadClasses['DtdFFS'] = "$dir/ffs/DTD.php"; |
182 | 164 | $wgAutoloadClasses['PythonSingleFFS'] = "$dir/FFS.php"; |
| 165 | +$wgAutoloadClasses['RubyYamlFFS'] = "$dir/FFS.php"; |
| 166 | +$wgAutoloadClasses['ShapadoJsFFS'] = "$dir/FFS.php"; |
| 167 | +$wgAutoloadClasses['SimpleFFS'] = "$dir/FFS.php"; |
| 168 | +$wgAutoloadClasses['YamlFFS'] = "$dir/FFS.php"; |
183 | 169 | /**@}*/ |
184 | 170 | |
185 | 171 | /** |
— | — | @@ -194,11 +180,11 @@ |
195 | 181 | * @name API modules |
196 | 182 | * @{ |
197 | 183 | */ |
| 184 | +$wgAutoloadClasses['ApiGroupReview'] = "$dir/api/ApiGroupReview.php"; |
198 | 185 | $wgAutoloadClasses['ApiQueryMessageCollection'] = "$dir/api/ApiQueryMessageCollection.php"; |
199 | | -$wgAutoloadClasses['ApiQueryMessageGroups'] = "$dir/api/ApiQueryMessageGroups.php"; |
200 | 186 | $wgAutoloadClasses['ApiQueryMessageGroupStats'] = "$dir/api/ApiQueryMessageGroupStats.php"; |
| 187 | +$wgAutoloadClasses['ApiQueryMessageGroups'] = "$dir/api/ApiQueryMessageGroups.php"; |
201 | 188 | $wgAutoloadClasses['ApiQueryMessageTranslations'] = "$dir/api/ApiQueryMessageTranslations.php"; |
202 | | -$wgAutoloadClasses['ApiTranslationReview'] = "$dir/api/ApiTranslationReview.php"; |
203 | | -$wgAutoloadClasses['ApiGroupReview'] = "$dir/api/ApiGroupReview.php"; |
204 | 189 | $wgAutoloadClasses['ApiTTMServer'] = "$dir/api/ApiTTMServer.php"; |
| 190 | +$wgAutoloadClasses['ApiTranslationReview'] = "$dir/api/ApiTranslationReview.php"; |
205 | 191 | /**@}*/ |