Index: trunk/extensions/SemanticMediaWiki/includes/SMW_QueryPrinter.php |
— | — | @@ -383,7 +383,7 @@ |
384 | 384 | protected function exportFormatParameters() { |
385 | 385 | return array( |
386 | 386 | array('name' => 'limit', 'type' => 'int', 'description' => wfMsg('smw_paramdesc_limit')), |
387 | | - array('name' => 'headers', 'type' => 'enumeration', 'description' => wfMsg('smw_paramdesc_headers'), 'values' => array('show', 'hide')), |
| 387 | + array('name' => 'headers', 'type' => 'enumeration', 'description' => wfMsg('smw_paramdesc_headers'), 'values' => array('show', 'hide', 'plain')), |
388 | 388 | array('name' => 'mainlabel', 'type' => 'string', 'description' => wfMsg('smw_paramdesc_mainlabel')), |
389 | 389 | array('name' => 'searchlabel', 'type' => 'string', 'description' => wfMsg('smw_paramdesc_searchlabel')), |
390 | 390 | ); |
— | — | @@ -397,7 +397,7 @@ |
398 | 398 | public function getParameters() { |
399 | 399 | return array( |
400 | 400 | array('name' => 'limit', 'type' => 'int', 'description' => wfMsg('smw_paramdesc_limit')), |
401 | | - array('name' => 'headers', 'type' => 'enumeration', 'description' => wfMsg('smw_paramdesc_headers'), 'values' => array('show', 'hide')), |
| 401 | + array('name' => 'headers', 'type' => 'enumeration', 'description' => wfMsg('smw_paramdesc_headers'), 'values' => array('show', 'hide', 'plain')), |
402 | 402 | array('name' => 'mainlabel', 'type' => 'string', 'description' => wfMsg('smw_paramdesc_mainlabel')), |
403 | 403 | array('name' => 'link', 'type' => 'enumeration', 'description' => wfMsg('smw_paramdesc_link'), 'values' => array('all', 'subject', 'none')), |
404 | 404 | ); |