Index: trunk/extensions/SemanticMediaWiki/includes/export/SMW_Exporter.php |
— | — | @@ -159,6 +159,9 @@ |
160 | 160 | } else { |
161 | 161 | $pe = SMWExporter::getSpecialNsResource( 'owl', 'sameAs' ); |
162 | 162 | } |
| 163 | + if ( $property->getKey() == '_REDI' ) { |
| 164 | + $pe = array( $pe, SMWExporter::getSpecialNsResource( 'swivt', 'redirectsTo' ) ); |
| 165 | + } |
163 | 166 | break; |
164 | 167 | case '_SUBP': |
165 | 168 | if ( $diSubject->getNamespace() == SMW_NS_PROPERTY ) { |
— | — | @@ -198,6 +201,10 @@ |
199 | 202 | } |
200 | 203 | } |
201 | 204 | } |
| 205 | + } elseif ( is_array( $pe ) ) { |
| 206 | + foreach ( $pe as $extraPropertyElement ) { |
| 207 | + $expData->addPropertyObjectValue( $extraPropertyElement, $ed ); |
| 208 | + } |
202 | 209 | } else { |
203 | 210 | $expData->addPropertyObjectValue( $pe, $ed ); |
204 | 211 | } |