r112399 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r112398‎ | r112399 | r112400 >
Date:16:35, 25 February 2012
Author:nikerabbit
Status:deferred
Tags:
Comment:
Whitespace consistency
Modified paths:
  • /trunk/extensions/SemanticMediaWiki/includes/SMW_Setup.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticMediaWiki/includes/SMW_Setup.php
@@ -185,11 +185,11 @@
186186 function smwfRegisterClasses() {
187187 global $smwgIP, $wgAutoloadClasses, $wgJobClasses;
188188
189 - $wgAutoloadClasses['SMWHooks'] = $smwgIP . 'SemanticMediaWiki.hooks.php';
 189+ $wgAutoloadClasses['SMWHooks'] = $smwgIP . 'SemanticMediaWiki.hooks.php';
190190
191191 $incDir = $smwgIP . 'includes/';
192192 $wgAutoloadClasses['SMWCompatibilityHelpers'] = $incDir . 'SMW_CompatibilityHelpers.php';
193 - $wgAutoloadClasses['SMWDataValueFactory'] = $incDir . 'SMW_DataValueFactory.php';
 193+ $wgAutoloadClasses['SMWDataValueFactory'] = $incDir . 'SMW_DataValueFactory.php';
194194 $wgAutoloadClasses['SMWDISerializer'] = $incDir . 'SMW_DISerializer.php';
195195 $wgAutoloadClasses['SMWFactbox'] = $incDir . 'SMW_Factbox.php';
196196 $wgAutoloadClasses['SMWInfolink'] = $incDir . 'SMW_Infolink.php';
@@ -209,7 +209,7 @@
210210 // Printers
211211 $qpDir = $smwgIP . 'includes/queryprinters/';
212212 $wgAutoloadClasses['SMWResultPrinter'] = $qpDir . 'SMW_QueryPrinter.php';
213 - $wgAutoloadClasses['SMWAggregatablePrinter'] = $qpDir . 'SMW_QP_Aggregatable.php';
 213+ $wgAutoloadClasses['SMWAggregatablePrinter'] = $qpDir . 'SMW_QP_Aggregatable.php';
214214 $wgAutoloadClasses['SMWTableResultPrinter'] = $qpDir . 'SMW_QP_Table.php';
215215 $wgAutoloadClasses['SMWListResultPrinter'] = $qpDir . 'SMW_QP_List.php';
216216 $wgAutoloadClasses['SMWCategoryResultPrinter'] = $qpDir . 'SMW_QP_Category.php';
@@ -222,41 +222,41 @@
223223
224224 // Data items
225225 $diDir = $smwgIP . 'includes/dataitems/';
226 - $wgAutoloadClasses['SMWDataItem'] = $diDir . 'SMW_DataItem.php';
227 - $wgAutoloadClasses['SMWDataItemException'] = $diDir . 'SMW_DataItem.php';
228 - $wgAutoloadClasses['SMWDIProperty'] = $diDir . 'SMW_DI_Property.php';
229 - $wgAutoloadClasses['SMWDIBoolean'] = $diDir . 'SMW_DI_Bool.php';
230 - $wgAutoloadClasses['SMWDINumber'] = $diDir . 'SMW_DI_Number.php';
231 - $wgAutoloadClasses['SMWDIBlob'] = $diDir . 'SMW_DI_Blob.php';
232 - $wgAutoloadClasses['SMWDIString'] = $diDir . 'SMW_DI_String.php';
233 - $wgAutoloadClasses['SMWStringLengthException'] = $diDir . 'SMW_DI_String.php';
234 - $wgAutoloadClasses['SMWDIUri'] = $diDir . 'SMW_DI_URI.php';
235 - $wgAutoloadClasses['SMWDIWikiPage'] = $diDir . 'SMW_DI_WikiPage.php';
236 - $wgAutoloadClasses['SMWDITime'] = $diDir . 'SMW_DI_Time.php';
237 - $wgAutoloadClasses['SMWDIConcept'] = $diDir . 'SMW_DI_Concept.php';
238 - $wgAutoloadClasses['SMWDIError'] = $diDir . 'SMW_DI_Error.php';
239 - $wgAutoloadClasses['SMWDIGeoCoord'] = $diDir . 'SMW_DI_GeoCoord.php';
240 - $wgAutoloadClasses['SMWContainerSemanticData'] = $diDir . 'SMW_DI_Container.php';
241 - $wgAutoloadClasses['SMWDIContainer'] = $diDir . 'SMW_DI_Container.php';
 226+ $wgAutoloadClasses['SMWDataItem'] = $diDir . 'SMW_DataItem.php';
 227+ $wgAutoloadClasses['SMWDataItemException'] = $diDir . 'SMW_DataItem.php';
 228+ $wgAutoloadClasses['SMWDIProperty'] = $diDir . 'SMW_DI_Property.php';
 229+ $wgAutoloadClasses['SMWDIBoolean'] = $diDir . 'SMW_DI_Bool.php';
 230+ $wgAutoloadClasses['SMWDINumber'] = $diDir . 'SMW_DI_Number.php';
 231+ $wgAutoloadClasses['SMWDIBlob'] = $diDir . 'SMW_DI_Blob.php';
 232+ $wgAutoloadClasses['SMWDIString'] = $diDir . 'SMW_DI_String.php';
 233+ $wgAutoloadClasses['SMWStringLengthException'] = $diDir . 'SMW_DI_String.php';
 234+ $wgAutoloadClasses['SMWDIUri'] = $diDir . 'SMW_DI_URI.php';
 235+ $wgAutoloadClasses['SMWDIWikiPage'] = $diDir . 'SMW_DI_WikiPage.php';
 236+ $wgAutoloadClasses['SMWDITime'] = $diDir . 'SMW_DI_Time.php';
 237+ $wgAutoloadClasses['SMWDIConcept'] = $diDir . 'SMW_DI_Concept.php';
 238+ $wgAutoloadClasses['SMWDIError'] = $diDir . 'SMW_DI_Error.php';
 239+ $wgAutoloadClasses['SMWDIGeoCoord'] = $diDir . 'SMW_DI_GeoCoord.php';
 240+ $wgAutoloadClasses['SMWContainerSemanticData'] = $diDir . 'SMW_DI_Container.php';
 241+ $wgAutoloadClasses['SMWDIContainer'] = $diDir . 'SMW_DI_Container.php';
242242
243243 // Datavalues
244244 $dvDir = $smwgIP . 'includes/datavalues/';
245 - $wgAutoloadClasses['SMWDataValue'] = $dvDir . 'SMW_DataValue.php';
246 - $wgAutoloadClasses['SMWRecordValue'] = $dvDir . 'SMW_DV_Record.php';
247 - $wgAutoloadClasses['SMWErrorValue'] = $dvDir . 'SMW_DV_Error.php';
248 - $wgAutoloadClasses['SMWStringValue'] = $dvDir . 'SMW_DV_String.php';
249 - $wgAutoloadClasses['SMWWikiPageValue'] = $dvDir . 'SMW_DV_WikiPage.php';
250 - $wgAutoloadClasses['SMWPropertyValue'] = $dvDir . 'SMW_DV_Property.php';
251 - $wgAutoloadClasses['SMWURIValue'] = $dvDir . 'SMW_DV_URI.php';
252 - $wgAutoloadClasses['SMWTypesValue'] = $dvDir . 'SMW_DV_Types.php';
253 - $wgAutoloadClasses['SMWPropertyListValue'] = $dvDir . 'SMW_DV_PropertyList.php';
254 - $wgAutoloadClasses['SMWNumberValue'] = $dvDir . 'SMW_DV_Number.php';
255 - $wgAutoloadClasses['SMWTemperatureValue'] = $dvDir . 'SMW_DV_Temperature.php';
256 - $wgAutoloadClasses['SMWQuantityValue'] = $dvDir . 'SMW_DV_Quantity.php';
257 - $wgAutoloadClasses['SMWTimeValue'] = $dvDir . 'SMW_DV_Time.php';
258 - $wgAutoloadClasses['SMWBoolValue'] = $dvDir . 'SMW_DV_Bool.php';
259 - $wgAutoloadClasses['SMWConceptValue'] = $dvDir . 'SMW_DV_Concept.php';
260 - $wgAutoloadClasses['SMWImportValue'] = $dvDir . 'SMW_DV_Import.php';
 245+ $wgAutoloadClasses['SMWDataValue'] = $dvDir . 'SMW_DataValue.php';
 246+ $wgAutoloadClasses['SMWRecordValue'] = $dvDir . 'SMW_DV_Record.php';
 247+ $wgAutoloadClasses['SMWErrorValue'] = $dvDir . 'SMW_DV_Error.php';
 248+ $wgAutoloadClasses['SMWStringValue'] = $dvDir . 'SMW_DV_String.php';
 249+ $wgAutoloadClasses['SMWWikiPageValue'] = $dvDir . 'SMW_DV_WikiPage.php';
 250+ $wgAutoloadClasses['SMWPropertyValue'] = $dvDir . 'SMW_DV_Property.php';
 251+ $wgAutoloadClasses['SMWURIValue'] = $dvDir . 'SMW_DV_URI.php';
 252+ $wgAutoloadClasses['SMWTypesValue'] = $dvDir . 'SMW_DV_Types.php';
 253+ $wgAutoloadClasses['SMWPropertyListValue'] = $dvDir . 'SMW_DV_PropertyList.php';
 254+ $wgAutoloadClasses['SMWNumberValue'] = $dvDir . 'SMW_DV_Number.php';
 255+ $wgAutoloadClasses['SMWTemperatureValue'] = $dvDir . 'SMW_DV_Temperature.php';
 256+ $wgAutoloadClasses['SMWQuantityValue'] = $dvDir . 'SMW_DV_Quantity.php';
 257+ $wgAutoloadClasses['SMWTimeValue'] = $dvDir . 'SMW_DV_Time.php';
 258+ $wgAutoloadClasses['SMWBoolValue'] = $dvDir . 'SMW_DV_Bool.php';
 259+ $wgAutoloadClasses['SMWConceptValue'] = $dvDir . 'SMW_DV_Concept.php';
 260+ $wgAutoloadClasses['SMWImportValue'] = $dvDir . 'SMW_DV_Import.php';
261261
262262 // Export
263263 $expDir = $smwgIP . 'includes/export/';
@@ -266,14 +266,14 @@
267267 $wgAutoloadClasses['SMWExpLiteral'] = $expDir . 'SMW_Exp_Element.php';
268268 $wgAutoloadClasses['SMWExpResource'] = $expDir . 'SMW_Exp_Element.php';
269269 $wgAutoloadClasses['SMWExpNsResource'] = $expDir . 'SMW_Exp_Element.php';
270 - $wgAutoloadClasses['SMWExportController'] = $expDir . 'SMW_ExportController.php';
271 - $wgAutoloadClasses['SMWSerializer'] = $expDir . 'SMW_Serializer.php';
 270+ $wgAutoloadClasses['SMWExportController'] = $expDir . 'SMW_ExportController.php';
 271+ $wgAutoloadClasses['SMWSerializer'] = $expDir . 'SMW_Serializer.php';
272272 $wgAutoloadClasses['SMWRDFXMLSerializer'] = $expDir . 'SMW_Serializer_RDFXML.php';
273273 $wgAutoloadClasses['SMWTurtleSerializer'] = $expDir . 'SMW_Serializer_Turtle.php';
274274
275275 // Parameter classes
276276 $parDir = $smwgIP . 'includes/params/';
277 - $wgAutoloadClasses['SMWParamFormat'] = $parDir . 'SMW_ParamFormat.php';
 277+ $wgAutoloadClasses['SMWParamFormat'] = $parDir . 'SMW_ParamFormat.php';
278278
279279 // Parser hooks
280280 $phDir = $smwgIP . 'includes/parserhooks/';
@@ -293,7 +293,7 @@
294294
295295 $wgAutoloadClasses['SMWSparqlDatabase'] = $smwgIP . 'includes/sparql/SMW_SparqlDatabase.php';
296296 $wgAutoloadClasses['SMWSparqlDatabase4Store'] = $smwgIP . 'includes/sparql/SMW_SparqlDatabase4Store.php';
297 - $wgAutoloadClasses['SMWSparqlDatabaseVirtuoso'] = $smwgIP . 'includes/sparql/SMW_SparqlDatabaseVirtuoso.php';
 297+ $wgAutoloadClasses['SMWSparqlDatabaseVirtuoso'] = $smwgIP . 'includes/sparql/SMW_SparqlDatabaseVirtuoso.php';
298298 $wgAutoloadClasses['SMWSparqlDatabaseError'] = $smwgIP . 'includes/sparql/SMW_SparqlDatabase.php';
299299 $wgAutoloadClasses['SMWSparqlResultWrapper'] = $smwgIP . 'includes/sparql/SMW_SparqlResultWrapper.php';
300300 $wgAutoloadClasses['SMWSparqlResultParser'] = $smwgIP . 'includes/sparql/SMW_SparqlResultParser.php';