https://bugzilla.wikimedia.org/show_bug.cgi?id=21893
Summary: The 'like' property comparator fails to select pages
when the property 'allows value'.
Product: MediaWiki extensions
Version: any
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: Normal
Component: Semantic MediaWiki
AssignedTo: [email protected]
ReportedBy: [email protected]
The docs say: "Like: The comparator ~ works only for properties of Type:String
and ... ", however I found if the string property is qualified with one or more
'Allows value' special properties the query fails.
I'm seeing the following error with this code:
{{#ask: [[Technology::~*454*]]}}
:"*454*" is not in the list of possible values (Roche 454, Sanger, Illumina
Solexa, Tool X, Tool Y, OPA, WGP, DaRT) for this property.
If I remove the 'Allows value' clauses from this property, the query works
fine, returning pages with values of the Technology property 'like' 454.
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l