Index: trunk/extensions/Translate/api/ApiGroupReview.php |
— | — | @@ -97,7 +97,11 @@ |
98 | 98 | global $wgTranslateWorkflowStates; |
99 | 99 | return array( |
100 | 100 | 'group' => array( |
101 | | - ApiBase::PARAM_TYPE => array_keys( MessageGroups::getAllGroups() ), |
| 101 | + /* API borks with | if defined multiple allowed values even |
| 102 | + * though we are expecting only one value, which can and will |
| 103 | + * contain | for page translation pages, which have group id |
| 104 | + * of format page|Pagename. */ |
| 105 | + ApiBase::PARAM_TYPE => 'string',//array_keys( MessageGroups::getAllGroups() ), |
102 | 106 | ApiBase::PARAM_REQUIRED => true, |
103 | 107 | ), |
104 | 108 | 'language' => array( |