From: Roan Kattouw Date: Wed, 3 Aug 2011 12:52:17 +0000 (+0000) Subject: Followup r93266: also rename PROT_* to PROTO_* in the comments X-Git-Tag: 1.31.0-rc.0~28462 X-Git-Url: http://git.cyclocoop.org/%28?a=commitdiff_plain;h=75afbc3ff7d11c285c812d51b8ed8a2ec71c0c27;p=lhc%2Fweb%2Fwiklou.git Followup r93266: also rename PROT_* to PROTO_* in the comments --- 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.