Index: trunk/phase3/maintenance/parserTests.txt |
— | — | @@ -6939,6 +6939,18 @@ |
6940 | 6940 | !! end |
6941 | 6941 | |
6942 | 6942 | !! test |
| 6943 | +Adding explicit conversion rule for title (T flag) |
| 6944 | +!! options |
| 6945 | +language=zh variant=zh showtitle |
| 6946 | +!! input |
| 6947 | +Should be stripped-{T|zh:China;zh-tw:Taiwan}-! |
| 6948 | +!! result |
| 6949 | +China |
| 6950 | +<p>Should be stripped! |
| 6951 | +</p> |
| 6952 | +!! end |
| 6953 | + |
| 6954 | +!! test |
6943 | 6955 | Raw output of variant escape tags (R flag) |
6944 | 6956 | !! options |
6945 | 6957 | language=zh variant=zh-tw |
— | — | @@ -7514,30 +7526,6 @@ |
7515 | 7527 | <a href="https://www.mediawiki.org/wiki/Main_Page#section" title="Main Page">#section</a> |
7516 | 7528 | !! end |
7517 | 7529 | |
7518 | | -!! test |
7519 | | -Adding explicit conversion rule for title (T flag) |
7520 | | -!! options |
7521 | | -language=zh variant=zh-tw showtitle **** disabled (for now) because I think it uncovers a bug and I want a reminder |
7522 | | -!! input |
7523 | | -Should be stripped-{T|zh:China;zh-tw:Taiwan}-! |
7524 | | -!! result |
7525 | | -Taiwan |
7526 | | -<p>Should be stripped! |
7527 | | -</p> |
7528 | | -!! end |
7529 | | - |
7530 | | -!! test |
7531 | | -Adding explicit conversion rule for title (T flag) |
7532 | | -!! options |
7533 | | -language=zh variant=zh showtitle **** disabled (for now) because I think it uncovers a bug and I want a reminder |
7534 | | -!! input |
7535 | | -Should be stripped-{T|zh:China;zh-tw:Taiwan}-! |
7536 | | -!! result |
7537 | | -China |
7538 | | -<p>Should be stripped! |
7539 | | -</p> |
7540 | | -!! end |
7541 | | - |
7542 | 7530 | TODO: |
7543 | 7531 | more images |
7544 | 7532 | more tables |