From: Brion Vibber Date: Wed, 29 Jun 2011 23:35:05 +0000 (+0000) Subject: Tweak doc comments on WebRequest::getRequestURL() & WebRequest::getFullRequestURL... X-Git-Tag: 1.31.0-rc.0~29177 X-Git-Url: http://git.cyclocoop.org/%40spipnet%40?a=commitdiff_plain;h=f569ab1005b485d9149d3334d6c39065f810459d;p=lhc%2Fweb%2Fwiklou.git Tweak doc comments on WebRequest::getRequestURL() & WebRequest::getFullRequestURL() per in-person discussion with preilly; the docs were unclear as to whether the query string is included (it is). --- diff --git a/includes/WebRequest.php b/includes/WebRequest.php index b338261095..c4f66d5b3d 100644 --- a/includes/WebRequest.php +++ b/includes/WebRequest.php @@ -536,7 +536,8 @@ class WebRequest { } /** - * Return the path portion of the request URI. + * Return the path and query string portion of the request URI. + * This will be suitable for use as a relative link in HTML output. * * @return String */ @@ -574,7 +575,9 @@ class WebRequest { } /** - * Return the request URI with the canonical service and hostname. + * Return the request URI with the canonical service and hostname, path, + * and query string. This will be suitable for use as an absolute link + * in HTML or other output. * * @return String */