Last modified: 2012-04-30 13:16:48 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 T38351, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 36351 - Semantic MediaWiki ask query on URL with = breaks
Semantic MediaWiki ask query on URL with = breaks
Status: RESOLVED DUPLICATE of bug 32955
Product: MediaWiki extensions
Classification: Unclassified
Semantic MediaWiki (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-04-30 12:43 UTC by Jamie Thingelstad
Modified: 2012-04-30 13:16 UTC (History)
2 users (show)

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


Attachments

Description Jamie Thingelstad 2012-04-30 12:43:49 UTC
When issuing a query using a URL property, if the URL contains = signs SMW handles it wrong.

{{#ask: [[Has URL::http://www.wired.com/geekdad/2012/03/67-books-for-kids/?pid=1185&viewall=true]] | 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::http://www.wired.com/geekdad/2012/03/67-books-for-kids/?pid_1185&viewall_true]] | format=count }}

Live example is on scratchpad here:

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

Also see related bug #35452.
Comment 1 Markus Krötzsch 2012-04-30 13:16:48 UTC
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 ***

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


Navigation
Links