Semantic MediaWiki ask query on URL with = breaks
Closed, ResolvedPublic


When issuing a query using a URL property, if the URL contains = signs SMW handles it wrong.

{{#ask: [[Has URL::]] | format=count }}

Generates an error:

Some subquery has no valid condition.

The equal signs are causing this. This query works fine and returns 0.

{{#ask: [[Has URL::]] | format=count }}

Live example is on scratchpad here:

Also see related bug #35452.

Version: unspecified
Severity: normal

bzimport added a subscriber: wikibugs-l.
bzimport set Reference to bz36351.
thingles created this task.Via LegacyApr 30 2012, 12:43 PM
mkroetzsch added a comment.Via ConduitApr 30 2012, 1:16 PM

Bug #35452 is actually not related to this. The problem is with the syntax for #ask, which uses "=" as a special symbol. There is already another bug for this.

  • This bug has been marked as a duplicate of bug 32955 ***

Add Comment

Column Prototype
This is a very early prototype of a persistent column. It is not expected to work yet, and leaving it open will activate other new features which will break things. Press "\" (backslash) on your keyboard to close it now.