Index: trunk/extensions/SemanticMediaWiki/specials/Export/SMW_SpecialOWLExport.php |
— | — | @@ -104,11 +104,11 @@ |
105 | 105 | */ |
106 | 106 | protected function startRDFExport() { |
107 | 107 | global $wgOut, $wgRequest; |
108 | | - $format = $wgRequest->getText( 'format' ); |
109 | | - if ( $format == '' ) $format = $wgRequest->getVal( 'format' ); |
| 108 | + $syntax = $wgRequest->getText( 'syntax' ); |
| 109 | + if ( $syntax == '' ) $syntax = $wgRequest->getVal( 'syntax' ); |
110 | 110 | $wgOut->disable(); |
111 | 111 | ob_start(); |
112 | | - if ( $format == 'turtle' ) { |
| 112 | + if ( $syntax == 'turtle' ) { |
113 | 113 | $mimetype = 'application/x-turtle'; // may change to 'text/turtle' at some time, watch Turtle development |
114 | 114 | $serializer = new SMWTurtleSerializer(); |
115 | 115 | } else { // rdfxml as default |