dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
update relnotes
[lhc/web/wiklou.git]
/
includes
/
Xml.php
diff --git
a/includes/Xml.php
b/includes/Xml.php
index
67dda7f
..
4485626
100644
(file)
--- a/
includes/Xml.php
+++ b/
includes/Xml.php
@@
-50,7
+50,9
@@
class Xml {
$attribs = array_map( array( 'UtfNormal', 'cleanUp' ), $attribs );
}
if( $contents ) {
$attribs = array_map( array( 'UtfNormal', 'cleanUp' ), $attribs );
}
if( $contents ) {
+ wfProfileIn( __METHOD__ . '-norm' );
$contents = UtfNormal::cleanUp( $contents );
$contents = UtfNormal::cleanUp( $contents );
+ wfProfileOut( __METHOD__ . '-norm' );
}
return self::element( $element, $attribs, $contents );
}
}
return self::element( $element, $attribs, $contents );
}
@@
-67,7
+69,7
@@
class Xml {
* @param $includehidden Bool: include hidden namespaces?
* @return String: Html string containing the namespace selector
*/
* @param $includehidden Bool: include hidden namespaces?
* @return String: Html string containing the namespace selector
*/
- public static function
&
namespaceSelector($selected = '', $allnamespaces = null, $includehidden=false) {
+ public static function namespaceSelector($selected = '', $allnamespaces = null, $includehidden=false) {
global $wgContLang;
if( $selected !== '' ) {
if( is_null( $selected ) ) {
global $wgContLang;
if( $selected !== '' ) {
if( is_null( $selected ) ) {