dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
0ef92fb
)
Merge "Hard deprecate Title::escapeFragmentForURL()"
author
jenkins-bot
<jenkins-bot@gerrit.wikimedia.org>
Fri, 20 Oct 2017 22:12:56 +0000
(22:12 +0000)
committer
Gerrit Code Review
<gerrit@wikimedia.org>
Fri, 20 Oct 2017 22:12:56 +0000
(22:12 +0000)
includes/Title.php
patch
|
blob
|
history
diff --git
a/includes/Title.php
b/includes/Title.php
index
3da6ab9
..
718239d
100644
(file)
--- 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