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

       Web browser: ---
            Bug ID: 53589
           Summary: Like operator cannot be used to select from allowed
                    value
           Product: MediaWiki extensions
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Semantic MediaWiki
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected]
    Classification: Unclassified
   Mobile Platform: ---

When a property uses the special property 'Allows value' to limit the set of
permissible values, it is not possible to query that property using the like
operator (::~). 

Reproduction / observed behavior:

Suppose we have a Property:Enumeration with [[allows value::Foo]], [[allows
value::Bar]] and [[allows value::Foobar]]. The query {{#ask:
[[Enumeration::Fo*]] }} results in the error

"Fo*" is not in the list of possible values (Foo, Bar, Foobar) for this
property

Expected behavior:

Query returns all pages with Enumeration::Foo and Enumeration::Foobar

-- 
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

Reply via email to