https://bugzilla.wikimedia.org/show_bug.cgi?id=32955

       Web browser: ---
             Bug #: 32955
           Summary: Property type "URL" cannot be queried by property when
                    the URL contains equal sign character "="
           Product: MediaWiki extensions
           Version: any
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Semantic MediaWiki
        AssignedTo: wikibugs-l@lists.wikimedia.org
        ReportedBy: fastgoldf...@gmail.com
                CC: jeroen_ded...@yahoo.com, mar...@semantic-mediawiki.org
    Classification: Unclassified


Type URL can:

Define a property:

* [[URL::https://www.google.com/search?q=semantic+mediawiki]]

Be queried for the property:

* {{#show: Some page | ?URL}}
* {{#ask: [[Some page]] | ?URL}}

But cannot be queried by property if the URL has an equals sign in it:

* {{#ask: [[URL::https://www.google.com/search?q=semantic+mediawiki]] | ? |
?URL}}
* {{#ask: [[URL::=]] | ? | ?URL | link=none}}

It will produce the incorrect error "Some subquery has no valid condition.".

This was tested in SMW 1.6. I'm not sure if this bug still exists in current
development versions (I can't use SMW 1.6.1 because image queries do not work
well).

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to