Index: trunk/phase3/maintenance/installExtension.php |
— | — | @@ -414,7 +414,7 @@ |
415 | 415 | |
416 | 416 | foreach ( $ff as $f ) { |
417 | 417 | if ( is_dir( $f ) && !is_link( $f ) ) { |
418 | | - $ok = ExtensionInstaller::copyDir( $f, $d ); |
| 418 | + $ok = $this->copyDir( $f, $d ); |
419 | 419 | if ( !$ok ) return false; |
420 | 420 | } |
421 | 421 | else { |
— | — | @@ -444,7 +444,7 @@ |
445 | 445 | if ( is_link( $f ) ) continue; # skip link |
446 | 446 | |
447 | 447 | if ( is_dir( $f ) ) { |
448 | | - ExtensionInstaller::setPermissions( $f, $dirbits, $filebits ); |
| 448 | + $this->setPermissions( $f, $dirbits, $filebits ); |
449 | 449 | } |
450 | 450 | else { |
451 | 451 | if ( !chmod( $f, $filebits ) ) ExtensionInstaller::warn( "faield to set permissions for $f" ); |
Index: trunk/phase3/maintenance/checkSyntax.php |
— | — | @@ -121,7 +121,7 @@ |
122 | 122 | |
123 | 123 | preg_match_all( '/^\s*[AM].{7}(.*?)\r?$/m', $output, $matches ); |
124 | 124 | foreach ( $matches[1] as $file ) { |
125 | | - if ( self::isSuitableFile( $file ) && !is_dir( $file ) ) { |
| 125 | + if ( $this->isSuitableFile( $file ) && !is_dir( $file ) ) { |
126 | 126 | $this->mFiles[] = $file; |
127 | 127 | } |
128 | 128 | } |
Index: trunk/phase3/includes/ZhClient.php |
— | — | @@ -123,7 +123,7 @@ |
124 | 124 | $q = "SEG $len\n$text"; |
125 | 125 | $result = $this->query($q); |
126 | 126 | if(!$result) {// fallback to character based segmentation |
127 | | - $result = ZhClientFake::segment($text); |
| 127 | + $result = $this->segment($text); |
128 | 128 | } |
129 | 129 | return $result; |
130 | 130 | } |
Index: trunk/phase3/languages/classes/LanguageKk_cyrl.php |
— | — | @@ -37,7 +37,7 @@ |
38 | 38 | $secondPerson = array( "з" ); // 1st plural, 2nd formal |
39 | 39 | $thirdPerson = array( "ы", "і" ); // 3rd |
40 | 40 | |
41 | | - $lastLetter = self::lastLetter( $word, $allVowels ); |
| 41 | + $lastLetter = $this->lastLetter( $word, $allVowels ); |
42 | 42 | $wordEnding =& $lastLetter[0]; |
43 | 43 | $wordLastVowel =& $lastLetter[1]; |
44 | 44 | |
Index: trunk/phase3/languages/classes/LanguageZh_hans.php |
— | — | @@ -25,7 +25,7 @@ |
26 | 26 | // Double-width roman characters |
27 | 27 | $s = parent::normalizeForSearch( $s ); |
28 | 28 | $s = trim( $s ); |
29 | | - $s = self::segmentByWord( $s ); |
| 29 | + $s = $this->segmentByWord( $s ); |
30 | 30 | |
31 | 31 | wfProfileOut( __METHOD__ ); |
32 | 32 | return $s; |