https://www.mediawiki.org/wiki/Special:Code/MediaWiki/102172
Revision: 102172
Author: nikerabbit
Date: 2011-11-06 12:15:28 +0000 (Sun, 06 Nov 2011)
Log Message:
-----------
Didn't we agree to use @since?
Modified Paths:
--------------
trunk/phase3/includes/Title.php
Modified: trunk/phase3/includes/Title.php
===================================================================
--- trunk/phase3/includes/Title.php 2011-11-06 11:51:57 UTC (rev 102171)
+++ trunk/phase3/includes/Title.php 2011-11-06 12:15:28 UTC (rev 102172)
@@ -996,6 +996,7 @@
/**
* HTML-escaped version of getCanonicalURL()
+ * @since 1.18
*/
public function escapeCanonicalURL( $query = '', $variant = false ) {
return htmlspecialchars( $this->getCanonicalURL( $query,
$variant ) );
@@ -1032,6 +1033,7 @@
* @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 );
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs