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

       Web browser: ---
             Bug #: 40156
           Summary: OpenSearch returns only one result if last character
                    is a namespace separator
           Product: MediaWiki
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: major
          Priority: Unprioritized
         Component: Search
        AssignedTo: [email protected]
        ReportedBy: [email protected]
    Classification: Unclassified
   Mobile Platform: ---


*
https://www.mediawiki.org/w/api.php?format=xmlfm&action=opensearch&search=MediaWiki:
*
https://en.wikipedia.org/w/api.php?format=jsonfm&action=opensearch&search=Template:
*
https://nl.wikipedia.org/w/api.php?format=jsonfm&action=opensearch&search=Gebruiker:

Whereas:
*
https://www.mediawiki.org/w/api.php?format=xmlfm&action=opensearch&search=MediaWiki:A
*
https://en.wikipedia.org/w/api.php?format=jsonfm&action=opensearch&search=Template:A
*
https://nl.wikipedia.org/w/api.php?format=jsonfm&action=opensearch&search=Gebruiker:A

All give 2+ results.

Also reproducible on any wiki through Vector's SimpleSearch bar.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- 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