http://www.mediawiki.org/wiki/Special:Code/MediaWiki/84709

Revision: 84709
Author:   reedy
Date:     2011-03-24 21:21:15 +0000 (Thu, 24 Mar 2011)
Log Message:
-----------
Commiting simplest hack fix for strict errors

Instantiating new instance of UtfNormal

Will probably nee tidying up later, if we have some other instance we can 
normally use

Modified Paths:
--------------
    trunk/phase3/languages/Language.php

Modified: trunk/phase3/languages/Language.php
===================================================================
--- trunk/phase3/languages/Language.php 2011-03-24 21:05:31 UTC (rev 84708)
+++ trunk/phase3/languages/Language.php 2011-03-24 21:21:15 UTC (rev 84709)
@@ -2035,7 +2035,8 @@
         */
        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 );


_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to