r83370 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r83369‎ | r83370 | r83371 >
Date:05:02, 6 March 2011
Author:jeroendedauw
Status:deferred
Tags:
Comment:
patch from bug 27583
Modified paths:
  • /trunk/extensions/SemanticMediaWiki/includes/SMW_Setup.php (modified) (history)
  • /trunk/extensions/SemanticMediaWiki/includes/SMW_SetupLight.php (modified) (history)
  • /trunk/extensions/SemanticMediaWiki/includes/storage/SMW_PrintRequest.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticMediaWiki/includes/SMW_SetupLight.php
@@ -14,7 +14,7 @@
1515 * @ingroup SMW
1616 */
1717
18 -define( 'SMW_VERSION', '1.5.6-light' );
 18+define( 'SMW_VERSION', '1.5.7-light alpha' );
1919
2020 require_once( 'SMW_GlobalFunctions.php' );
2121
Index: trunk/extensions/SemanticMediaWiki/includes/storage/SMW_PrintRequest.php
@@ -217,9 +217,15 @@
218218 return $result . $parameters;
219219 case SMWPrintRequest::PRINT_THIS:
220220 $result = '?';
 221+
221222 if ( $this->m_label != '' ) {
222223 $result .= '=' . $this->m_label;
223224 }
 225+
 226+ if ( $this->m_outputformat != '' ) {
 227+ $result .= '#' . $this->m_outputformat;
 228+ }
 229+
224230 return $result . $parameters;
225231 default: return ''; // no current serialisation
226232 }
Index: trunk/extensions/SemanticMediaWiki/includes/SMW_Setup.php
@@ -8,7 +8,7 @@
99 */
1010
1111 // The SMW version number.
12 -define( 'SMW_VERSION', '1.5.6' );
 12+define( 'SMW_VERSION', '1.5.7 alpha' );
1313
1414 // A flag used to indicate SMW defines a semantic extension type for extension crdits.
1515 define( 'SEMANTIC_EXTENSION_TYPE', true );
@@ -264,6 +264,9 @@
265265 $wgJobClasses['SMWRefreshJob'] = 'SMWRefreshJob';
266266 $wgAutoloadClasses['SMWRefreshJob'] = $smwgIP . 'includes/jobs/SMW_RefreshJob.php';
267267
 268+ //$wgAutoloadClasses['ApiSMWQuery'] = $smwgIP . 'includes/api/ApiSMWQuery.php';
 269+ //$wgAPIModules['smwquery'] = 'ApiSMWQuery';
 270+
268271 return true;
269272 }
270273

Status & tagging log