Index: trunk/extensions/Translate/_autoload.php |
— | — | @@ -4,48 +4,48 @@ |
5 | 5 | * |
6 | 6 | * @file |
7 | 7 | * @author Niklas Laxström |
8 | | - * @copyright Copyright © 2008-2011, Niklas Laxström |
| 8 | + * @copyright Copyright © 2008-2012, Niklas Laxström |
9 | 9 | * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License 2.0 or later |
10 | 10 | */ |
11 | 11 | |
12 | 12 | /** @cond file_level_code */ |
13 | | -$dir = dirname( __FILE__ ) . '/'; |
| 13 | +$dir = dirname( __FILE__ ); |
14 | 14 | /** @endcond */ |
15 | 15 | |
16 | 16 | /** |
17 | 17 | * @name Core extension classes |
18 | 18 | * @{ |
19 | 19 | */ |
20 | | -$wgAutoloadClasses['TranslateTasks'] = $dir . 'TranslateTasks.php'; |
21 | | -$wgAutoloadClasses['TaskOptions'] = $dir . 'TranslateTasks.php'; |
| 20 | +$wgAutoloadClasses['TranslateTasks'] = "$dir/TranslateTasks.php"; |
| 21 | +$wgAutoloadClasses['TaskOptions'] = "$dir/TranslateTasks.php"; |
22 | 22 | |
23 | | -$wgAutoloadClasses['TranslateUtils'] = $dir . 'TranslateUtils.php'; |
| 23 | +$wgAutoloadClasses['TranslateUtils'] = "$dir/TranslateUtils.php"; |
24 | 24 | |
25 | | -$wgAutoloadClasses['TranslateHooks'] = $dir . 'TranslateHooks.php'; |
| 25 | +$wgAutoloadClasses['TranslateHooks'] = "$dir/TranslateHooks.php"; |
26 | 26 | |
27 | | -$wgAutoloadClasses['MessageChecker'] = $dir . 'MessageChecks.php'; |
28 | | -$wgAutoloadClasses['MediaWikiMessageChecker'] = $dir . 'MediaWikiMessageChecker.php'; |
| 27 | +$wgAutoloadClasses['MessageChecker'] = "$dir/MessageChecks.php"; |
| 28 | +$wgAutoloadClasses['MediaWikiMessageChecker'] = "$dir/MediaWikiMessageChecker.php"; |
29 | 29 | |
30 | | -$wgAutoloadClasses['MessageGroup'] = $dir . 'Groups.php'; |
31 | | -$wgAutoloadClasses['MessageGroupBase'] = $dir . 'Groups.php'; |
32 | | -$wgAutoloadClasses['FileBasedMessageGroup'] = $dir . 'Groups.php'; |
| 30 | +$wgAutoloadClasses['MessageGroup'] = "$dir/Groups.php"; |
| 31 | +$wgAutoloadClasses['MessageGroupBase'] = "$dir/Groups.php"; |
| 32 | +$wgAutoloadClasses['FileBasedMessageGroup'] = "$dir/Groups.php"; |
33 | 33 | |
34 | | -$wgAutoloadClasses['MessageGroupOld'] = $dir . 'MessageGroups.php'; |
35 | | -$wgAutoloadClasses['MessageGroups'] = $dir . 'MessageGroups.php'; |
36 | | -$wgAutoloadClasses['WikiPageMessageGroup'] = $dir . 'MessageGroups.php'; |
37 | | -$wgAutoloadClasses['AliasMessageGroup'] = $dir . 'MessageGroups.php'; |
38 | | -$wgAutoloadClasses['RecentMessageGroup'] = $dir . 'MessageGroups.php'; |
39 | | -$wgAutoloadClasses['WorkflowStatesMessageGroup'] = $dir . 'MessageGroups.php'; |
| 34 | +$wgAutoloadClasses['MessageGroupOld'] = "$dir/MessageGroups.php"; |
| 35 | +$wgAutoloadClasses['MessageGroups'] = "$dir/MessageGroups.php"; |
| 36 | +$wgAutoloadClasses['WikiPageMessageGroup'] = "$dir/MessageGroups.php"; |
| 37 | +$wgAutoloadClasses['AliasMessageGroup'] = "$dir/MessageGroups.php"; |
| 38 | +$wgAutoloadClasses['RecentMessageGroup'] = "$dir/MessageGroups.php"; |
| 39 | +$wgAutoloadClasses['WorkflowStatesMessageGroup'] = "$dir/MessageGroups.php"; |
40 | 40 | |
41 | | -$wgAutoloadClasses['MessageCollection'] = $dir . 'MessageCollection.php'; |
42 | | -$wgAutoloadClasses['MessageDefinitions'] = $dir . 'MessageCollection.php'; |
| 41 | +$wgAutoloadClasses['MessageCollection'] = "$dir/MessageCollection.php"; |
| 42 | +$wgAutoloadClasses['MessageDefinitions'] = "$dir/MessageCollection.php"; |
43 | 43 | |
44 | | -$wgAutoloadClasses['TMessage'] = $dir . 'Message.php'; |
45 | | -$wgAutoloadClasses['ThinMessage'] = $dir . 'Message.php'; |
46 | | -$wgAutoloadClasses['FatMessage'] = $dir . 'Message.php'; |
| 44 | +$wgAutoloadClasses['TMessage'] = "$dir/Message.php"; |
| 45 | +$wgAutoloadClasses['ThinMessage'] = "$dir/Message.php"; |
| 46 | +$wgAutoloadClasses['FatMessage'] = "$dir/Message.php"; |
47 | 47 | |
48 | | -$wgAutoloadClasses['TranslateEditAddons'] = $dir . 'TranslateEditAddons.php'; |
49 | | -$wgAutoloadClasses['TranslateRcFilter'] = $dir . 'RcFilter.php'; |
| 48 | +$wgAutoloadClasses['TranslateEditAddons'] = "$dir/TranslateEditAddons.php"; |
| 49 | +$wgAutoloadClasses['TranslateRcFilter'] = "$dir/RcFilter.php"; |
50 | 50 | /**@}*/ |
51 | 51 | |
52 | 52 | /** |
— | — | @@ -53,8 +53,8 @@ |
54 | 54 | * These are not autoloaded by default in MediaWiki core until 1.19. |
55 | 55 | * @{ |
56 | 56 | */ |
57 | | -$wgAutoloadClasses['languages'] = $IP . '/maintenance/language/languages.inc'; |
58 | | -$wgAutoloadClasses['MessageWriter'] = $IP . '/maintenance/language/writeMessagesArray.inc'; |
| 57 | +$wgAutoloadClasses['languages'] = "$IP/maintenance/language/languages.inc"; |
| 58 | +$wgAutoloadClasses['MessageWriter'] = "$IP/maintenance/language/writeMessagesArray.inc"; |
59 | 59 | /**@}*/ |
60 | 60 | |
61 | 61 | /** |
— | — | @@ -62,67 +62,67 @@ |
63 | 63 | * There are few more special pages in page translation section. |
64 | 64 | * @{ |
65 | 65 | */ |
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'; |
70 | | -$wgAutoloadClasses['SpecialLanguageStats'] = $dir . 'specials/SpecialLanguageStats.php'; |
71 | | -$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 | | -$wgAutoloadClasses['SpecialMyLanguage'] = $dir . 'specials/SpecialMyLanguage.php'; |
76 | | -$wgAutoloadClasses['SpecialManageGroups'] = $dir . 'specials/SpecialManageGroups.php'; |
| 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"; |
| 70 | +$wgAutoloadClasses['SpecialLanguageStats'] = "$dir/specials/SpecialLanguageStats.php"; |
| 71 | +$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 | +$wgAutoloadClasses['SpecialMyLanguage'] = "$dir/specials/SpecialMyLanguage.php"; |
| 76 | +$wgAutoloadClasses['SpecialManageGroups'] = "$dir/specials/SpecialManageGroups.php"; |
77 | 77 | /**@}*/ |
78 | 78 | |
79 | 79 | /** |
80 | 80 | * @name Old-style file format support (FFS) |
81 | 81 | * @{ |
82 | 82 | */ |
83 | | -$wgAutoloadClasses['SimpleFormatReader'] = $dir . 'ffs/Simple.php'; |
84 | | -$wgAutoloadClasses['SimpleFormatWriter'] = $dir . 'ffs/Simple.php'; |
85 | | -$wgAutoloadClasses['WikiFormatReader'] = $dir . 'ffs/Wiki.php'; |
86 | | -$wgAutoloadClasses['WikiFormatWriter'] = $dir . 'ffs/Wiki.php'; |
87 | | -$wgAutoloadClasses['WikiExtensionFormatReader'] = $dir . 'ffs/WikiExtension.php'; |
88 | | -$wgAutoloadClasses['WikiExtensionFormatWriter'] = $dir . 'ffs/WikiExtension.php'; |
89 | | -$wgAutoloadClasses['XliffFormatWriter'] = $dir . 'ffs/Xliff.php'; |
| 83 | +$wgAutoloadClasses['SimpleFormatReader'] = "$dir/ffs/Simple.php"; |
| 84 | +$wgAutoloadClasses['SimpleFormatWriter'] = "$dir/ffs/Simple.php"; |
| 85 | +$wgAutoloadClasses['WikiFormatReader'] = "$dir/ffs/Wiki.php"; |
| 86 | +$wgAutoloadClasses['WikiFormatWriter'] = "$dir/ffs/Wiki.php"; |
| 87 | +$wgAutoloadClasses['WikiExtensionFormatReader'] = "$dir/ffs/WikiExtension.php"; |
| 88 | +$wgAutoloadClasses['WikiExtensionFormatWriter'] = "$dir/ffs/WikiExtension.php"; |
| 89 | +$wgAutoloadClasses['XliffFormatWriter'] = "$dir/ffs/Xliff.php"; |
90 | 90 | /**@}*/ |
91 | 91 | |
92 | 92 | /** |
93 | 93 | * @name Various utilities |
94 | 94 | * @{ |
95 | 95 | */ |
96 | | -$wgAutoloadClasses['PHPVariableLoader'] = $dir . 'utils/ResourceLoader.php'; |
97 | | -$wgAutoloadClasses['StringMangler'] = $dir . 'utils/StringMatcher.php'; |
98 | | -$wgAutoloadClasses['StringMatcher'] = $dir . 'utils/StringMatcher.php'; |
99 | | -$wgAutoloadClasses['FCFontFinder'] = $dir . 'utils/Font.php'; |
100 | | -$wgAutoloadClasses['FuzzyBot'] = $dir . 'utils/FuzzyBot.php'; |
| 96 | +$wgAutoloadClasses['PHPVariableLoader'] = "$dir/utils/ResourceLoader.php"; |
| 97 | +$wgAutoloadClasses['StringMangler'] = "$dir/utils/StringMatcher.php"; |
| 98 | +$wgAutoloadClasses['StringMatcher'] = "$dir/utils/StringMatcher.php"; |
| 99 | +$wgAutoloadClasses['FCFontFinder'] = "$dir/utils/Font.php"; |
| 100 | +$wgAutoloadClasses['FuzzyBot'] = "$dir/utils/FuzzyBot.php"; |
101 | 101 | |
102 | | -$wgAutoloadClasses['TranslatePreferences'] = $dir . 'utils/UserToggles.php'; |
103 | | -$wgAutoloadClasses['TranslateToolbox'] = $dir . 'utils/ToolBox.php'; |
| 102 | +$wgAutoloadClasses['TranslatePreferences'] = "$dir/utils/UserToggles.php"; |
| 103 | +$wgAutoloadClasses['TranslateToolbox'] = "$dir/utils/ToolBox.php"; |
104 | 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 | | -$wgAutoloadClasses['HTMLJsSelectToInputField'] = $dir . 'utils/HTMLJsSelectToInputField.php'; |
111 | | -$wgAutoloadClasses['MessageGroupCache'] = $dir . 'utils/MessageGroupCache.php'; |
112 | | -$wgAutoloadClasses['MessageGroupStats'] = $dir . 'utils/MessageGroupStats.php'; |
113 | | -$wgAutoloadClasses['MessageWebImporter'] = $dir . 'utils/MessageWebImporter.php'; |
114 | | -$wgAutoloadClasses['TranslationEditPage'] = $dir . 'utils/TranslationEditPage.php'; |
115 | | -$wgAutoloadClasses['TranslationHelpers'] = $dir . 'utils/TranslationHelpers.php'; |
116 | | -$wgAutoloadClasses['TranslationStats'] = $dir . 'utils/TranslationStats.php'; |
| 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 | +$wgAutoloadClasses['HTMLJsSelectToInputField'] = "$dir/utils/HTMLJsSelectToInputField.php"; |
| 111 | +$wgAutoloadClasses['MessageGroupCache'] = "$dir/utils/MessageGroupCache.php"; |
| 112 | +$wgAutoloadClasses['MessageGroupStats'] = "$dir/utils/MessageGroupStats.php"; |
| 113 | +$wgAutoloadClasses['MessageWebImporter'] = "$dir/utils/MessageWebImporter.php"; |
| 114 | +$wgAutoloadClasses['TranslationEditPage'] = "$dir/utils/TranslationEditPage.php"; |
| 115 | +$wgAutoloadClasses['TranslationHelpers'] = "$dir/utils/TranslationHelpers.php"; |
| 116 | +$wgAutoloadClasses['TranslationStats'] = "$dir/utils/TranslationStats.php"; |
117 | 117 | |
118 | | -$wgAutoloadClasses['TranslationMemoryUpdater'] = $dir . 'utils/TranslationMemoryUpdater.php'; |
| 118 | +$wgAutoloadClasses['TranslationMemoryUpdater'] = "$dir/utils/TranslationMemoryUpdater.php"; |
119 | 119 | |
120 | | -$wgAutoloadClasses['TranslateYaml'] = $dir . 'utils/TranslateYaml.php'; |
| 120 | +$wgAutoloadClasses['TranslateYaml'] = "$dir/utils/TranslateYaml.php"; |
121 | 121 | |
122 | | -$wgAutoloadClasses['RevTag'] = $dir . 'utils/RevTag.php'; |
| 122 | +$wgAutoloadClasses['RevTag'] = "$dir/utils/RevTag.php"; |
123 | 123 | |
124 | | -$wgAutoloadClasses['MessageHandle'] = $dir . 'utils/MessageHandle.php'; |
125 | | -$wgAutoloadClasses['TTMServer'] = $dir . 'utils/TTMServer.php'; |
126 | | -$wgAutoloadClasses['TranslateMetadata'] = $dir . 'utils/TranslateMetadata.php'; |
| 124 | +$wgAutoloadClasses['MessageHandle'] = "$dir/utils/MessageHandle.php"; |
| 125 | +$wgAutoloadClasses['TTMServer'] = "$dir/utils/TTMServer.php"; |
| 126 | +$wgAutoloadClasses['TranslateMetadata'] = "$dir/utils/TranslateMetadata.php"; |
127 | 127 | |
128 | 128 | /**@}*/ |
129 | 129 | |
— | — | @@ -130,19 +130,19 @@ |
131 | 131 | * @name Classes for predefined old-style message groups |
132 | 132 | * @{ |
133 | 133 | */ |
134 | | -$wgAutoloadClasses['PremadeMediawikiExtensionGroups'] = $dir . 'ffs/MediaWikiExtensions.php'; |
135 | | -$wgAutoloadClasses['PremadeWikiaExtensionGroups'] = $dir . 'ffs//WikiaExtensions.php'; |
136 | | -$wgAutoloadClasses['PremadeToolserverTextdomains'] = $dir . 'ffs/ToolserverTextdomains.php'; |
| 134 | +$wgAutoloadClasses['PremadeMediawikiExtensionGroups'] = "$dir/ffs/MediaWikiExtensions.php"; |
| 135 | +$wgAutoloadClasses['PremadeWikiaExtensionGroups'] = "$dir/ffs//WikiaExtensions.php"; |
| 136 | +$wgAutoloadClasses['PremadeToolserverTextdomains'] = "$dir/ffs/ToolserverTextdomains.php"; |
137 | 137 | /**@}*/ |
138 | 138 | |
139 | 139 | /** |
140 | 140 | * @name Non-message translation item support |
141 | 141 | * @{ |
142 | 142 | */ |
143 | | -$wgAutoloadClasses['ComplexMessages'] = $dir . 'ffs/MediaWikiComplexMessages.php'; |
144 | | -$wgAutoloadClasses['SpecialPageAliasesCM'] = $dir . 'ffs/MediaWikiComplexMessages.php'; |
145 | | -$wgAutoloadClasses['MagicWordsCM'] = $dir . 'ffs/MediaWikiComplexMessages.php'; |
146 | | -$wgAutoloadClasses['NamespaceCM'] = $dir . 'ffs/MediaWikiComplexMessages.php'; |
| 143 | +$wgAutoloadClasses['ComplexMessages'] = "$dir/ffs/MediaWikiComplexMessages.php"; |
| 144 | +$wgAutoloadClasses['SpecialPageAliasesCM'] = "$dir/ffs/MediaWikiComplexMessages.php"; |
| 145 | +$wgAutoloadClasses['MagicWordsCM'] = "$dir/ffs/MediaWikiComplexMessages.php"; |
| 146 | +$wgAutoloadClasses['NamespaceCM'] = "$dir/ffs/MediaWikiComplexMessages.php"; |
147 | 147 | /**@}*/ |
148 | 148 | |
149 | 149 | /** |
— | — | @@ -150,55 +150,55 @@ |
151 | 151 | * @ingroup PageTranslation |
152 | 152 | * @{ |
153 | 153 | */ |
154 | | -$wgAutoloadClasses['PageTranslationHooks'] = $dir . 'tag/PageTranslationHooks.php'; |
155 | | -$wgAutoloadClasses['TranslatablePage'] = $dir . 'tag/TranslatablePage.php'; |
156 | | -$wgAutoloadClasses['TPException'] = $dir . 'tag/TPException.php'; |
157 | | -$wgAutoloadClasses['TPParse'] = $dir . 'tag/TPParse.php'; |
158 | | -$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'; |
| 154 | +$wgAutoloadClasses['PageTranslationHooks'] = "$dir/tag/PageTranslationHooks.php"; |
| 155 | +$wgAutoloadClasses['TranslatablePage'] = "$dir/tag/TranslatablePage.php"; |
| 156 | +$wgAutoloadClasses['TPException'] = "$dir/tag/TPException.php"; |
| 157 | +$wgAutoloadClasses['TPParse'] = "$dir/tag/TPParse.php"; |
| 158 | +$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"; |
165 | 165 | /**@}*/ |
166 | 166 | |
167 | 167 | /** |
168 | 168 | * @name Classes for new-style file format support (FFS) |
169 | 169 | * @{ |
170 | 170 | */ |
171 | | -$wgAutoloadClasses['FFS'] = $dir . 'FFS.php'; |
172 | | -$wgAutoloadClasses['SimpleFFS'] = $dir . 'FFS.php'; |
173 | | -$wgAutoloadClasses['JavaFFS'] = $dir . 'FFS.php'; |
174 | | -$wgAutoloadClasses['YamlFFS'] = $dir . 'FFS.php'; |
175 | | -$wgAutoloadClasses['RubyYamlFFS'] = $dir . 'FFS.php'; |
176 | | -$wgAutoloadClasses['JavaScriptFFS'] = $dir . 'FFS.php'; |
177 | | -$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 | | -$wgAutoloadClasses['PythonSingleFFS'] = $dir . 'FFS.php'; |
| 171 | +$wgAutoloadClasses['FFS'] = "$dir/FFS.php"; |
| 172 | +$wgAutoloadClasses['SimpleFFS'] = "$dir/FFS.php"; |
| 173 | +$wgAutoloadClasses['JavaFFS'] = "$dir/FFS.php"; |
| 174 | +$wgAutoloadClasses['YamlFFS'] = "$dir/FFS.php"; |
| 175 | +$wgAutoloadClasses['RubyYamlFFS'] = "$dir/FFS.php"; |
| 176 | +$wgAutoloadClasses['JavaScriptFFS'] = "$dir/FFS.php"; |
| 177 | +$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 | +$wgAutoloadClasses['PythonSingleFFS'] = "$dir/FFS.php"; |
183 | 183 | /**@}*/ |
184 | 184 | |
185 | 185 | /** |
186 | 186 | * @name Classes for different kind of html building |
187 | 187 | * @{ |
188 | 188 | */ |
189 | | -$wgAutoloadClasses['HtmlTag'] = $dir . 'utils/Html.php'; |
190 | | -$wgAutoloadClasses['RawHtml'] = $dir . 'utils/Html.php'; |
191 | | -$wgAutoloadClasses['TagContainer'] = $dir . 'utils/Html.php'; |
| 189 | +$wgAutoloadClasses['HtmlTag'] = "$dir/utils/Html.php"; |
| 190 | +$wgAutoloadClasses['RawHtml'] = "$dir/utils/Html.php"; |
| 191 | +$wgAutoloadClasses['TagContainer'] = "$dir/utils/Html.php"; |
192 | 192 | /**@}*/ |
193 | 193 | |
194 | 194 | /** |
195 | 195 | * @name API modules |
196 | 196 | * @{ |
197 | 197 | */ |
198 | | -$wgAutoloadClasses['ApiQueryMessageCollection'] = $dir . 'api/ApiQueryMessageCollection.php'; |
199 | | -$wgAutoloadClasses['ApiQueryMessageGroups'] = $dir . 'api/ApiQueryMessageGroups.php'; |
200 | | -$wgAutoloadClasses['ApiQueryMessageGroupStats'] = $dir . 'api/ApiQueryMessageGroupStats.php'; |
201 | | -$wgAutoloadClasses['ApiQueryMessageTranslations'] = $dir . 'api/ApiQueryMessageTranslations.php'; |
202 | | -$wgAutoloadClasses['ApiTranslationReview'] = $dir . 'api/ApiTranslationReview.php'; |
203 | | -$wgAutoloadClasses['ApiGroupReview'] = $dir . 'api/ApiGroupReview.php'; |
204 | | -$wgAutoloadClasses['ApiTTMServer'] = $dir . 'api/ApiTTMServer.php'; |
| 198 | +$wgAutoloadClasses['ApiQueryMessageCollection'] = "$dir/api/ApiQueryMessageCollection.php"; |
| 199 | +$wgAutoloadClasses['ApiQueryMessageGroups'] = "$dir/api/ApiQueryMessageGroups.php"; |
| 200 | +$wgAutoloadClasses['ApiQueryMessageGroupStats'] = "$dir/api/ApiQueryMessageGroupStats.php"; |
| 201 | +$wgAutoloadClasses['ApiQueryMessageTranslations'] = "$dir/api/ApiQueryMessageTranslations.php"; |
| 202 | +$wgAutoloadClasses['ApiTranslationReview'] = "$dir/api/ApiTranslationReview.php"; |
| 203 | +$wgAutoloadClasses['ApiGroupReview'] = "$dir/api/ApiGroupReview.php"; |
| 204 | +$wgAutoloadClasses['ApiTTMServer'] = "$dir/api/ApiTTMServer.php"; |
205 | 205 | /**@}*/ |