Last modified: 2009-08-19 07:10:02 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T22304, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 20304 - ExportRDF adds extra http:// to !Entity wiki and !Entity property
ExportRDF adds extra http:// to !Entity wiki and !Entity property
Status: RESOLVED INVALID
Product: MediaWiki extensions
Classification: Unclassified
Semantic MediaWiki (Other open bugs)
unspecified
All All
: Normal major (vote)
: ---
Assigned To: Markus Krötzsch
http://opened.creativecommons.org/Spe...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-08-19 00:29 UTC by Alex Kozak
Modified: 2009-08-19 07:10 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
Full RDF export source of a wiki page (7.56 KB, application/octet-stream)
2009-08-19 00:29 UTC, Alex Kozak
Details

Description Alex Kozak 2009-08-19 00:29:36 UTC
Created attachment 6475 [details]
Full RDF export source of a wiki page

The Special:ExportRDF page prepends an extra http:// to the wiki and property Entities in the DOCTYPE, which then incorrectly populates the RDF data. I don't know at what point this occurs exactly.

<!DOCTYPE rdf:RDF[
	<!ENTITY rdf 'http://www.w3.org/1999/02/22-rdf-syntax-ns#'>
	<!ENTITY rdfs 'http://www.w3.org/2000/01/rdf-schema#'>
	<!ENTITY owl 'http://www.w3.org/2002/07/owl#'>
	<!ENTITY swivt 'http://semantic-mediawiki.org/swivt/1.0#'>
	<!ENTITY wiki 'http://http://opened.creativecommons.org/Special:URIResolver/'>
	<!ENTITY property 'http://http://opened.creativecommons.org/Special:URIResolver/Property-3A'>
	<!ENTITY wikiurl 'http://opened.creativecommons.org/'>
]>

It is possible that this is a configuration error, but I have verified it on two separately configured wikis with SMW.
Comment 1 Markus Krötzsch 2009-08-19 07:10:02 UTC
This should be a configuration error. The function "enableSemantics" in LocalSettings.php is supposed to get a single domain name (possibly with port information) as its argument. There should be no "http://" in front of it. See http://semantic-mediawiki.org/wiki/Help:Installation for details. If this does not fix your problem, please re-open this bug and provide the SMW-related entries of your LocalSettings.php for further analysis.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links