r107090 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r107089‎ | r107090 | r107091 >
Date:18:55, 22 December 2011
Author:catrope
Status:ok
Tags:
Comment:
Remove unused parameters and document prop parameter
Modified paths:
  • /trunk/extensions/MarkAsHelpful/api/ApiGetMarkAsHelpfulItem.php (modified) (history)

Diff [purge]

Index: trunk/extensions/MarkAsHelpful/api/ApiGetMarkAsHelpfulItem.php
@@ -41,9 +41,6 @@
4242 ApiBase::PARAM_REQUIRED => true,
4343 ApiBase::PARAM_TYPE => 'integer'
4444 ),
45 - 'useragent' => null,
46 - 'system' => null,
47 - 'locale' => null,
4845 'prop' => array(
4946 ApiBase::PARAM_TYPE => array( 'metadata', 'formatted' ),
5047 ),
@@ -58,9 +55,7 @@
5956 return array(
6057 'type' => 'The object type that is being marked as helpful',
6158 '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',
6560 );
6661 }
6762

Status & tagging log