r69348 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r69347‎ | r69348 | r69349 >
Date:21:40, 14 July 2010
Author:yaron
Status:deferred
Tags:
Comment:
Added two more arguments to smwAddToRDFExport hook - patch from Jamey Wood
Modified paths:
  • /trunk/extensions/SemanticMediaWiki/includes/export/SMW_OWLExport.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticMediaWiki/includes/export/SMW_OWLExport.php
@@ -631,7 +631,7 @@
632632
633633 // let other extensions add additional RDF data for this page
634634 $additionalDataArray = array();
635 - wfRunHooks( 'smwAddToRDFExport', array( $value->getTitle(), &$additionalDataArray ) );
 635+ wfRunHooks( 'smwAddToRDFExport', array( $value->getTitle(), &$additionalDataArray, $fullexport, $backlinks ) );
636636 foreach ( $additionalDataArray as $additionalData ) {
637637 $this->printExpData( $additionalData ); // serialise
638638 }

Status & tagging log