Index: branches/wmf/1.17wmf1/languages/classes/LanguageEo.php |
— | — | @@ -41,12 +41,12 @@ |
42 | 42 | if ( strcasecmp( $in, 'x' ) == 0 && strcasecmp( $out, 'utf-8' ) == 0 ) { |
43 | 43 | return preg_replace_callback ( |
44 | 44 | '/([cghjsu]x?)((?:xx)*)(?!x)/i', |
45 | | - 'strrtxuCallback', $string ); |
| 45 | + array( $this, 'strrtuxCallback' ), $string ); |
46 | 46 | } else if ( strcasecmp( $in, 'UTF-8' ) == 0 && strcasecmp( $out, 'x' ) == 0 ) { |
47 | 47 | # Double Xs only if they follow cxapelutaj literoj. |
48 | 48 | return preg_replace_callback( |
49 | 49 | '/((?:[cghjsu]|\xc4[\x88\x89\x9c\x9d\xa4\xa5\xb4\xb5]|\xc5[\x9c\x9d\xac\xad])x*)/ei', |
50 | | - 'strrtuxCallback', $string ); |
| 50 | + array( $this, 'strrtuxCallback' ), $string ); |
51 | 51 | } |
52 | 52 | return parent::iconv( $in, $out, $string ); |
53 | 53 | } |