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:
5b811d7
)
Merge "Remove use of deprecated utf8ToCodepoint in ApiFormatXml."
author
addshore
<addshorewiki@gmail.com>
Mon, 29 Jun 2015 18:44:15 +0000
(18:44 +0000)
committer
Gerrit Code Review
<gerrit@wikimedia.org>
Mon, 29 Jun 2015 18:44:15 +0000
(18:44 +0000)
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 )
);