r72993 MediaWiki - Code Review archive

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

Diff [purge]

Index: trunk/extensions/SemanticMediaWiki/includes/SMW_Setup.php
@@ -72,10 +72,12 @@
7373 $wgAutoloadClasses['SMWDataValueFactory'] = $smwgIP . 'includes/SMW_DataValueFactory.php';
7474 $wgAutoloadClasses['SMWDataValue'] = $smwgIP . 'includes/SMW_DataValue.php';
7575
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';
 76+ // Article pages
 77+ $apDir = $smwgIP . 'includes/articlepages/';
 78+ $wgAutoloadClasses['SMWOrderedListPage'] = $apDir . 'SMW_OrderedListPage.php';
 79+ $wgAutoloadClasses['SMWTypePage'] = $apDir . 'SMW_TypePage.php';
 80+ $wgAutoloadClasses['SMWPropertyPage'] = $apDir . 'SMW_PropertyPage.php';
 81+ $wgAutoloadClasses['SMWConceptPage'] = $apDir . 'SMW_ConceptPage.php';
8082
8183 // Printers
8284 $qpDir = $smwgIP . 'includes/queryprinters/';
@@ -110,33 +112,38 @@
111113 $wgAutoloadClasses['SMWImportValue'] = $dvDir . 'SMW_DV_Import.php';
112114
113115 // Export
114 - $wgAutoloadClasses['SMWExporter'] = $smwgIP . 'includes/export/SMW_Exporter.php';
115 - $wgAutoloadClasses['SMWExpData'] = $smwgIP . 'includes/export/SMW_Exp_Data.php';
116 - $wgAutoloadClasses['SMWExpElement'] = $smwgIP . 'includes/export/SMW_Exp_Element.php';
117 - $wgAutoloadClasses['SMWExpLiteral'] = $smwgIP . 'includes/export/SMW_Exp_Element.php';
118 - $wgAutoloadClasses['SMWExpResource'] = $smwgIP . 'includes/export/SMW_Exp_Element.php';
 116+ $expDir = $smwgIP . 'includes/export/';
 117+ $wgAutoloadClasses['SMWExporter'] = $expDir . 'SMW_Exporter.php';
 118+ $wgAutoloadClasses['SMWExpData'] = $expDir . 'SMW_Exp_Data.php';
 119+ $wgAutoloadClasses['SMWExpElement'] = $expDir . 'SMW_Exp_Element.php';
 120+ $wgAutoloadClasses['SMWExpLiteral'] = $expDir . 'SMW_Exp_Element.php';
 121+ $wgAutoloadClasses['SMWExpResource'] = $expDir . 'SMW_Exp_Element.php';
 122+
119123 // Stores & queries
120124 $wgAutoloadClasses['SMWQueryProcessor'] = $smwgIP . 'includes/SMW_QueryProcessor.php';
121125 $wgAutoloadClasses['SMWQueryParser'] = $smwgIP . 'includes/SMW_QueryParser.php';
122 - $wgAutoloadClasses['SMWQuery'] = $smwgIP . 'includes/storage/SMW_Query.php';
123 - $wgAutoloadClasses['SMWQueryResult'] = $smwgIP . 'includes/storage/SMW_QueryResult.php';
124 - $wgAutoloadClasses['SMWStore'] = $smwgIP . 'includes/storage/SMW_Store.php';
125 - $wgAutoloadClasses['SMWStringCondition'] = $smwgIP . 'includes/storage/SMW_Store.php';
126 - $wgAutoloadClasses['SMWRequestOptions'] = $smwgIP . 'includes/storage/SMW_Store.php';
127 - $wgAutoloadClasses['SMWPrintRequest'] = $smwgIP . 'includes/storage/SMW_PrintRequest.php';
128 - $wgAutoloadClasses['SMWThingDescription'] = $smwgIP . 'includes/storage/SMW_Description.php';
129 - $wgAutoloadClasses['SMWClassDescription'] = $smwgIP . 'includes/storage/SMW_Description.php';
130 - $wgAutoloadClasses['SMWConceptDescription'] = $smwgIP . 'includes/storage/SMW_Description.php';
131 - $wgAutoloadClasses['SMWNamespaceDescription'] = $smwgIP . 'includes/storage/SMW_Description.php';
132 - $wgAutoloadClasses['SMWValueDescription'] = $smwgIP . 'includes/storage/SMW_Description.php';
133 - $wgAutoloadClasses['SMWConjunction'] = $smwgIP . 'includes/storage/SMW_Description.php';
134 - $wgAutoloadClasses['SMWDisjunction'] = $smwgIP . 'includes/storage/SMW_Description.php';
135 - $wgAutoloadClasses['SMWSomeProperty'] = $smwgIP . 'includes/storage/SMW_Description.php';
136126 $wgAutoloadClasses['SMWRecordDescription'] = $smwgIP . 'includes/SMW_Record_Descriptions.php';
137127 $wgAutoloadClasses['SMWRecordFieldDescription'] = $smwgIP . 'includes/SMW_Record_Descriptions.php';
138 - $wgAutoloadClasses['SMWSQLStore2'] = $smwgIP . 'includes/storage/SMW_SQLStore2.php';
139 - $wgAutoloadClasses['SMWSQLStore2Table'] = $smwgIP . 'includes/storage/SMW_SQLStore2Table.php';
140 - $wgAutoloadClasses['SMWSQLHelpers'] = $smwgIP . 'includes/storage/SMW_SQLHelpers.php';
 128+
 129+ $stoDir = $smwgIP . 'includes/storage/';
 130+ $wgAutoloadClasses['SMWQuery'] = $stoDir . 'SMW_Query.php';
 131+ $wgAutoloadClasses['SMWQueryResult'] = $stoDir . 'SMW_QueryResult.php';
 132+ $wgAutoloadClasses['SMWStore'] = $stoDir . 'SMW_Store.php';
 133+ $wgAutoloadClasses['SMWStringCondition'] = $stoDir . 'SMW_Store.php';
 134+ $wgAutoloadClasses['SMWRequestOptions'] = $stoDir . 'SMW_Store.php';
 135+ $wgAutoloadClasses['SMWPrintRequest'] = $stoDir . 'SMW_PrintRequest.php';
 136+ $wgAutoloadClasses['SMWThingDescription'] = $stoDir . 'SMW_Description.php';
 137+ $wgAutoloadClasses['SMWClassDescription'] = $stoDir . 'SMW_Description.php';
 138+ $wgAutoloadClasses['SMWConceptDescription'] = $stoDir . 'SMW_Description.php';
 139+ $wgAutoloadClasses['SMWNamespaceDescription'] = $stoDir . 'SMW_Description.php';
 140+ $wgAutoloadClasses['SMWValueDescription'] = $stoDir . 'SMW_Description.php';
 141+ $wgAutoloadClasses['SMWConjunction'] = $stoDir . 'SMW_Description.php';
 142+ $wgAutoloadClasses['SMWDisjunction'] = $stoDir . 'SMW_Description.php';
 143+ $wgAutoloadClasses['SMWSomeProperty'] = $stoDir . 'SMW_Description.php';
 144+ $wgAutoloadClasses['SMWSQLStore2'] = $stoDir . 'SMW_SQLStore2.php';
 145+ $wgAutoloadClasses['SMWSQLStore2Table'] = $stoDir . 'SMW_SQLStore2Table.php';
 146+ $wgAutoloadClasses['SMWSQLHelpers'] = $stoDir . 'SMW_SQLHelpers.php';
 147+
141148 // Do not autoload RAPStore, since some special pages load all autoloaded classes, which causes
142149 // troubles with RAP store if RAP is not installed (require_once fails).
143150 // $wgAutoloadClasses['SMWRAPStore'] = $smwgIP . 'includes/storage/SMW_RAPStore.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