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

       Web browser: ---
             Bug #: 29370
           Summary: case-insensitive API search fails for lower-case
                    entries (bug added for tracking; subject may change)
           Product: MediaWiki
           Version: 1.19-svn
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: API
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected]
    Classification: Unclassified


This bug is filed as consequence of my observation, that the search when having
Extension:Vector fails for certain input values and page titles, reproducible.

The description of the bug will be improved as soon as new facts are available.
(see also r89900 )

Situation:

- having one page: "EVL" in the wiki
- input entered into search field: "e", "v", "l" ,(3xbackspace), "E", "V",
"EVL"

"GET /phase3/api.php?action=opensearch&search=e&limit=10&namespace=0&suggest=
HTTP/1.1" 200 13
responses (requests corresponds to the one above)
["e",["EVL"]] (ok)
["ev",[]] ( ***wrong response***, should have been ["ev",["EVL"]] )
["evl",[]] ( ***wrong response***, should have been ["evl",["EVL"]] )

"GET /phase3/api.php?action=opensearch&search=E&limit=10&namespace=0&suggest=
HTTP/1.1" 200 13
responses (requests corresponds to the one above)
["E",["EVL"]] (ok)
["EV",["EVL"]] (ok)
["EVL",["EVL"]] (ok)

I added a second page to the wiki: "EVL-Redesign"
no full analysis done yet of this problem
- strange behaviour again:
- new page not part of the suggestion
- but after Ctrl-F5, the new page is also present
["e",["EVL","EVL-Redesign"]]
["E",["EVL","EVL-Redesign"]]


then I deleted page "EVL-Redesign"
"GET /phase3/api.php?action=opensearch&search=e&limit=10&namespace=0&suggest=
HTTP/1.1" 200 13
["e",["EVL","EVL-Redesign"]] (wrong! second page EVl-Redesign does not any
exists, but the response comes from the API! cache problem ? )
"GET /phase3/api.php?action=opensearch&search=e&limit=10&namespace=0&suggest=
HTTP/1.1" 200 13
["E",["EVL"]] (ok)

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