Index: trunk/extensions/MarkAsHelpful/api/ApiGetMarkAsHelpfulItem.php |
— | — | @@ -41,9 +41,6 @@ |
42 | 42 | ApiBase::PARAM_REQUIRED => true, |
43 | 43 | ApiBase::PARAM_TYPE => 'integer' |
44 | 44 | ), |
45 | | - 'useragent' => null, |
46 | | - 'system' => null, |
47 | | - 'locale' => null, |
48 | 45 | 'prop' => array( |
49 | 46 | ApiBase::PARAM_TYPE => array( 'metadata', 'formatted' ), |
50 | 47 | ), |
— | — | @@ -58,9 +55,7 @@ |
59 | 56 | return array( |
60 | 57 | 'type' => 'The object type that is being marked as helpful', |
61 | 58 | 'item' => 'The object item that is being marked as helpful', |
62 | | - 'useragent' => 'The User-Agent header of the browser', |
63 | | - 'system' => 'The operating system being used', |
64 | | - 'locale' => 'The locale in use', |
| 59 | + 'prop' => 'Which property to get', |
65 | 60 | ); |
66 | 61 | } |
67 | 62 | |