# LanguageConverter and language variants parser tests (v2) # Based on https://www.mediawiki.org/wiki/Writing_systems/Syntax # This file is primarily for testing actual LanguageConverter # behavior, aka +langconv output for various constructs, focusing # on examples from the zhwiki documentation. !! options version=2 parsoid-compatible=wt2html !! end # This is the standard article assumed to exist. !! article Main Page !! text blah blah !! endarticle # We'll use the following characters below, which hopefully are # visually distinct enough to distinguish even for folks who aren't # literate in Chinese characters. We'll use *only* these three # characters to minimize our dependency on the "real" # transliteration database for Chinese; we don't want updates to # those built-in rules to break parser tests. # # Traditional Simplified # air (qì) 氣 气 # horse (mǎ) 馬 马 # electricity (diàn) 電 电 # # To test conversion rules, we're going to use nonsensical # combinations of these characters, or "conversions" to arbitrary # latin characters, with the goal of (1) still making the "correct" # output easy to distinguish for folks unfamiliar with the characters, # and (2) by using nonsense hopefully we won't conflict with any # "real" rules in the transliteration database # (which presumably only contains sensible character combinations). !! test Verify that the built-in transliteration rules contain our test characters (traditional to simplified) !! options language=zh htmlVariantLanguage=zh-hans !! wikitext * air (qì): 氣 * horse (mǎ): 馬 * electricity (diàn): 電 !! html/php !! html/parsoid+langconv !! end !! test Verify that the built-in transliteration rules contain our test characters (simplified to traditional) !! options language=zh htmlVariantLanguage=zh-hant !! wikitext * air (qì): 气 * horse (mǎ): 马 * electricity (diàn): 电 !! html/php !! html/parsoid+langconv !! end ### Basic syntax ### # note "fallback" from zh-hans to zh-cn / zh-hant to zh-tw here !! test Bidirectional conversion (hans) !! options language=zh htmlVariantLanguage=zh,zh-hans,zh-cn,zh-my,zh-sg !! wikitext -{zh-cn:气气气;zh-tw:電電電}- !! html/php

气气气

!! html/parsoid+langconv

气气气

!! end !! test Bidirectional conversion (hant) !! options language=zh htmlVariantLanguage=zh-hant,zh-hk,zh-mo,zh-tw !! wikitext -{zh-cn:气气气;zh-tw:電電電}- !! html/php

電電電

!! html/parsoid+langconv

電電電

!! end # Unidirectional # Fallback is not supported in unidirectional conversion. # zh-hans/zh-sg will not use zh-cn's rules. !! test Unidirectional conversion (zh) !! options language=zh htmlVariantLanguage=zh !! wikitext -{H|電電電=>zh-cn:气气气}- 馬马: 電電電, 气气气 !! html/php

馬马: 電電電, 气气气

!! html/parsoid+langconv

馬马: 電電電, 气气气

!! end !! test Unidirectional conversion (zh-hans) !! options language=zh htmlVariantLanguage=zh-hans,zh-my,zh-sg !! wikitext -{H|電電電=>zh-cn:气气气}- 馬马: 電電電, 气气气 !! html/php

马马: 电电电, 气气气

!! html/parsoid+langconv

马马: 电电电, 气气气

!! end !! test Unidirectional conversion (zh-cn) !! options language=zh htmlVariantLanguage=zh-cn !! wikitext -{H|電電電=>zh-cn:气气气}- 馬马: 電電電, 气气气 !! html/php

马马: 气气气, 气气气

!! html/parsoid+langconv

马马: 气气气, 气气气

!! end !! test Unidirectional conversion (zh-hant) !! options language=zh htmlVariantLanguage=zh-hant,zh-hk,zh-mo,zh-tw !! wikitext -{H|電電電=>zh-cn:气气气}- 馬马: 電電電, 气气气 !! html/php

馬馬: 電電電, 氣氣氣

!! html/parsoid+langconv

馬馬: 電電電, 氣氣氣

!! end # Similarly, zh-cn will not use zh-hans's rules. !! test Unidirectional conversion 2 (zh) !! options language=zh htmlVariantLanguage=zh !! wikitext -{H|電電電=>zh-hans:气气气}- 馬马: 電電電, 气气气 !! html/php

馬马: 電電電, 气气气

!! html/parsoid+langconv

馬马: 電電電, 气气气

!! end !! test Unidirectional conversion 2 (zh-cn) !! options language=zh htmlVariantLanguage=zh-cn,zh-my,zh-sg !! wikitext -{H|電電電=>zh-hans:气气气}- 馬马: 電電電, 气气气 !! html/php

马马: 电电电, 气气气

!! html/parsoid+langconv

马马: 电电电, 气气气

!! end !! test Unidirectional conversion 2 (zh-hans) !! options language=zh htmlVariantLanguage=zh-hans !! wikitext -{H|電電電=>zh-hans:气气气}- 馬马: 電電電, 气气气 !! html/php

马马: 气气气, 气气气

!! html/parsoid+langconv

马马: 气气气, 气气气

!! end !! test Unidirectional conversion 2 (zh-hant) !! options language=zh htmlVariantLanguage=zh-hant,zh-hk,zh-mo,zh-tw !! wikitext -{H|電電電=>zh-hans:气气气}- 馬马: 電電電, 气气气 !! html/php

馬馬: 電電電, 氣氣氣

!! html/parsoid+langconv

馬馬: 電電電, 氣氣氣

!! end # Disabled !! test Disable language conversion !! options language=zh htmlVariantLanguage=zh,zh-hans,zh-cn,zh-my,zh-sg,zh-hant,zh-hk,zh-mo,zh-tw !! wikitext -{氣气}- !! html/php

氣气

!! html/parsoid+langconv

氣气

!! end !! test Disable language conversion (alternate form) !! options language=zh htmlVariantLanguage=zh,zh-hans,zh-cn,zh-my,zh-sg,zh-hant,zh-hk,zh-mo,zh-tw !! wikitext -{R|氣气}- !! html/php

氣气

!! html/parsoid+langconv

氣气

!! end !! test Semi-disabled conversion (zh) !! options language=zh htmlVariantLanguage=zh !! wikitext -{H|zh-hant:電電電;zh-hans:气气气}- 電電電 气气气 電-{}-電電 气-{}-气气 !! html/php

電電電 气气气

電電電 气气气

!! html/parsoid+langconv

電電電 气气气

電電 气气气

!! end !! test Semi-disabled conversion (zh-hans) !! options language=zh htmlVariantLanguage=zh-cn,zh-my,zh-sg !! wikitext -{H|zh-hant:電電電;zh-hans:气气气}- 電電電 气气气 電-{}-電電 气-{}-气气 !! html/php

气气气 气气气

电电电 气气气

!! html/parsoid+langconv

气气气 气气气

电电 气气气

!! end !! test Semi-disabled conversion (zh-hant) !! options language=zh htmlVariantLanguage=zh-hk,zh-mo,zh-tw !! wikitext -{H|zh-hant:電電電;zh-hans:气气气}- 電電電 气气气 電-{}-電電 气-{}-气气 !! html/php

電電電 電電電

電電電 氣氣氣

!! html/parsoid+langconv

電電電 電電電

電電 氣氣氣

!! end ### Common Conversion flags ### # H flag # zh-hans and zh-hant are simply scripts and won't apply bidirectional rules # See also the `$manualLevel` parameter in LanguageConverter !! test Insert a conversion rule without output (zh) !! options language=zh htmlVariantLanguage=zh !! wikitext -{H|zh-cn:气气气;zh-hk:馬馬馬;zh-tw:電電電;}- 馬马: 气气气, 馬馬馬, 電電電 !! html/php

馬马: 气气气, 馬馬馬, 電電電

!! html/parsoid+langconv

馬马: 气气气, 馬馬馬, 電電電

!! end !! test Insert a conversion rule without output (zh-hans) !! options language=zh htmlVariantLanguage=zh-hans !! wikitext -{H|zh-cn:气气气;zh-hk:馬馬馬;zh-tw:電電電;}- 馬马: 气气气, 馬馬馬, 電電電 !! html/php

马马: 气气气, 马马马, 电电电

!! html/parsoid+langconv

马马: 气气气, 马马马, 电电电

!! end !! test Insert a conversion rule without output (zh-cn) !! options language=zh htmlVariantLanguage=zh-cn,zh-my,zh-sg !! wikitext -{H|zh-cn:气气气;zh-hk:馬馬馬;zh-tw:電電電;}- 馬马: 气气气, 馬馬馬, 電電電 !! html/php

马马: 气气气, 气气气, 气气气

!! html/parsoid+langconv

马马: 气气气, 气气气, 气气气

!! end !! test Insert a conversion rule without output (zh-hant) !! options language=zh htmlVariantLanguage=zh-hant !! wikitext -{H|zh-cn:气气气;zh-hk:馬馬馬;zh-tw:電電電;}- 馬马: 气气气, 馬馬馬, 電電電 !! html/php

馬馬: 氣氣氣, 馬馬馬, 電電電

!! html/parsoid+langconv

馬馬: 氣氣氣, 馬馬馬, 電電電

!! end !! test Insert a conversion rule without output (zh-hk) !! options language=zh htmlVariantLanguage=zh-hk,zh-mo !! wikitext -{H|zh-cn:气气气;zh-hk:馬馬馬;zh-tw:電電電;}- 馬马: 气气气, 馬馬馬, 電電電 !! html/php

馬馬: 馬馬馬, 馬馬馬, 馬馬馬

!! html/parsoid+langconv

馬馬: 馬馬馬, 馬馬馬, 馬馬馬

!! end !! test Insert a conversion rule without output (zh-tw) !! options language=zh htmlVariantLanguage=zh-tw !! wikitext -{H|zh-cn:气气气;zh-hk:馬馬馬;zh-tw:電電電;}- 馬马: 气气气, 馬馬馬, 電電電 !! html/php

馬馬: 電電電, 電電電, 電電電

!! html/parsoid+langconv

馬馬: 電電電, 電電電, 電電電

!! end # A flag !! test Insert a conversion rule with a result in the current language (zh) !! options language=zh htmlVariantLanguage=zh !! wikitext -{A|zh-cn:气气气;zh-hk:馬馬馬;zh-tw:電電電;}- 气气气, 馬馬馬, 電電電 !! html/php

气气气

气气气, 馬馬馬, 電電電

!! html/parsoid+langconv

气气气

气气气, 馬馬馬, 電電電

!! end !! test Insert a conversion rule with a result in the current language (zh-hans) !! options language=zh htmlVariantLanguage=zh-hans !! wikitext -{A|zh-cn:气气气;zh-hk:馬馬馬;zh-tw:電電電;}- 气气气, 馬馬馬, 電電電 !! html/php

气气气

气气气, 马马马, 电电电

!! html/parsoid+langconv

气气气

气气气, 马马马, 电电电

!! end !! test Insert a conversion rule with a result in the current language (zh-cn) !! options language=zh htmlVariantLanguage=zh-cn,zh-my,zh-sg !! wikitext -{A|zh-cn:气气气;zh-hk:馬馬馬;zh-tw:電電電;}- 气气气, 馬馬馬, 電電電 !! html/php

气气气

气气气, 气气气, 气气气

!! html/parsoid+langconv

气气气

气气气, 气气气, 气气气

!! end !! test Insert a conversion rule with a result in the current language (zh-hant) !! options language=zh htmlVariantLanguage=zh-hant !! wikitext -{A|zh-cn:气气气;zh-hk:馬馬馬;zh-tw:電電電;}- 气气气, 馬馬馬, 電電電 !! html/php

電電電

氣氣氣, 馬馬馬, 電電電

!! html/parsoid+langconv

電電電

氣氣氣, 馬馬馬, 電電電

!! end !! test Insert a conversion rule with a result in the current language (zh-hk) !! options language=zh htmlVariantLanguage=zh-hk,zh-mo !! wikitext -{A|zh-cn:气气气;zh-hk:馬馬馬;zh-tw:電電電;}- 气气气, 馬馬馬, 電電電 !! html/php

馬馬馬

馬馬馬, 馬馬馬, 馬馬馬

!! html/parsoid+langconv

馬馬馬

馬馬馬, 馬馬馬, 馬馬馬

!! end !! test Insert a conversion rule with a result in the current language (zh-tw) !! options language=zh htmlVariantLanguage=zh-tw !! wikitext -{A|zh-cn:气气气;zh-hk:馬馬馬;zh-tw:電電電;}- 气气气, 馬馬馬, 電電電 !! html/php

電電電

電電電, 電電電, 電電電

!! html/parsoid+langconv

電電電

電電電, 電電電, 電電電

!! end # - flag !! test Remove existing conversion rule (zh) !! options language=zh htmlVariantLanguage=zh !! wikitext -{H|zh-cn:气气气;zh-hk:馬馬馬;zh-tw:電電電;}- + 气气气, 馬馬馬, 電電電 -{-|zh-cn:气气气;zh-hk:馬馬馬;zh-tw:電電電;}- - 气气气, 馬馬馬, 電電電 !! html/php

+ 气气气, 馬馬馬, 電電電

- 气气气, 馬馬馬, 電電電

!! html/parsoid+langconv

+ 气气气, 馬馬馬, 電電電

- 气气气, 馬馬馬, 電電電

!! end !! test Remove existing conversion rule (zh-hans) !! options language=zh htmlVariantLanguage=zh-hans !! wikitext -{H|zh-cn:气气气;zh-hk:馬馬馬;zh-tw:電電電;}- + 气气气, 馬馬馬, 電電電 -{-|zh-cn:气气气;zh-hk:馬馬馬;zh-tw:電電電;}- - 气气气, 馬馬馬, 電電電 !! html/php

+ 气气气, 马马马, 电电电

- 气气气, 马马马, 电电电

!! html/parsoid+langconv

+ 气气气, 马马马, 电电电

- 气气气, 马马马, 电电电

!! end !! test Remove existing conversion rule (zh-cn) !! options language=zh htmlVariantLanguage=zh-cn,zh-my,zh-sg !! wikitext -{H|zh-cn:气气气;zh-hk:馬馬馬;zh-tw:電電電;}- + 气气气, 馬馬馬, 電電電 -{-|zh-cn:气气气;zh-hk:馬馬馬;zh-tw:電電電;}- - 气气气, 馬馬馬, 電電電 !! html/php

+ 气气气, 气气气, 气气气

- 气气气, 马马马, 电电电

!! html/parsoid+langconv

+ 气气气, 气气气, 气气气

- 气气气, 马马马, 电电电

!! end !! test Remove existing conversion rule (zh-hant) !! options language=zh htmlVariantLanguage=zh-hant !! wikitext -{H|zh-cn:气气气;zh-hk:馬馬馬;zh-tw:電電電;}- + 气气气, 馬馬馬, 電電電 -{-|zh-cn:气气气;zh-hk:馬馬馬;zh-tw:電電電;}- - 气气气, 馬馬馬, 電電電 !! html/php

+ 氣氣氣, 馬馬馬, 電電電

- 氣氣氣, 馬馬馬, 電電電

!! html/parsoid+langconv

+ 氣氣氣, 馬馬馬, 電電電

- 氣氣氣, 馬馬馬, 電電電

!! end !! test Remove existing conversion rule (zh-hk) !! options language=zh htmlVariantLanguage=zh-hk,zh-mo !! wikitext -{H|zh-cn:气气气;zh-hk:馬馬馬;zh-tw:電電電;}- + 气气气, 馬馬馬, 電電電 -{-|zh-cn:气气气;zh-hk:馬馬馬;zh-tw:電電電;}- - 气气气, 馬馬馬, 電電電 !! html/php

+ 馬馬馬, 馬馬馬, 馬馬馬

- 氣氣氣, 馬馬馬, 電電電

!! html/parsoid+langconv

+ 馬馬馬, 馬馬馬, 馬馬馬

- 氣氣氣, 馬馬馬, 電電電

!! end !! test Remove existing conversion rule (zh-tw) !! options language=zh htmlVariantLanguage=zh-tw !! wikitext -{H|zh-cn:气气气;zh-hk:馬馬馬;zh-tw:電電電;}- + 气气气, 馬馬馬, 電電電 -{-|zh-cn:气气气;zh-hk:馬馬馬;zh-tw:電電電;}- - 气气气, 馬馬馬, 電電電 !! html/php

+ 電電電, 電電電, 電電電

- 氣氣氣, 馬馬馬, 電電電

!! html/parsoid+langconv

+ 電電電, 電電電, 電電電

- 氣氣氣, 馬馬馬, 電電電

!! end # T flag !! test Override page title (zh) !! options title=[[馬马]] language=zh htmlVariantLanguage=zh showtitle !! wikitext -{T|zh-cn:气气气;zh-hk:馬馬馬;zh-tw:電電電;}- !! metadata+langconv 馬马 !! html/php

!! html/parsoid+langconv

!! end !! test Override page title (zh-hans) !! options title=[[馬马]] language=zh htmlVariantLanguage=zh-hans,zh-cn,zh-my,zh-sg showtitle !! wikitext -{T|zh-cn:气气气;zh-hk:馬馬馬;zh-tw:電電電;}- !! metadata+langconv 气气气 !! html/php

!! html/parsoid+langconv

!! end !! test Override page title (zh-hk) !! options title=[[馬马]] language=zh htmlVariantLanguage=zh-hk,zh-mo showtitle !! wikitext -{T|zh-cn:气气气;zh-hk:馬馬馬;zh-tw:電電電;}- !! metadata+langconv 馬馬馬 !! html/php

!! html/parsoid+langconv

!! end !! test Override page title (zh-tw) !! options title=[[馬马]] language=zh htmlVariantLanguage=zh-tw showtitle !! wikitext -{T|zh-cn:气气气;zh-hk:馬馬馬;zh-tw:電電電;}- !! metadata+langconv 電電電 !! html/php

!! html/parsoid+langconv

!! end !! test DISPLAYTITLE takes precedence over -{T|...}- and is not converted !! config wgAllowDisplayTitle=true wgRestrictDisplayTitle=false !! options title=[[氣]] language=zh htmlVariantLanguage=zh-hans showtitle !! wikitext {{DISPLAYTITLE:馬}} !! metadata+langconv 馬 !! html/php !! html/parsoid+langconv !! end !! test DISPLAYTITLE takes precedence over -{T|...}- and -{...}- markup is not converted !! config wgAllowDisplayTitle=true wgRestrictDisplayTitle=false !! options title=[[氣]] language=zh htmlVariantLanguage=zh-hans showtitle !! wikitext {{DISPLAYTITLE:-{zh-cn:气气气;zh-tw:電電電}-}} !! metadata+langconv -{zh-cn:气气气;zh-tw:電電電}- !! html/php !! html/parsoid+langconv !! end !! test Default title conversion, traditional (T36514) !! options title=[[气]] language=zh htmlVariantLanguage=zh-hant showtitle !! wikitext ignore !! metadata+langconv !! html/php

ignore

!! html/parsoid+langconv

ignore

!! end !! test Default title conversion, simplified (T36514) !! options title=[[氣]] language=zh htmlVariantLanguage=zh-hans showtitle !! wikitext ignore !! metadata+langconv !! html/php

ignore

!! html/parsoid+langconv

ignore

!! end !! test Disable title conversion w/ NOCONTENTCONVERT, traditional (T424773) !! options title=[[气]] language=zh htmlVariantLanguage=zh-hant showtitle !! wikitext __NOCONTENTCONVERT__ !! metadata+langconv 气 !! html/php !! html/parsoid+langconv !! end !! test Disable title conversion w/ NOTITLECONVERT, simplified (T424773) !! options title=[[氣]] language=zh htmlVariantLanguage=zh-hans showtitle !! wikitext __NOTITLECONVERT__ !! metadata+langconv 氣 !! html/php !! html/parsoid+langconv !! end # D flag !! test Describe bidirectional conversion rule !! options language=zh htmlVariantLanguage=zh,zh-hans,zh-cn,zh-my,zh-sg,zh-hant,zh-hk,zh-mo,zh-tw !! wikitext -{D|zh-cn:气气气;zh-hk:馬馬馬;zh-tw:電電電;}- !! html/php

大陆:气气气;香港:馬馬馬;臺灣:電電電;

!! html/parsoid+langconv

大陆:气气气;香港:馬馬馬;臺灣:電電電;

!! end !! test Describe unidirectional conversion rule !! options language=zh htmlVariantLanguage=zh,zh-hans,zh-cn,zh-my,zh-sg,zh-hant,zh-hk,zh-mo,zh-tw !! wikitext -{D;H|電電電=>zh-cn:气气气}- !! html/php

電電電⇒大陆:气气气;

!! html/parsoid+langconv

電電電⇒大陆:气气气;

!! end # N flag !! test Localized language names !! options language=zh htmlVariantLanguage=zh-Hans-CN !! wikitext -{N|zh-cn}- -{N|zh-tw}- -{N|sr-Cyrl}- !! html/php

大陆

臺灣

српски (ћирилица)

!! html/parsoid+langconv

大陆

臺灣

српски (ћирилица)

!! end ### Combined conversion flags ### !! test Only consider certain variants for conversion (zh) !! options language=zh htmlVariantLanguage=zh !! wikitext -{H|zh-cn:气气气;zh-hk:馬馬馬;zh-tw:電電電;}- 馬马 1: -{zh;zh-hans;zh-hant|气气气, 馬馬馬, 電電電}- 馬马 2: -{zh;zh-cn;zh-hk|气气气, 馬馬馬, 電電電}- !! html/php

馬马 1: 气气气, 馬馬馬, 電電電

馬马 2: 气气气, 馬馬馬, 電電電

!! html/parsoid+langconv

馬马 1: 气气气, 馬馬馬, 電電電

馬马 2: 气气气, 馬馬馬, 電電電

!! end !! test Only consider certain variants for conversion (zh-hans) !! options language=zh htmlVariantLanguage=zh-hans,zh-cn,zh-my,zh-sg !! wikitext -{H|zh-cn:气气气;zh-hk:馬馬馬;zh-tw:電電電;}- 馬马 1: -{zh;zh-hans;zh-hant|气气气, 馬馬馬, 電電電}- 馬马 2: -{zh;zh-cn;zh-hk|气气气, 馬馬馬, 電電電}- !! html/php

马马 1: 气气气, 马马马, 电电电

马马 2: 气气气, 气气气, 气气气

!! html/parsoid+langconv

马马 1: 气气气, 马马马, 电电电

马马 2: 气气气, 气气气, 气气气

!! end !! test Only consider certain variants for conversion (zh-hant) !! options language=zh htmlVariantLanguage=zh-hant,zh-hk,zh-mo,zh-tw !! wikitext -{H|zh-cn:气气气;zh-hk:馬馬馬;zh-tw:電電電;}- 馬马 1: -{zh;zh-hans;zh-hant|气气气, 馬馬馬, 電電電}- 馬马 2: -{zh;zh-cn;zh-hk|气气气, 馬馬馬, 電電電}- !! html/php

馬馬 1: 氣氣氣, 馬馬馬, 電電電

馬馬 2: 馬馬馬, 馬馬馬, 馬馬馬

!! html/parsoid+langconv

馬馬 1: 氣氣氣, 馬馬馬, 電電電

馬馬 2: 馬馬馬, 馬馬馬, 馬馬馬

!! end ### TOC conversion ### !! test TOC conversion to traditional (T424773) !! config wgFragmentMode=[ "html5", "legacy" ] !! options language=zh htmlVariantLanguage=zh-hant showtocdata parsoid={ "modes": [ "wt2html" ], "wrapSections": true } !! wikitext ==气== !! metadata+langconv Sections: h2 index:1 toclevel:1 number:1 title:Parser_test off:0 anchor/linkAnchor:气 line:氣 !! html/php

[編輯]
!! html/parsoid+langconv

!! end !! test TOC conversion to traditional, disabled with __NOCONTENTCONVERT__ (T424773) !! config wgFragmentMode=[ "html5", "legacy" ] !! options language=zh htmlVariantLanguage=zh-hant showtocdata parsoid={ "modes": [ "wt2html" ], "wrapSections": true } !! wikitext ==气== __NOCONTENTCONVERT__ !! metadata+langconv Sections: h2 index:1 toclevel:1 number:1 title:Parser_test off:0 anchor/linkAnchor:气 line:气 !! html/php

[編輯]
!! html/parsoid+langconv

!! end ### Exceptions ### !! test Conversion skips
 and 
!! options
language=zh htmlVariantLanguage=zh,zh-hans,zh-cn,zh-my,zh-sg,zh-hant,zh-hk,zh-mo,zh-tw
!! wikitext
氣气
氣气 !! html/php
氣气

氣气

!! html/parsoid+langconv
氣气

氣气

!! end !! test "Force convert" of
!! options
language=zh htmlVariantLanguage=zh-hans
!! wikitext
氣-{}-气
!! html/php
气气
!! html/parsoid+langconv
气气
!! end !! test "Force convert" of !! options language=zh htmlVariantLanguage=zh-hant !! wikitext 氣-{}-气 !! html/php

氣氣

!! html/parsoid+langconv

!! end !! test __NOCONTENTCONVERT__ should prevent conversion (T424773) !! options language=zh htmlVariantLanguage=zh-hant property=nocontentconvert !! wikitext __NOCONTENTCONVERT__ 氣 气 !! metadata property[nocontentconvert]= !! html/php

氣 气

!! html/parsoid+langconv

氣 气

!! end