r72991 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r72990‎ | r72991 | r72992 >
Date:16:45, 14 September 2010
Author:jeroendedauw
Status:deferred
Tags:
Comment:
Follow up to r72987
Modified paths:
  • /trunk/extensions/SemanticMediaWiki/includes/SMW_Setup.php (modified) (history)
  • /trunk/extensions/SemanticMediaWiki/includes/SMW_SetupLight.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticMediaWiki/includes/SMW_SetupLight.php
@@ -71,34 +71,35 @@
7272 // $wgAutoloadClasses['SMWConceptPage'] = $smwgIP . 'includes/articlepages/SMW_ConceptPage.php';
7373
7474 // 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';
9594
9695 // 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+
103104 // Export
104105 // $wgAutoloadClasses['SMWExporter'] = $smwgIP . 'includes/export/SMW_Exporter.php';
105106 // $wgAutoloadClasses['SMWExpData'] = $smwgIP . 'includes/export/SMW_Exp_Data.php';
Index: trunk/extensions/SemanticMediaWiki/includes/SMW_Setup.php
@@ -68,14 +68,15 @@
6969 $wgAutoloadClasses['SMWParseData'] = $smwgIP . 'includes/SMW_ParseData.php';
7070 $wgAutoloadClasses['SMWOutputs'] = $smwgIP . 'includes/SMW_Outputs.php';
7171 $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';
7672 $wgAutoloadClasses['SMWResultPrinter'] = $smwgIP . 'includes/SMW_QueryPrinter.php';
7773 $wgAutoloadClasses['SMWDataValueFactory'] = $smwgIP . 'includes/SMW_DataValueFactory.php';
7874 $wgAutoloadClasses['SMWDataValue'] = $smwgIP . 'includes/SMW_DataValue.php';
7975
 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+
8081 // Printers
8182 $qpDir = $smwgIP . 'includes/queryprinters/';
8283 $wgAutoloadClasses['SMWAutoResultPrinter'] = $qpDir . 'SMW_QP_Auto.php';
@@ -107,6 +108,7 @@
108109 $wgAutoloadClasses['SMWBoolValue'] = $dvDir . 'SMW_DV_Bool.php';
109110 $wgAutoloadClasses['SMWConceptValue'] = $dvDir . 'SMW_DV_Concept.php';
110111 $wgAutoloadClasses['SMWImportValue'] = $dvDir . 'SMW_DV_Import.php';
 112+
111113 // Export
112114 $wgAutoloadClasses['SMWExporter'] = $smwgIP . 'includes/export/SMW_Exporter.php';
113115 $wgAutoloadClasses['SMWExpData'] = $smwgIP . 'includes/export/SMW_Exp_Data.php';

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r72987Changes for 1.5.3 - moved the datavalues to their own directory as discussed ...jeroendedauw16:16, 14 September 2010

Status & tagging log