r103224 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r103223‎ | r103224 | r103225 >
Date:21:24, 15 November 2011
Author:bsitu
Status:ok
Tags:
Comment:
make the reason for hide/restore feedback in dashboard page a required field
Modified paths:
  • /trunk/extensions/MoodBar/ApiFeedbackDashboard.php (modified) (history)

Diff [purge]

Index: trunk/extensions/MoodBar/ApiFeedbackDashboard.php
@@ -57,7 +57,10 @@
5858 ApiBase::PARAM_TYPE => 'integer',
5959 ),
6060
61 - 'reason' => null,
 61+ 'reason' => array(
 62+ ApiBase::PARAM_REQUIRED => true,
 63+ ApiBase::PARAM_TYPE => 'string'
 64+ ),
6265 'token' => array(
6366 ApiBase::PARAM_REQUIRED => true,
6467 ),

Status & tagging log