mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/TextExtracts
synced 2024-11-15 03:35:20 +00:00
Merge "Send sectionpreview parameter on TextExtract parse"
This commit is contained in:
commit
698a8a8066
|
@ -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'] ) {
|
||||
|
|
Loading…
Reference in a new issue