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

       Web browser: ---
             Bug #: 29901
           Summary: Queries with no conditions should not return all pages
           Product: MediaWiki extensions
           Version: any
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Semantic MediaWiki
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]
    Classification: Unclassified


When something goes wrong, such as the current behavior where "Category:+"
should act as a wild card but instead acts as a nonexistent category
(https://bugzilla.wikimedia.org/show_bug.cgi?id=29900), the query returns all
pages in the wiki, which is not only unuseful, but also likely to be confusing
and more of a problem than simply displaying nothing when nothing is found.
Instead, nothing should be returned if there is nothing that matches the query.

See also:

https://bugzilla.wikimedia.org/show_bug.cgi?id=29891#c2

...the reason that [[Category:+]] does not work is simply that it is
ambiguous with SMW's way of searching for pages in the category called "+".
Since this is not a valid page, the query ends up having no conditions and all
pages are returned.

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