Merge "Improve comments on fields and fix opening_text - needs no highlights."
[lhc/web/wiklou.git] / includes / api / ApiExpandTemplates.php
index 286fe88..48e7698 100644 (file)
@@ -77,6 +77,11 @@ class ApiExpandTemplates extends ApiBase {
                        $options->setRemoveComments( false );
                }
 
+               $reset = null;
+               $suppressCache = false;
+               Hooks::run( 'ApiMakeParserOptions',
+                       [ $options, $title_obj, $params, $this, &$reset, &$suppressCache ] );
+
                $retval = [];
 
                if ( isset( $prop['parsetree'] ) || $params['generatexml'] ) {