if ( isset( $prop['autonym'] ) ) {
$entry['autonym'] = Language::fetchLanguageName( $row->ll_lang );
}
- ApiResult::setContent( $entry, $row->ll_title );
+ ApiResult::setContentValue( $entry, 'title', $row->ll_title );
$fit = $this->addPageSubItem( $row->ll_from, $entry );
if ( !$fit ) {
$this->setContinueEnumParameter( 'continue', "{$row->ll_from}|{$row->ll_lang}" );
'url',
'langname',
'autonym',
- )
+ ),
+ ApiBase::PARAM_HELP_MSG_PER_VALUE => array(),
),
'lang' => null,
'title' => null,
}
public function getHelpUrls() {
- return 'https://www.mediawiki.org/wiki/API:Properties#langlinks_.2F_ll';
+ return 'https://www.mediawiki.org/wiki/API:Langlinks';
}
}