http://www.mediawiki.org/wiki/Special:Code/MediaWiki/84699

Revision: 84699
Author:   reedy
Date:     2011-03-24 20:05:45 +0000 (Thu, 24 Mar 2011)
Log Message:
-----------
* (bug 28226) prop=extlinks&eloffset should be an integer

Modified Paths:
--------------
    trunk/phase3/RELEASE-NOTES
    trunk/phase3/includes/api/ApiQueryExternalLinks.php

Modified: trunk/phase3/RELEASE-NOTES
===================================================================
--- trunk/phase3/RELEASE-NOTES  2011-03-24 20:02:41 UTC (rev 84698)
+++ trunk/phase3/RELEASE-NOTES  2011-03-24 20:05:45 UTC (rev 84699)
@@ -282,7 +282,8 @@
 * (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

Modified: trunk/phase3/includes/api/ApiQueryExternalLinks.php
===================================================================
--- trunk/phase3/includes/api/ApiQueryExternalLinks.php 2011-03-24 20:02:41 UTC 
(rev 84698)
+++ trunk/phase3/includes/api/ApiQueryExternalLinks.php 2011-03-24 20:05:45 UTC 
(rev 84699)
@@ -108,7 +108,9 @@
                                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 => '',


_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to