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:
450ab19
)
Commiting simplest hack fix for strict errors
author
Sam Reed
<reedy@users.mediawiki.org>
Thu, 24 Mar 2011 21:21:15 +0000
(21:21 +0000)
committer
Sam Reed
<reedy@users.mediawiki.org>
Thu, 24 Mar 2011 21:21:15 +0000
(21:21 +0000)
Instantiating new instance of UtfNormal
Will probably nee tidying up later, if we have some other instance we can normally use
languages/Language.php
patch
|
blob
|
history
diff --git
a/languages/Language.php
b/languages/Language.php
index
a6ae98a
..
360c9b4
100644
(file)
--- a/
languages/Language.php
+++ b/
languages/Language.php
@@
-2035,7
+2035,8
@@
class Language {
*/
function normalize( $s ) {
global $wgAllUnicodeFixes;
- $s = UtfNormal::cleanUp( $s );
+ $u = new UtfNormal;
+ $s = $u->cleanUp( $s );
if ( $wgAllUnicodeFixes ) {
$s = $this->transformUsingPairFile( 'normalize-ar.ser', $s );
$s = $this->transformUsingPairFile( 'normalize-ml.ser', $s );