- ),
- 'offset' => null,
- );
- }
-
- public function getParamDescription() {
- return array(
- 'limit' => 'How many links to return',
- 'offset' => 'When more results are available, use this to continue',
- );
- }
-
- public function getDescription() {
- return 'Returns all external urls (not interwikies) from the given page(s)';
+ ],
+ 'offset' => [
+ ApiBase::PARAM_TYPE => 'integer',
+ ApiBase::PARAM_HELP_MSG => 'api-help-param-continue',
+ ],
+ 'protocol' => [
+ ApiBase::PARAM_TYPE => ApiQueryExtLinksUsage::prepareProtocols(),
+ ApiBase::PARAM_DFLT => '',
+ ],
+ 'query' => null,
+ 'expandurl' => false,
+ ];