Last modified: 2013-01-03 10:14:22 UTC
Hi we have a MediaWiki 1.20.2 running with the Semantic MediaWiki 1.8.0 version. Saving URLs that have a # (number sign or hash sign) in it cause to be reported by SMW as incorrect values. Trying to save a property that is of type URL, e.g. [[concept type::http://www.w3.org/1999/02/22-rdf-syntax-ns#Property]] … report the error URIs of the form “http://www.w3.org/1999/02/22-rdf-syntax-ns#Property"e are not allowed. I wonder, because http://path/to/page#String is a valid URI. Is it not? Can this be fixed? Tanks a lot!!! Kind regards Andreas
I realize now http://terms.gbif.org/wiki/MediaWiki:Smw_uri_blacklist is causing the error message. Why are the following URI not allowed to be used? http://www.w3.org/1999/02/22-rdf-syntax-ns# http://www.w3.org/2000/01/rdf-schema# http://www.w3.org/2002/07/owl# We want to state: [[concept type::http://www.w3.org/2002/07/owl#Class]] and that seems not possible by default. Of course we can: (1) empty MediaWiki:Smw_uri_blacklist or (2) import first (all) RDF, RDFS, OWL and change “concept type” to type Page and state [[concept type::owl:Class]] or (3) … (I don't know maybe another solution I forgot?) What is the motif of this MediaWiki:Smw_uri_blacklist and what step of the above would you recommend? If we empty MediaWiki:Smw_uri_blacklist could this cause trouble? Thanks for your advise! Andreas
empty MediaWiki:Smw_uri_blacklist does not solve this problem
This seems to be closely related to bug 35452. I believe this bug may be marked as duplicate after verification.
See here for a live example: http://scratchpad.referata.com/wiki/Datatype_URL_-_test