From 75afbc3ff7d11c285c812d51b8ed8a2ec71c0c27 Mon Sep 17 00:00:00 2001 From: Roan Kattouw Date: Wed, 3 Aug 2011 12:52:17 +0000 Subject: [PATCH] Followup r93266: also rename PROT_* to PROTO_* in the comments --- includes/GlobalFunctions.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/includes/GlobalFunctions.php b/includes/GlobalFunctions.php index 51861e3c89..b884a895bf 100644 --- a/includes/GlobalFunctions.php +++ b/includes/GlobalFunctions.php @@ -437,11 +437,11 @@ define( 'PROTO_CURRENT', null ); * Expand a potentially local URL to a fully-qualified URL. Assumes $wgServer * is correct. * - * The meaning of the PROT_* constants is as follows: - * PROT_HTTP: Output a URL starting with http:// - * PROT_HTTPS: Output a URL starting with https:// - * PROT_RELATIVE: Output a URL starting with // (protocol-relative URL) - * PROT_CURRENT: Output a URL starting with either http:// or https:// , depending on which protocol was used for the current incoming request + * The meaning of the PROTO_* constants is as follows: + * PROTO_HTTP: Output a URL starting with http:// + * PROTO_HTTPS: Output a URL starting with https:// + * PROTO_RELATIVE: Output a URL starting with // (protocol-relative URL) + * PROTO_CURRENT: Output a URL starting with either http:// or https:// , depending on which protocol was used for the current incoming request * * @todo this won't work with current-path-relative URLs * like "subdir/foo.html", etc. -- 2.20.1