r66982 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r66981‎ | r66982 | r66983 >
Date:21:46, 27 May 2010
Author:yaron
Status:deferred
Tags:
Comment:
Fixed formatting of new code
Modified paths:
  • /trunk/extensions/SemanticMediaWiki/specials/Export/SMW_SpecialOWLExport.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticMediaWiki/specials/Export/SMW_SpecialOWLExport.php
@@ -677,10 +677,10 @@
678678 $data = SMWExporter::makeExportData( smwfGetStore()->getSemanticData( $value, $fullexport ? false:array( '__spu', '__typ', '__imp' ) ), $st->modifier );
679679 $this->printExpData( $data ); // serialise
680680 // let other extensions add additional RDF data for this page
681 - $additional_data_array = array();
682 - wfRunHooks( 'smwAddToRDFExport', array( $value->getTitle(), &$additional_data_array ) );
683 - foreach( $additional_data_array as $additional_data) {
684 - $this->printExpData( $additional_data ); // serialise
 681+ $additionalDataArray = array();
 682+ wfRunHooks( 'smwAddToRDFExport', array( $value->getTitle(), &$additionalDataArray ) );
 683+ foreach ( $additionalDataArray as $additionalData ) {
 684+ $this->printExpData( $additionalData ); // serialise
685685 }
686686 $this->markAsDone( $st );
687687

Status & tagging log