Last modified: 2012-04-16 09:16:15 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T30249, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 28249 - allow dupes in meta=allmessages&amargs
allow dupes in meta=allmessages&amargs
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
API (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Roan Kattouw
http://en.wikipedia.org/w/api.php?act...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-03-26 12:37 UTC by Umherirrender
Modified: 2012-04-16 09:16 UTC (History)
4 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Umherirrender 2011-03-26 12:37:28 UTC
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.
Comment 1 Sam Reed (reedy) 2011-03-26 18:52:17 UTC
r84811

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links