From: Niklas Laxström Date: Sun, 6 Nov 2011 12:15:28 +0000 (+0000) Subject: Didn't we agree to use @since? X-Git-Tag: 1.31.0-rc.0~26680 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_aide%28?a=commitdiff_plain;h=0ff0f09645e2c6f19c1d340319b03779d1e08082;p=lhc%2Fweb%2Fwiklou.git Didn't we agree to use @since? --- diff --git a/includes/Title.php b/includes/Title.php index 3ea7a8614c..aa36c05b01 100644 --- a/includes/Title.php +++ b/includes/Title.php @@ -996,6 +996,7 @@ class Title { /** * HTML-escaped version of getCanonicalURL() + * @since 1.18 */ public function escapeCanonicalURL( $query = '', $variant = false ) { return htmlspecialchars( $this->getCanonicalURL( $query, $variant ) ); @@ -1032,6 +1033,7 @@ class Title { * @param $query string An optional query string * @param $variant string Language variant of URL (for sr, zh, ...) * @return string The URL + * @since 1.18 */ public function getCanonicalURL( $query = '', $variant = false ) { $url = wfExpandUrl( $this->getLocalURL( $query, $variant ) . $this->getFragmentForURL(), PROTO_CANONICAL );