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

       Web browser: ---
             Bug #: 38165
           Summary: Case mismatch in <query-continue> while listing
                    categories starting with "EN:"
           Product: MediaWiki
           Version: 1.20-git
          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
   Mobile Platform: ---


When listing categories via API (such as the Pywikipediabot does), the
query-continue acfrom output is not correct (changed in case) when the next
category starts with "EN:"

Please check the following URL:

https://es.wiktionary.org/w/api.php?action=query&list=allcategories&format=xml&acfrom=EN&aclimit=10

I'm asking for categories starting at EN, but acfrom returned is:

<query-continue>
    <allcategories acfrom="en:Adjectivos" />
</query-continue>

As you can see, the capital "EN" became a lower case "en". The correct result
would be "EN:Adjectivos".

This will cause a "jump" in the categories iteration, skipping results from
"EN:" to "en:".

As far as I can tell, this seems to happen only for categories starting with
"EN:", and not "DE:" or "BG:", for example.

Thanks.

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