Index: trunk/extensions/SemanticMediaWiki/includes/SMW_ParserExtensions.php |
— | — | @@ -71,10 +71,9 @@ |
72 | 72 | |
73 | 73 | // add link to RDF to HTML header |
74 | 74 | SMWOutputs::requireHeadItem('smw_rdf', '<link rel="alternate" type="application/rdf+xml" title="' . |
75 | | - $parser->getTitle()->getPrefixedText() . '" href="' . |
76 | | - htmlspecialchars($parser->getOptions()->getSkin()->makeSpecialUrl( |
77 | | - 'ExportRDF/' . $parser->getTitle()->getPrefixedText(), 'xmlmime=rdf' |
78 | | - )) . "\" />"); |
| 75 | + htmlspecialchars( $parser->getTitle()->getPrefixedText() ) . '" href="' . |
| 76 | + htmlspecialchars( |
| 77 | + SpecialPage::getTitleFor( 'ExportRDF', $parser->getTitle()->getPrefixedText() )->getLocalUrl( 'xmlmime=rdf' ) ) . "\" />"); |
79 | 78 | |
80 | 79 | SMWOutputs::commitToParser($parser); |
81 | 80 | return true; // always return true, in order not to stop MW's hook processing! |