if ( $params['expandurl'] ) {
$to = wfExpandUrl( $to, PROTO_CANONICAL );
}
- ApiResult::setContent( $entry, $to );
+ ApiResult::setContentValue( $entry, 'url', $to );
$fit = $this->addPageSubItem( $row->el_from, $entry );
if ( !$fit ) {
$this->setContinueEnumParameter( 'offset', $offset + $count - 1 );
}
public function getHelpUrls() {
- return 'https://www.mediawiki.org/wiki/API:Properties#extlinks_.2F_el';
+ return 'https://www.mediawiki.org/wiki/API:Extlinks';
}
}