From: umherirrender Date: Fri, 21 Jun 2013 21:32:28 +0000 (+0200) Subject: Capitalize URL in api help X-Git-Tag: 1.31.0-rc.0~19369^2 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/?a=commitdiff_plain;h=772918db6037938b5e0321b541ef4c01cdcc4865;p=lhc%2Fweb%2Fwiklou.git Capitalize URL in api help As part of bug 34965 Change-Id: Ia1df9748b5de33f6ef5088103ccc6b886f9a17d5 --- 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() {