|
@@ 541-551 (lines=11) @@
|
| 538 |
|
$type = null; |
| 539 |
|
break; |
| 540 |
|
|
| 541 |
|
case 'namespace': |
| 542 |
|
$namespaces = MWNamespace::getValidNamespaces(); |
| 543 |
|
$count = count( $namespaces ); |
| 544 |
|
$info[] = $context->msg( 'api-help-param-list' ) |
| 545 |
|
->params( $multi ? 2 : 1 ) |
| 546 |
|
->params( $context->getLanguage()->commaList( $namespaces ) ) |
| 547 |
|
->parse(); |
| 548 |
|
$hintPipeSeparated = false; |
| 549 |
|
// No type message necessary, we have a list of values. |
| 550 |
|
$type = null; |
| 551 |
|
break; |
| 552 |
|
|
| 553 |
|
case 'tags': |
| 554 |
|
$tags = ChangeTags::listExplicitlyDefinedTags(); |
|
@@ 553-562 (lines=10) @@
|
| 550 |
|
$type = null; |
| 551 |
|
break; |
| 552 |
|
|
| 553 |
|
case 'tags': |
| 554 |
|
$tags = ChangeTags::listExplicitlyDefinedTags(); |
| 555 |
|
$count = count( $tags ); |
| 556 |
|
$info[] = $context->msg( 'api-help-param-list' ) |
| 557 |
|
->params( $multi ? 2 : 1 ) |
| 558 |
|
->params( $context->getLanguage()->commaList( $tags ) ) |
| 559 |
|
->parse(); |
| 560 |
|
$hintPipeSeparated = false; |
| 561 |
|
$type = null; |
| 562 |
|
break; |
| 563 |
|
|
| 564 |
|
case 'limit': |
| 565 |
|
if ( isset( $settings[ApiBase::PARAM_MAX2] ) ) { |