* (bug 28249) allow dupes in meta=allmessages&amargs
authorSam Reed <reedy@users.mediawiki.org>
Sat, 26 Mar 2011 18:52:07 +0000 (18:52 +0000)
committerSam Reed <reedy@users.mediawiki.org>
Sat, 26 Mar 2011 18:52:07 +0000 (18:52 +0000)
RELEASE-NOTES
includes/api/ApiQueryAllmessages.php

index d41e9ae..48ce1ce 100644 (file)
@@ -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
index 2801fa4..12e107d 100644 (file)
@@ -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(