From f5c7c7d735720f13b672c183dac7c12d5924b388 Mon Sep 17 00:00:00 2001 From: Sam Reed Date: Sat, 26 Mar 2011 18:52:07 +0000 Subject: [PATCH] * (bug 28249) allow dupes in meta=allmessages&amargs --- RELEASE-NOTES | 3 ++- includes/api/ApiQueryAllmessages.php | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) 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( -- 2.20.1