Index: trunk/phase3/includes/Title.php |
— | — | @@ -996,6 +996,7 @@ |
997 | 997 | |
998 | 998 | /** |
999 | 999 | * HTML-escaped version of getCanonicalURL() |
| 1000 | + * @since 1.18 |
1000 | 1001 | */ |
1001 | 1002 | public function escapeCanonicalURL( $query = '', $variant = false ) { |
1002 | 1003 | return htmlspecialchars( $this->getCanonicalURL( $query, $variant ) ); |
— | — | @@ -1032,6 +1033,7 @@ |
1033 | 1034 | * @param $query string An optional query string |
1034 | 1035 | * @param $variant string Language variant of URL (for sr, zh, ...) |
1035 | 1036 | * @return string The URL |
| 1037 | + * @since 1.18 |
1036 | 1038 | */ |
1037 | 1039 | public function getCanonicalURL( $query = '', $variant = false ) { |
1038 | 1040 | $url = wfExpandUrl( $this->getLocalURL( $query, $variant ) . $this->getFragmentForURL(), PROTO_CANONICAL ); |