diff options
Diffstat (limited to 'includes/api/ApiQueryExtLinksUsage.php')
-rw-r--r-- | includes/api/ApiQueryExtLinksUsage.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/includes/api/ApiQueryExtLinksUsage.php b/includes/api/ApiQueryExtLinksUsage.php index eb9cdf9e..456e87ba 100644 --- a/includes/api/ApiQueryExtLinksUsage.php +++ b/includes/api/ApiQueryExtLinksUsage.php @@ -123,7 +123,7 @@ class ApiQueryExtLinksUsage extends ApiQueryGeneratorBase { if ( $fld_url ) { $to = $row->el_to; // expand protocol-relative urls - if( $params['expandurl'] ) { + if ( $params['expandurl'] ) { $to = wfExpandUrl( $to, PROTO_CANONICAL ); } $vals['url'] = $to; @@ -218,13 +218,13 @@ class ApiQueryExtLinksUsage extends ApiQueryGeneratorBase { ), 'offset' => 'Used for paging. Use the value returned for "continue"', 'protocol' => array( - "Protocol of the url. If empty and {$p}query set, the protocol is http.", + "Protocol of the URL. If empty and {$p}query set, the protocol is http.", "Leave both this and {$p}query empty to list all external links" ), 'query' => 'Search string without protocol. See [[Special:LinkSearch]]. Leave empty to list all external links', 'namespace' => 'The page namespace(s) to enumerate.', 'limit' => 'How many pages to return.', - 'expandurl' => 'Expand protocol-relative urls with the canonical protocol', + 'expandurl' => 'Expand protocol-relative URLs with the canonical protocol', ); if ( $wgMiserMode ) { |