Merge "Send sectionpreview parameter on TextExtract parse"

This commit is contained in:
jenkins-bot 2017-06-29 00:25:10 +00:00 committed by Gerrit Code Review
commit 698a8a8066

View file

@ -220,6 +220,8 @@ class ApiQueryExtracts extends ApiQueryBase {
'action' => 'parse',
'page' => $page->getTitle()->getPrefixedText(),
'prop' => 'text',
// Invokes special handling when using partial wikitext (T168743)
'sectionpreview' => 1,
'wrapoutputclass' => '',
];
if ( $this->params['intro'] ) {