From 4ac9fa081a7c045f6a9f1cfc529d82423f485b2e Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Sun, 8 Dec 2013 09:55:49 +0100 Subject: Update to MediaWiki 1.22.0 --- includes/api/ApiQueryExternalLinks.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'includes/api/ApiQueryExternalLinks.php') diff --git a/includes/api/ApiQueryExternalLinks.php b/includes/api/ApiQueryExternalLinks.php index 761b49ea..583ef697 100644 --- a/includes/api/ApiQueryExternalLinks.php +++ b/includes/api/ApiQueryExternalLinks.php @@ -88,7 +88,7 @@ class ApiQueryExternalLinks extends ApiQueryBase { $entry = array(); $to = $row->el_to; // expand protocol-relative urls - if( $params['expandurl'] ) { + if ( $params['expandurl'] ) { $to = wfExpandUrl( $to, PROTO_CANONICAL ); } ApiResult::setContent( $entry, $to ); @@ -131,11 +131,11 @@ class ApiQueryExternalLinks extends ApiQueryBase { 'limit' => 'How many links to return', 'offset' => 'When more results are available, use this to 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. Useful for checking whether a certain page contains a certain external url', - 'expandurl' => 'Expand protocol-relative urls with the canonical protocol', + 'expandurl' => 'Expand protocol-relative URLs with the canonical protocol', ); } @@ -148,7 +148,7 @@ class ApiQueryExternalLinks extends ApiQueryBase { } public function getDescription() { - return 'Returns all external urls (not interwikis) from the given page(s)'; + return 'Returns all external URLs (not interwikis) from the given page(s)'; } public function getPossibleErrors() { -- cgit v1.2.3-54-g00ecf