'legacy format has been used for the output. This format is deprecated, and in ' .
'the future, a default value will be set for the prop parameter, causing the new' .
'format to always be used.' );
'legacy format has been used for the output. This format is deprecated, and in ' .
'the future, a default value will be set for the prop parameter, causing the new' .
'format to always be used.' );
} else {
$title_obj = Title::newFromText( $params['title'] );
if ( !$title_obj || $title_obj->isExternal() ) {
} else {
$title_obj = Title::newFromText( $params['title'] );
if ( !$title_obj || $title_obj->isExternal() ) {
if ( isset( $prop['parsetree'] ) || $params['generatexml'] ) {
$wgParser->startExternalParse( $title_obj, $options, Parser::OT_PREPROCESS );
$dom = $wgParser->preprocessToDom( $params['text'] );
if ( isset( $prop['parsetree'] ) || $params['generatexml'] ) {
$wgParser->startExternalParse( $title_obj, $options, Parser::OT_PREPROCESS );
$dom = $wgParser->preprocessToDom( $params['text'] );
$categories_result[] = $entry;
}
ApiResult::setIndexedTagName( $categories_result, 'category' );
$categories_result[] = $entry;
}
ApiResult::setIndexedTagName( $categories_result, 'category' );
$result->addValue( null, $this->getModuleName(), $retval );
}
public function getAllowedParams() {
$result->addValue( null, $this->getModuleName(), $retval );
}
public function getAllowedParams() {
ApiBase::PARAM_TYPE => 'text',
ApiBase::PARAM_REQUIRED => true,
ApiBase::PARAM_TYPE => 'text',
ApiBase::PARAM_REQUIRED => true,
ApiBase::PARAM_TYPE => 'boolean',
ApiBase::PARAM_DEPRECATED => true,
ApiBase::PARAM_TYPE => 'boolean',
ApiBase::PARAM_DEPRECATED => true,
'action=expandtemplates&text={{Project:Sandbox}}'
=> 'apihelp-expandtemplates-example-simple',
'action=expandtemplates&text={{Project:Sandbox}}'
=> 'apihelp-expandtemplates-example-simple',