* (bug 28226) prop=extlinks&eloffset should be an integer
authorSam Reed <reedy@users.mediawiki.org>
Thu, 24 Mar 2011 20:05:45 +0000 (20:05 +0000)
committerSam Reed <reedy@users.mediawiki.org>
Thu, 24 Mar 2011 20:05:45 +0000 (20:05 +0000)
RELEASE-NOTES
includes/api/ApiQueryExternalLinks.php

index 306d752..482654e 100644 (file)
@@ -282,7 +282,8 @@ PHP if you have not done so prior to upgrading MediaWiki.
 * (bug 27589) list=allimages&aiprop=archivename is useless
 * (bug 27586) Remove duplication of props in ApiQueryStashImageInfo
   by using ApiQueryImageInfo
-
+* (bug 28226) prop=extlinks&eloffset should be an integer
+  
 === Languages updated in 1.18 ===
 
 MediaWiki supports over 330 languages. Many localisations are updated
index de5bb3c..d726f66 100644 (file)
@@ -108,7 +108,9 @@ class ApiQueryExternalLinks extends ApiQueryBase {
                                ApiBase::PARAM_MAX => ApiBase::LIMIT_BIG1,
                                ApiBase::PARAM_MAX2 => ApiBase::LIMIT_BIG2
                        ),
-                       'offset' => null,
+                       'offset' => array(
+                               ApiBase::PARAM_TYPE => 'integer'
+                       ),
                        'protocol' => array(
                                ApiBase::PARAM_TYPE => ApiQueryExtLinksUsage::prepareProtocols(),
                                ApiBase::PARAM_DFLT => '',