Steps to replicate the issue (include links if applicable):
- Page wikitext 1: Text before -{zh-hans:Foo; zh-hant:Bar;}- text after
- Page wikitext 2: Text before -{A|zh-hans:Foo; zh-hant:Bar;}- text after
- Page language: zh
- Not affected by site language (currently need useparsoid=1 on Wikipedia-zh as Parsoid was not being used by default)
- Examples:
- (Going to be deleted. see screenshots) https://www.wikifunctions.org/wiki/Wikifunctions:FAQ/zh?variant=zh
- https://zh.wikipedia.org/wiki/Wikipedia:沙盒?oldid=87910422&useparsoid=1
What happens?:
Unexpected rendered result (all variants): Text before text after
What should have happened instead?:
The -{ language converter syntax without flag meant to show the converted result at the current position where the markup is placed.
The -{A| language converter flag meant to add the conversion rule while showing the converted result at the current position where the markup is placed.
Expecting rendered result (zh-hans, zh-cn, ... variants): Text before Foo text after
Expecting rendered result (zh-hant, zh-tw, ... variants): Text before Bar text after
Software version:
- MediaWiki: 1.45.0-wmf.6 ( 809f76d ) 2025-06-16 23:59 (UTC)
- wikimedia/parsoid: 0.22.0-a7
Other information:
Unexpected parsoid rendered:
Expecting parser rendered:
Steps to replicate the issue:
- Go to https://zh.wikipedia.org/wiki/Special:Preferences
- Opt in the Parsoid wikitext parser in the Preferences -> Editing, which is the first option in the drop-down menu.
- Go to https://zh.wikipedia.org/wiki/臺灣
What happens?:
The 臺灣(俗字寫作台灣) is missing from the article.
The same issue happens when you request the endpoint here:
https://zh.wikipedia.org/w/rest.php/v1/page/臺灣/html
What should have happened instead?:




