$this->addWhereFld( 'page_namespace', $params['namespace'] );
}
+ // Normalize query to match the normalization applied for the externallinks table
+ $query = Parser::normalizeLinkUrl( $query );
+
$whereQuery = $this->prepareUrlQuerySearchString( $query, $protocol );
if ( $whereQuery !== null ) {
}
public function getHelpUrls() {
- return 'https://www.mediawiki.org/wiki/API:Exturlusage';
+ return 'https://www.mediawiki.org/wiki/Special:MyLanguage/API:Exturlusage';
}
}