From 772918db6037938b5e0321b541ef4c01cdcc4865 Mon Sep 17 00:00:00 2001 From: umherirrender Date: Fri, 21 Jun 2013 23:32:28 +0200 Subject: [PATCH] Capitalize URL in api help As part of bug 34965 Change-Id: Ia1df9748b5de33f6ef5088103ccc6b886f9a17d5 --- includes/api/ApiQueryExtLinksUsage.php | 4 ++-- includes/api/ApiQueryExternalLinks.php | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/includes/api/ApiQueryExtLinksUsage.php b/includes/api/ApiQueryExtLinksUsage.php index 124d273fb4..456e87ba91 100644 --- a/includes/api/ApiQueryExtLinksUsage.php +++ b/includes/api/ApiQueryExtLinksUsage.php @@ -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 ) { diff --git a/includes/api/ApiQueryExternalLinks.php b/includes/api/ApiQueryExternalLinks.php index 56ee268083..583ef697e6 100644 --- a/includes/api/ApiQueryExternalLinks.php +++ b/includes/api/ApiQueryExternalLinks.php @@ -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() { -- 2.20.1