Index: trunk/extensions/Distribution/api/ApiQueryExtensions.php |
— | — | @@ -42,7 +42,7 @@ |
43 | 43 | * @param $action |
44 | 44 | */ |
45 | 45 | public function __construct( $main, $action ) { |
46 | | - parent :: __construct( $main, $action, 'dst' ); |
| 46 | + parent::__construct( $main, $action, 'dst' ); |
47 | 47 | } |
48 | 48 | |
49 | 49 | /** |
— | — | @@ -65,11 +65,11 @@ |
66 | 66 | public function getAllowedParams() { |
67 | 67 | return array ( |
68 | 68 | 'limit' => array( |
69 | | - ApiBase :: PARAM_DFLT => 10, |
70 | | - ApiBase :: PARAM_TYPE => 'limit', |
71 | | - ApiBase :: PARAM_MIN => 1, |
72 | | - ApiBase :: PARAM_MAX => ApiBase :: LIMIT_BIG1, |
73 | | - ApiBase :: PARAM_MAX2 => ApiBase :: LIMIT_BIG2 |
| 69 | + ApiBase::PARAM_DFLT => 10, |
| 70 | + ApiBase::PARAM_TYPE => 'limit', |
| 71 | + ApiBase::PARAM_MIN => 1, |
| 72 | + ApiBase::PARAM_MAX => ApiBase::LIMIT_BIG1, |
| 73 | + ApiBase::PARAM_MAX2 => ApiBase::LIMIT_BIG2 |
74 | 74 | ), |
75 | 75 | 'continue' => null, |
76 | 76 | ); |
— | — | @@ -82,8 +82,8 @@ |
83 | 83 | */ |
84 | 84 | public function getParamDescription() { |
85 | 85 | return array ( |
86 | | - 'continue' => 'Number of the first story to return', |
87 | | - 'limit' => 'Amount of stories to return', |
| 86 | + 'continue' => 'Number of the first extension to return', |
| 87 | + 'limit' => 'Amount of extensions to return', |
88 | 88 | ); |
89 | 89 | } |
90 | 90 | |