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

       Web browser: ---
             Bug #: 29866
           Summary: Using "||" returns different results than when using
                    "OR"
           Product: MediaWiki extensions
           Version: any
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: major
          Priority: Unprioritized
         Component: Semantic MediaWiki
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]
    Classification: Unclassified


I've created a testcase page here:
   https://wiki.mozilla.org/User:Dria/SMWdisjunctionbug

I was expecting using "OR" and "||" to return the same results in this
situation, but while OR behaves as expected, the "||" version returns results
as if there were wildcards involved:

{{#ask: [[Category:Feature Page]] [[Feature security status::tbd]] OR [[Feature
security status::-]]
| ?
| ?Feature security status#
| sort=Feature priority
| format=table
| limit=500
}}


{{#ask: [[Category:Feature Page]] [[Feature security status::tbd||-]]
| ?
| ?Feature security status#
| sort=Feature priority
| format=table
| limit=500
}}

I may misunderstand how the "||" is supposed to work, but the documentation
suggests that these should return the same results.

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

Reply via email to