Followup r93266: also rename PROT_* to PROTO_* in the comments
authorRoan Kattouw <catrope@users.mediawiki.org>
Wed, 3 Aug 2011 12:52:17 +0000 (12:52 +0000)
committerRoan Kattouw <catrope@users.mediawiki.org>
Wed, 3 Aug 2011 12:52:17 +0000 (12:52 +0000)
includes/GlobalFunctions.php

index 51861e3..b884a89 100644 (file)
@@ -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.