Last modified: 2013-01-03 10:14:22 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 T45264, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 43264 - Handling of # URIs is broken in SMW (1.8.0)
Handling of # URIs is broken in SMW (1.8.0)
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
Semantic MediaWiki (Other open bugs)
REL1_20-branch
All All
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
http://terms.gbif.org/wiki/User:Andre...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-12-19 13:01 UTC by Andreas Plank
Modified: 2013-01-03 10:14 UTC (History)
6 users (show)

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


Attachments

Description Andreas Plank 2012-12-19 13:01:19 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&quote 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
Comment 1 Andreas Plank 2012-12-20 11:59:01 UTC
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
Comment 2 Andreas Plank 2012-12-21 23:04:34 UTC
empty MediaWiki:Smw_uri_blacklist does not solve this problem
Comment 3 [[kgh]] 2012-12-25 23:16:52 UTC
This seems to be closely related to bug 35452. I believe this bug may be marked as duplicate after verification.
Comment 4 Andreas Plank 2013-01-03 10:14:22 UTC
See here for a live example:

http://scratchpad.referata.com/wiki/Datatype_URL_-_test

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


Navigation
Links