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

           Summary: allow dupes in meta=allmessages&amargs
           Product: MediaWiki
           Version: wikimedia-deployment
          Platform: All
               URL: http://en.wikipedia.org/w/api.php?action=query&meta=al
                    lmessages&ammessages=search-result-category-size&enabl
                    eparser=&amargs=1|1|1
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: Normal
         Component: API
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected]


amargs of meta=allmessages does not allow dupe values like amargs=1|1

This breaks, when $1 and $2 have equal content, see url for an example.

You have to set ApiBase::PARAM_ALLOW_DUPLICATES => true for args in
ApiQueryAllmessages.

Thanks.

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