Index: trunk/extensions/SemanticMediaWiki/includes/SMW_SetupLight.php |
— | — | @@ -71,34 +71,35 @@ |
72 | 72 | // $wgAutoloadClasses['SMWConceptPage'] = $smwgIP . 'includes/articlepages/SMW_ConceptPage.php'; |
73 | 73 | |
74 | 74 | // Datavalues |
75 | | - $wgAutoloadClasses['SMWDataValueFactory'] = $smwgIP . 'includes/SMW_DataValueFactory.php'; |
76 | | - $wgAutoloadClasses['SMWDataValue'] = $smwgIP . 'includes/SMW_DataValue.php'; |
77 | | - $wgAutoloadClasses['SMWContainerValue'] = $smwgIP . 'includes/SMW_DV_Container.php'; |
78 | | -// $wgAutoloadClasses['SMWRecordValue'] = $smwgIP . 'includes/SMW_DV_Record.php'; |
79 | | - $wgAutoloadClasses['SMWErrorvalue'] = $smwgIP . 'includes/SMW_DV_Error.php'; |
80 | | - $wgAutoloadClasses['SMWStringValue'] = $smwgIP . 'includes/SMW_DV_String.php'; |
81 | | - $wgAutoloadClasses['SMWWikiPageValue'] = $smwgIP . 'includes/SMW_DV_WikiPage.php'; |
82 | | - $wgAutoloadClasses['SMWSimpleWikiPageValue'] = $smwgIP . 'includes/SMW_DV_SimpleWikiPage.php'; |
83 | | - $wgAutoloadClasses['SMWPropertyValue'] = $smwgIP . 'includes/SMW_DV_Property.php'; |
84 | | - $wgAutoloadClasses['SMWURIValue'] = $smwgIP . 'includes/SMW_DV_URI.php'; |
85 | | - $wgAutoloadClasses['SMWTypesValue'] = $smwgIP . 'includes/SMW_DV_Types.php'; |
86 | | -// $wgAutoloadClasses['SMWTypeListValue'] = $smwgIP . 'includes/SMW_DV_TypeList.php'; |
87 | | - $wgAutoloadClasses['SMWErrorValue'] = $smwgIP . 'includes/SMW_DV_Error.php'; |
88 | | - $wgAutoloadClasses['SMWNumberValue'] = $smwgIP . 'includes/SMW_DV_Number.php'; |
89 | | -// $wgAutoloadClasses['SMWTemperatureValue'] = $smwgIP . 'includes/SMW_DV_Temperature.php'; |
90 | | -// $wgAutoloadClasses['SMWLinearValue'] = $smwgIP . 'includes/SMW_DV_Linear.php'; |
91 | | - $wgAutoloadClasses['SMWTimeValue'] = $smwgIP . 'includes/SMW_DV_Time.php'; |
92 | | -// $wgAutoloadClasses['SMWBoolValue'] = $smwgIP . 'includes/SMW_DV_Bool.php'; |
93 | | -// $wgAutoloadClasses['SMWConceptValue'] = $smwgIP . 'includes/SMW_DV_Concept.php'; |
94 | | -// $wgAutoloadClasses['SMWImportValue'] = $smwgIP . 'includes/SMW_DV_Import.php'; |
| 75 | + $dvDir = $smwgIP . 'includes/datavalues/'; |
| 76 | + $wgAutoloadClasses['SMWContainerValue'] = $dvDir . 'SMW_DV_Container.php'; |
| 77 | +// $wgAutoloadClasses['SMWRecordValue'] = $dvDir . 'SMW_DV_Record.php'; |
| 78 | + $wgAutoloadClasses['SMWErrorvalue'] = $dvDir . 'SMW_DV_Error.php'; |
| 79 | + $wgAutoloadClasses['SMWStringValue'] = $dvDir . 'SMW_DV_String.php'; |
| 80 | + $wgAutoloadClasses['SMWWikiPageValue'] = $dvDir . 'SMW_DV_WikiPage.php'; |
| 81 | + $wgAutoloadClasses['SMWSimpleWikiPageValue'] = $dvDir . 'SMW_DV_SimpleWikiPage.php'; |
| 82 | + $wgAutoloadClasses['SMWPropertyValue'] = $dvDir . 'SMW_DV_Property.php'; |
| 83 | + $wgAutoloadClasses['SMWURIValue'] = $dvDir . 'SMW_DV_URI.php'; |
| 84 | + $wgAutoloadClasses['SMWTypesValue'] = $dvDir . 'SMW_DV_Types.php'; |
| 85 | +// $wgAutoloadClasses['SMWTypeListValue'] = $dvDir . 'SMW_DV_TypeList.php'; |
| 86 | + $wgAutoloadClasses['SMWErrorValue'] = $dvDir . 'SMW_DV_Error.php'; |
| 87 | + $wgAutoloadClasses['SMWNumberValue'] = $dvDir . 'SMW_DV_Number.php'; |
| 88 | +// $wgAutoloadClasses['SMWTemperatureValue'] = $dvDir . 'SMW_DV_Temperature.php'; |
| 89 | +// $wgAutoloadClasses['SMWLinearValue'] = $dvDir . 'SMW_DV_Linear.php'; |
| 90 | + $wgAutoloadClasses['SMWTimeValue'] = $dvDir . 'SMW_DV_Time.php'; |
| 91 | +// $wgAutoloadClasses['SMWBoolValue'] = $dvDir . 'SMW_DV_Bool.php'; |
| 92 | +// $wgAutoloadClasses['SMWConceptValue'] = $dvDir . 'SMW_DV_Concept.php'; |
| 93 | +// $wgAutoloadClasses['SMWImportValue'] = $dvDir . 'SMW_DV_Import.php'; |
95 | 94 | |
96 | 95 | // Some files refer to classes of the full SMW distribution. Give them a fallback to load: |
97 | | - $wgAutoloadClasses['SMWRecordValue'] = $smwgIP . 'includes/SMW_DV_Error.php'; |
98 | | - $wgAutoloadClasses['SMWBoolValue'] = $smwgIP . 'includes/SMW_DV_Error.php'; |
99 | | - $wgAutoloadClasses['SMWConceptValue'] = $smwgIP . 'includes/SMW_DV_Error.php'; |
100 | | - $wgAutoloadClasses['SMWImportValue'] = $smwgIP . 'includes/SMW_DV_Error.php'; |
101 | | - $wgAutoloadClasses['SMWTypeListValue'] = $smwgIP . 'includes/SMW_DV_Error.php'; |
102 | | - $wgAutoloadClasses['SMWTemperatureValue'] = $smwgIP . 'includes/SMW_DV_Error.php'; |
| 96 | + $wgAutoloadClasses['SMWRecordValue'] = $dvDir . 'SMW_DV_Error.php'; |
| 97 | + $wgAutoloadClasses['SMWBoolValue'] = $dvDir . 'SMW_DV_Error.php'; |
| 98 | + $wgAutoloadClasses['SMWConceptValue'] = $dvDir . 'SMW_DV_Error.php'; |
| 99 | + $wgAutoloadClasses['SMWImportValue'] = $dvDir . 'SMW_DV_Error.php'; |
| 100 | + $wgAutoloadClasses['SMWTypeListValue'] = $dvDir . 'SMW_DV_Error.php'; |
| 101 | + $wgAutoloadClasses['SMWTemperatureValue'] = $dvDir . 'SMW_DV_Error.php'; |
| 102 | + |
| 103 | + |
103 | 104 | // Export |
104 | 105 | // $wgAutoloadClasses['SMWExporter'] = $smwgIP . 'includes/export/SMW_Exporter.php'; |
105 | 106 | // $wgAutoloadClasses['SMWExpData'] = $smwgIP . 'includes/export/SMW_Exp_Data.php'; |
Index: trunk/extensions/SemanticMediaWiki/includes/SMW_Setup.php |
— | — | @@ -68,14 +68,15 @@ |
69 | 69 | $wgAutoloadClasses['SMWParseData'] = $smwgIP . 'includes/SMW_ParseData.php'; |
70 | 70 | $wgAutoloadClasses['SMWOutputs'] = $smwgIP . 'includes/SMW_Outputs.php'; |
71 | 71 | $wgAutoloadClasses['SMWSemanticData'] = $smwgIP . 'includes/SMW_SemanticData.php'; |
72 | | - $wgAutoloadClasses['SMWOrderedListPage'] = $smwgIP . 'includes/articlepages/SMW_OrderedListPage.php'; |
73 | | - $wgAutoloadClasses['SMWTypePage'] = $smwgIP . 'includes/articlepages/SMW_TypePage.php'; |
74 | | - $wgAutoloadClasses['SMWPropertyPage'] = $smwgIP . 'includes/articlepages/SMW_PropertyPage.php'; |
75 | | - $wgAutoloadClasses['SMWConceptPage'] = $smwgIP . 'includes/articlepages/SMW_ConceptPage.php'; |
76 | 72 | $wgAutoloadClasses['SMWResultPrinter'] = $smwgIP . 'includes/SMW_QueryPrinter.php'; |
77 | 73 | $wgAutoloadClasses['SMWDataValueFactory'] = $smwgIP . 'includes/SMW_DataValueFactory.php'; |
78 | 74 | $wgAutoloadClasses['SMWDataValue'] = $smwgIP . 'includes/SMW_DataValue.php'; |
79 | 75 | |
| 76 | + $wgAutoloadClasses['SMWOrderedListPage'] = $smwgIP . 'includes/articlepages/SMW_OrderedListPage.php'; |
| 77 | + $wgAutoloadClasses['SMWTypePage'] = $smwgIP . 'includes/articlepages/SMW_TypePage.php'; |
| 78 | + $wgAutoloadClasses['SMWPropertyPage'] = $smwgIP . 'includes/articlepages/SMW_PropertyPage.php'; |
| 79 | + $wgAutoloadClasses['SMWConceptPage'] = $smwgIP . 'includes/articlepages/SMW_ConceptPage.php'; |
| 80 | + |
80 | 81 | // Printers |
81 | 82 | $qpDir = $smwgIP . 'includes/queryprinters/'; |
82 | 83 | $wgAutoloadClasses['SMWAutoResultPrinter'] = $qpDir . 'SMW_QP_Auto.php'; |
— | — | @@ -107,6 +108,7 @@ |
108 | 109 | $wgAutoloadClasses['SMWBoolValue'] = $dvDir . 'SMW_DV_Bool.php'; |
109 | 110 | $wgAutoloadClasses['SMWConceptValue'] = $dvDir . 'SMW_DV_Concept.php'; |
110 | 111 | $wgAutoloadClasses['SMWImportValue'] = $dvDir . 'SMW_DV_Import.php'; |
| 112 | + |
111 | 113 | // Export |
112 | 114 | $wgAutoloadClasses['SMWExporter'] = $smwgIP . 'includes/export/SMW_Exporter.php'; |
113 | 115 | $wgAutoloadClasses['SMWExpData'] = $smwgIP . 'includes/export/SMW_Exp_Data.php'; |