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

            Bug ID: 65752
           Summary: ApiOpensearch unable to search for pages in namespace
                    starting with lower case letter
           Product: MediaWiki
           Version: 1.23rc
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: API
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected]
       Web browser: ---
   Mobile Platform: ---

How to reproduce:
1) Add settings:
$wgCapitalLinkOverrides[NS_FOO] = false; // NS_FOO 1200
$wgCapitalLinkOverrides[NS_FOO_TALK] = false;

2) Create Foo:bar

3) Go to
/w/api.php?action=opensearch&format=jsonfm&namespace=1200&suggest=&search=bar

Expected: To get suggestion for Foo:bar
Observed: No suggestions
Reason: There is some code in PrefixSearch::search that normalizes the search
keyword as if it were in NS_MAIN.

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