Revert r84057, r84080, part of r99074: lc() and uc() custom handling for Turkish...
authorBrion Vibber <brion@users.mediawiki.org>
Sat, 8 Oct 2011 00:30:50 +0000 (00:30 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Sat, 8 Oct 2011 00:30:50 +0000 (00:30 +0000)
Deleted extra bug file as that was updated in r99289

languages/classes/LanguageTr.php
tests/parser/bug31490.txt [deleted file]

index 0a2673c..b6acea4 100644 (file)
@@ -36,46 +36,4 @@ class LanguageTr extends Language {
                }
        }
 
-       /**
-        * @see bug 28040
-        *
-        * @param $string string
-        * @param $first string|bool
-        *
-        * @return string
-        */
-       function uc( $string, $first = false ) {
-               if ( strlen( $string ) ) {
-                       if ( $first ) {
-                               if ( $string[0] === 'i' ) {
-                                       $string = 'İ' . substr( $string, 1 );
-                               }
-                       } else {
-                               $string = str_replace( 'i', 'İ', $string );
-                       }
-               }
-               return parent::uc( $string, $first );
-       }
-
-       /**
-        * @see bug 28040
-        *
-        * @param $string string
-        * @param $first string|bool
-        *
-        * @return string
-        */
-       function lc( $string, $first = false ) {
-               if ( strlen( $string ) ) {
-                       if ( $first ) {
-                               if ( $string[0] == 'I' ) {
-                                       $string = 'ı' . substr( $string, 1 );
-                               }
-                       } else {
-                               $string = str_replace( 'I', 'ı', $string );
-                       }
-               }
-               return parent::lc( $string, $first );
-       }
-
 }
diff --git a/tests/parser/bug31490.txt b/tests/parser/bug31490.txt
deleted file mode 100644 (file)
index edb6cd0..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
-!! test
-Bug31490 Turkish: ucfirst 'blah'
-!! options
-language=tr
-!! input
-{{ucfirst:blah}}
-!! result
-<p>Blah
-</p>
-!! end
-
-!! test
-Bug31490 Turkish: ucfirst 'ix'
-!! options
-language=tr
-!! input
-{{ucfirst:ix}}
-!! result
-<p>İx
-</p>
-!! end
-
-!! test
-Bug31490 Turkish: lcfirst 'BLAH'
-!! options
-language=tr
-!! input
-{{lcfirst:BLAH}}
-!! result
-<p>bLAH
-</p>
-!! end
-
-!! test
-Bug31490 Turkish: ucfırst (with a dotless i)
-!! options
-language=tr
-!! input
-{{ucfırst:blah}}
-!! result
-<p><a href="/index.php?title=%C5%9Eablon:Ucf%C4%B1rst:blah&amp;action=edit&amp;redlink=1" class="new" title="Şablon:Ucfırst:blah (sayfa mevcut değil)">Şablon:Ucfırst:blah</a>
-</p>
-!! end
-
-!! test
-Bug31490 ucfırst (with a dotless i) with English language
-!! options
-language=en
-!! input
-{{ucfırst:blah}}
-!! result
-<p><a href="/index.php?title=Template:Ucf%C4%B1rst:blah&amp;action=edit&amp;redlink=1" class="new" title="Template:Ucfırst:blah (page does not exist)">Template:Ucfırst:blah</a>
-</p>
-!! end
-