dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
40f6934
)
Remove use of deprecated utf8ToCodepoint in ApiFormatXml.
author
addshore
<addshorewiki@gmail.com>
Mon, 29 Jun 2015 18:21:44 +0000
(20:21 +0200)
committer
Legoktm
<legoktm.wikipedia@gmail.com>
Mon, 29 Jun 2015 18:37:33 +0000
(18:37 +0000)
This usage, in ApiFormatXml, is the final usage
in core.
Change-Id: Ibd926863d323e6d6d1b2cc5fd5f5f0e1aef8529d
includes/api/ApiFormatXml.php
patch
|
blob
|
history
diff --git
a/includes/api/ApiFormatXml.php
b/includes/api/ApiFormatXml.php
index
4c7d720
..
4be7d93
100644
(file)
--- a/
includes/api/ApiFormatXml.php
+++ b/
includes/api/ApiFormatXml.php
@@
-267,7
+267,7
@@
class ApiFormatXml extends ApiFormatBase {
return '_' . preg_replace_callback(
"/[^$nc]/uS",
function ( $m ) {
- return sprintf( '.%X.', utf8ToCodepoint( $m[0] ) );
+ return sprintf( '.%X.',
UtfNormal\Utils::
utf8ToCodepoint( $m[0] ) );
},
str_replace( '.', '.2E.', $name )
);