Index: trunk/phase3/includes/GlobalFunctions.php |
— | — | @@ -437,11 +437,11 @@ |
438 | 438 | * Expand a potentially local URL to a fully-qualified URL. Assumes $wgServer |
439 | 439 | * is correct. |
440 | 440 | * |
441 | | - * The meaning of the PROT_* constants is as follows: |
442 | | - * PROT_HTTP: Output a URL starting with http:// |
443 | | - * PROT_HTTPS: Output a URL starting with https:// |
444 | | - * PROT_RELATIVE: Output a URL starting with // (protocol-relative URL) |
445 | | - * PROT_CURRENT: Output a URL starting with either http:// or https:// , depending on which protocol was used for the current incoming request |
| 441 | + * The meaning of the PROTO_* constants is as follows: |
| 442 | + * PROTO_HTTP: Output a URL starting with http:// |
| 443 | + * PROTO_HTTPS: Output a URL starting with https:// |
| 444 | + * PROTO_RELATIVE: Output a URL starting with // (protocol-relative URL) |
| 445 | + * PROTO_CURRENT: Output a URL starting with either http:// or https:// , depending on which protocol was used for the current incoming request |
446 | 446 | * |
447 | 447 | * @todo this won't work with current-path-relative URLs |
448 | 448 | * like "subdir/foo.html", etc. |