From: Sam Reed Date: Sat, 26 Mar 2011 18:52:07 +0000 (+0000) Subject: * (bug 28249) allow dupes in meta=allmessages&amargs X-Git-Tag: 1.31.0-rc.0~31174 X-Git-Url: http://git.cyclocoop.org/ecrire?a=commitdiff_plain;h=f5c7c7d735720f13b672c183dac7c12d5924b388;p=lhc%2Fweb%2Fwiklou.git * (bug 28249) allow dupes in meta=allmessages&amargs --- diff --git a/RELEASE-NOTES b/RELEASE-NOTES index d41e9ae4c5..48ce1ce94c 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -287,7 +287,8 @@ PHP if you have not done so prior to upgrading MediaWiki. real timestamp field. * API upload errors may now return the parameter that needs to be changed and a sessionkey to fix the error. - +* (bug 28249) allow dupes in meta=allmessages&amargs + === Languages updated in 1.18 === MediaWiki supports over 330 languages. Many localisations are updated diff --git a/includes/api/ApiQueryAllmessages.php b/includes/api/ApiQueryAllmessages.php index 2801fa459f..12e107d0ae 100644 --- a/includes/api/ApiQueryAllmessages.php +++ b/includes/api/ApiQueryAllmessages.php @@ -205,7 +205,8 @@ class ApiQueryAllmessages extends ApiQueryBase { ), 'enableparser' => false, 'args' => array( - ApiBase::PARAM_ISMULTI => true + ApiBase::PARAM_ISMULTI => true, + ApiBase::PARAM_ALLOW_DUPLICATES => true, ), 'filter' => array(), 'customised' => array(