Index: trunk/extensions/SemanticMediaWiki/includes/SMW_SetupLight.php |
— | — | @@ -14,7 +14,7 @@ |
15 | 15 | * @ingroup SMW |
16 | 16 | */ |
17 | 17 | |
18 | | -define( 'SMW_VERSION', '1.5.6-light' ); |
| 18 | +define( 'SMW_VERSION', '1.5.7-light alpha' ); |
19 | 19 | |
20 | 20 | require_once( 'SMW_GlobalFunctions.php' ); |
21 | 21 | |
Index: trunk/extensions/SemanticMediaWiki/includes/storage/SMW_PrintRequest.php |
— | — | @@ -217,9 +217,15 @@ |
218 | 218 | return $result . $parameters; |
219 | 219 | case SMWPrintRequest::PRINT_THIS: |
220 | 220 | $result = '?'; |
| 221 | + |
221 | 222 | if ( $this->m_label != '' ) { |
222 | 223 | $result .= '=' . $this->m_label; |
223 | 224 | } |
| 225 | + |
| 226 | + if ( $this->m_outputformat != '' ) { |
| 227 | + $result .= '#' . $this->m_outputformat; |
| 228 | + } |
| 229 | + |
224 | 230 | return $result . $parameters; |
225 | 231 | default: return ''; // no current serialisation |
226 | 232 | } |
Index: trunk/extensions/SemanticMediaWiki/includes/SMW_Setup.php |
— | — | @@ -8,7 +8,7 @@ |
9 | 9 | */ |
10 | 10 | |
11 | 11 | // The SMW version number. |
12 | | -define( 'SMW_VERSION', '1.5.6' ); |
| 12 | +define( 'SMW_VERSION', '1.5.7 alpha' ); |
13 | 13 | |
14 | 14 | // A flag used to indicate SMW defines a semantic extension type for extension crdits. |
15 | 15 | define( 'SEMANTIC_EXTENSION_TYPE', true ); |
— | — | @@ -264,6 +264,9 @@ |
265 | 265 | $wgJobClasses['SMWRefreshJob'] = 'SMWRefreshJob'; |
266 | 266 | $wgAutoloadClasses['SMWRefreshJob'] = $smwgIP . 'includes/jobs/SMW_RefreshJob.php'; |
267 | 267 | |
| 268 | + //$wgAutoloadClasses['ApiSMWQuery'] = $smwgIP . 'includes/api/ApiSMWQuery.php'; |
| 269 | + //$wgAPIModules['smwquery'] = 'ApiSMWQuery'; |
| 270 | + |
268 | 271 | return true; |
269 | 272 | } |
270 | 273 | |