mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/TemplateData
synced 2024-11-15 03:34:44 +00:00
Merge "Fix TemplateData API not properly working with a generator"
This commit is contained in:
commit
fc779a6de7
|
@ -183,6 +183,7 @@ class ApiTemplateData extends ApiBase {
|
|||
}
|
||||
}
|
||||
|
||||
$pageSet->populateGeneratorData( $resp );
|
||||
ApiResult::setArrayType( $resp, 'kvp', 'id' );
|
||||
ApiResult::setIndexedTagName( $resp, 'page' );
|
||||
|
||||
|
|
Loading…
Reference in a new issue