} else {
$result_array['headitems'] = $this->formatHeadItems( $p_result->getHeadItems() );
}
- $this->addDeprecation( 'apiwarn-deprecation-parse-headitems', 'action=parse&prop=headitems' );
}
if ( isset( $prop['headhtml'] ) ) {
'sections',
'revid',
'displaytitle',
- 'headitems',
'headhtml',
'modules',
'jsconfigvars',
'limitreportdata',
'limitreporthtml',
'parsetree',
- 'parsewarnings'
+ 'parsewarnings',
+ 'headitems',
],
ApiBase::PARAM_HELP_MSG_PER_VALUE => [
'parsetree' => [ 'apihelp-parse-paramvalue-prop-parsetree', CONTENT_MODEL_WIKITEXT ],
],
+ ApiBase::PARAM_DEPRECATED_VALUES => [
+ 'headitems' => 'apiwarn-deprecation-parse-headitems',
+ ],
],
'wrapoutputclass' => 'mw-parser-output',
'pst' => false,