https://bugzilla.wikimedia.org/show_bug.cgi?id=36351
Web browser: ---
Bug #: 36351
Summary: Semantic MediaWiki ask query on URL with = breaks
Product: MediaWiki extensions
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: Semantic MediaWiki
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected]
Classification: Unclassified
Mobile Platform: ---
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.
--
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
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l