From: Platonides
boldboldbolditalics +# This was the original html, but it has also been +#
'bold'boldbolditalics #
-# While that might be marginally more intuitive, maybe, the six-apostrophe -# construct is clearly pathological and the result stated here (which is what -# the parser actually does) is about as reasonable as anything. +# See bug 18765. !!test Mixing markup for italics and bold !! options !! input '''bold''''''bold''bolditalics''''' !! result -'bold'boldbolditalics +
boldboldbolditalics
!! end @@ -6746,9 +6744,9 @@ Self-link in language variants !! options title=[[Dunav]] language=sr !! input -Both [[Dunav]] and [[ÐÑнав]] are names for this river. +Both [[Dunav]] and [[?????]] are names for this river. !! result -Both Dunav and ÐÑнав are names for this river. +
Both Dunav and ????? are names for this river.
!!end @@ -6758,9 +6756,9 @@ Link to pages in language variants !! options language=sr !! input -Main Page can be written as [[Ðаин Ðаге]] +Main Page can be written as [[???? ????]] !! result -Main Page can be written as Ðаин Ðаге +
Main Page can be written as ???? ????
!!end @@ -6770,9 +6768,9 @@ Multiple links to pages in language variants !! options language=sr !! input -[[Main Page]] can be written as [[Ðаин Ðаге]] same as [[Ðаин Ðаге]]. +[[Main Page]] can be written as [[???? ????]] same as [[???? ????]]. !! result -Main Page can be written as Ðаин Ðаге same as Ðаин Ðаге. +
Main Page can be written as ???? ???? same as ???? ????.
!!end @@ -6782,7 +6780,7 @@ Simple template in language variants !! options language=sr !! input -{{ÑеÑÑ}} +{{????}} !! resultThis is a test template
@@ -6794,7 +6792,7 @@ Template with explicit namespace in language variants !! options language=sr !! input -{{Template:ÑеÑÑ}} +{{Template:????}} !! resultThis is a test template
@@ -6806,7 +6804,7 @@ Basic test for template parameter in language variants !! options language=sr !! input -{{паÑамÑеÑÑ|param=foo}} +{{?????????|param=foo}} !! resultThis is a test template with parameter foo
@@ -6818,9 +6816,9 @@ Simple category in language variants !! options language=sr cat !! input -[[Category:ÐедиаWики УÑеÑ'Ñ ÐÑиде]] +[[Category:?????W??? ????'? ?????]] !! result -MediaWiki User's Guide +MediaWiki User's Guide !! end @@ -6843,7 +6841,7 @@ language=sr variant=sr-ec !! input Latinski: -{Ne nuntium necare}- !! result -ÐаÑинÑки: Ne nuntium necare +
????????: Ne nuntium necare
!! end @@ -6855,7 +6853,7 @@ language=sr variant=sr-ec !! input Latinski: -{Ne nuntium necare}- !! result -ÐаÑинÑки: Ne nuntium necare +
????????: Ne nuntium necare
!! end @@ -6879,7 +6877,7 @@ language=sr variant=sr-ec !! input == -{Naslov}- == !! result -ФÑидÑÐ¸Ñ IV Ñе ÑаÑ. +
??????? IV ?? ???.
!! end @@ -7056,23 +7054,23 @@ Case insensitivity of parser functions for non-ASCII characters (bug 8143) language=cs title=[[Main Page]] !! input -{{PRVNÃVELKÃ:ÄÅ¡ÄÅ}} -{{prvnÃvelké:ÄÅ¡ÄÅ}} -{{PRVNÃMALÃ:ÄÅ¡ÄÅ}} -{{prvnÃmalé:ÄÅ¡ÄÅ}} -{{MALÃ:ÄÅ¡ÄÅ}} -{{malá:ÄÅ¡ÄÅ}} -{{VELKÃ:ÄÅ¡ÄÅ}} -{{velká:ÄÅ¡ÄÅ}} +{{PRVNÃVELKÃ:eÅ¡cr}} +{{prvnÃvelké:eÅ¡cr}} +{{PRVNÃMALÃ:eÅ¡cr}} +{{prvnÃmalé:eÅ¡cr}} +{{MALÃ:eÅ¡cr}} +{{malá:eÅ¡cr}} +{{VELKÃ:eÅ¡cr}} +{{velká:eÅ¡cr}} !! result -ÄÅ¡ÄÅ -ÄÅ¡ÄÅ -ÄÅ¡ÄÅ -ÄÅ¡ÄÅ -ÄÅ¡ÄÅ -ÄÅ¡ÄÅ -ÄÅ ÄÅ -ÄÅ ÄÅ +
Ešcr +Ešcr +ešcr +ešcr +ešcr +ešcr +EŠCR +EŠCR
!! end @@ -7339,7 +7337,7 @@ language=fa !! input [http://en.wikipedia.org/] !! result -[Û±] +
!! end @@ -7466,7 +7464,7 @@ comment title=[[Main Page]] !! input /* External links */ removed bogus entries !! result -âExternal links: removed bogus entries +?External links: removed bogus entries !!end !! test @@ -7476,7 +7474,7 @@ comment local title=[[Main Page]] !! input /* External links */ removed bogus entries !! result -âExternal links: removed bogus entries +?External links: removed bogus entries !!end !! test @@ -7537,10 +7535,86 @@ title=[[Main Page]] #section !! end +!! test +Bold/italic markup handled differently depending on leading whitespace (bug 18765) +!!input +'''Look at ''this edit'''s complicated bold/italic markup!''' + +'''Look at ''this edit'''s complicated bold/italic markup!''' + + '''Look at ''this edit'''s complicated bold/italic markup!''' + +Look at this edit's complicated bold/italic markup! +
Look at this edit's complicated bold/italic markup! +
Look at this edit's complicated bold/italic markup! +
Look at this edit's complicated bold/italic markup! +
+Look at this edit's complicated bold/italic markup! ++
Look at this edit's complicated bold/italic markup! + |
This was Italic this was plain' and this was bold +but This is bold this is bold italic' and this is bold +
+
Italic'Bold +
BoldBoldItalic'Normal +
ItalicBoldItalic'Normal +
BoldItalicMoreBoldItalic +
Normal +
+!!end + + +!! test +Too many quotes +!!input +I '''like'''''quotes''''''''''' +!! result +I likequotes'''''' +
+!! end + + + + TODO: more images more tables math -character entities -and much more -Try for 100% code coverage +char \ No newline at end of file