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

           Summary: Bogus "all:" namespace appears in "Did you mean..." when
                    all namespaces selected in preferences
           Product: MediaWiki extensions
           Version: any
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: Lucene Search
        AssignedTo: [email protected]
        ReportedBy: [email protected]


In the "Did you mean..." suggestion on the search results page, the namespace
"All:" sometimes gets prepended to the search term.  This bad behavior happens
only if the user has checked all of the namespaces checkboxes in My Preferences
on the Search tab.

Environment: Lucene 2.1, MWSearch (r45173), MediaWiki 1.15.1.

Test case: search for "Superma"

Correct behavior: "Did you mean: Superman" is displayed

Observed behavior: "Did you mean: All:Superman" is displayed

To make the bug occur, go to My Preferences, click the Search tab, check all
namespace checkboxes, and save.  To make the bug go away, uncheck ANY namespace
checkbox and save.


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