r99246 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r99245‎ | r99246 | r99247 >
Date:20:18, 7 October 2011
Author:hashar
Status:ok
Tags:
Comment:
Tests for bug 31490 : turkish magic word with a 'i' are broken :d

The 4 first tests fails and need fixing :-)

Follow up r84057
Modified paths:
  • /trunk/phase3/tests/parser/bug31490.txt (added) (history)

Diff [purge]

Index: trunk/phase3/tests/parser/bug31490.txt
@@ -0,0 +1,55 @@
 2+!! test
 3+Bug31490 Turkish: ucfirst 'blah'
 4+!! options
 5+language=tr
 6+!! input
 7+{{ucfirst:blah}}
 8+!! result
 9+<p>Blah
 10+</p>
 11+!! end
 12+
 13+!! test
 14+Bug31490 Turkish: ucfirst 'ix'
 15+!! options
 16+language=tr
 17+!! input
 18+{{ucfirst:ix}}
 19+!! result
 20+<p>Ix
 21+</p>
 22+!! end
 23+
 24+!! test
 25+Bug31490 Turkish: lcfirst 'BLAH'
 26+!! options
 27+language=tr
 28+!! input
 29+{{lcfirst:BLAH}}
 30+!! result
 31+<p>bLAH
 32+</p>
 33+!! end
 34+
 35+!! test
 36+Bug31490 Turkish: ucfırst (with a dotless i)
 37+!! options
 38+language=tr
 39+!! input
 40+{{ucfırst:blah}}
 41+!! result
 42+<p><a href="https://www.mediawiki.org/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>
 43+</p>
 44+!! end
 45+
 46+!! test
 47+Bug31490 ucfırst (with a dotless i) with English language
 48+!! options
 49+language=en
 50+!! input
 51+{{ucfırst:blah}}
 52+!! result
 53+<p><a href="https://www.mediawiki.org/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>
 54+</p>
 55+!! end
 56+
Property changes on: trunk/phase3/tests/parser/bug31490.txt
___________________________________________________________________
Added: svn:eol-style
157 + native

Follow-up revisions

RevisionCommit summaryAuthorDate
r99289followup r99246: fixes for test casesbrion00:27, 8 October 2011
r99290Revert r84057, r84080, part of r99074: lc() and uc() custom handling for Turk...brion00:30, 8 October 2011
r99291MFT r99289, r99290: rolls back Turkish uc()/lc() support for dotless/dotted i...brion00:36, 8 October 2011
r99292MFT r99289, r99290: rolls back Turkish uc()/lc() support for dotless/dotted i...brion00:37, 8 October 2011

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r84057bug 28040 Turkish: properly handle dotted and dotless i...hashar21:56, 15 March 2011

Status & tagging log