From 40a8d354443f700d92363ef4605acac15229948d Mon Sep 17 00:00:00 2001 From: Max Semenik Date: Tue, 17 Oct 2017 23:29:15 -0700 Subject: [PATCH] Hard deprecate Title::escapeFragmentForURL() No usages in core and only one outside of core, being fixed in If1191817ee2db84d8fd3b91aa13e6257faf10a41. Change-Id: I91ca289e989a4dc32de083b9cc002c9c9d75a3e1 --- includes/Title.php | 1 + 1 file changed, 1 insertion(+) diff --git a/includes/Title.php b/includes/Title.php index 3da6ab9552..718239dbeb 100644 --- a/includes/Title.php +++ b/includes/Title.php @@ -776,6 +776,7 @@ class Title implements LinkTarget { * @return string Escaped string */ static function escapeFragmentForURL( $fragment ) { + wfDeprecated( __METHOD__, '1.30' ); # Note that we don't urlencode the fragment. urlencoded Unicode # fragments appear not to work in IE (at least up to 7) or in at least # one version of Opera 9.x. The W3C validator, for one, doesn't seem -- 2.20.1