* (bug 28226) prop=extlinks&eloffset should be an integer

This commit is contained in:
Sam Reed 2011-03-24 20:05:45 +00:00
parent 6d5cca465d
commit f9c5d0d9bd
2 changed files with 5 additions and 2 deletions

View 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

View 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 => '',