Parsoid/Language conversion

This page contains some notes about LanguageConverter.

For improvements (syntactic regularization) to the PHP implementation of LanguageConverter, see T54661. These improvements have resulted in some articles that need to be fixed up: see Parsoid/Language_conversion/Preprocessor_fixups. For the Parsoid implementation of LanguageConverter, see T43716.

MediaWiki DOM specification for LanguageConverter markup

Documentation

 * Syntax docs: Writing systems/Syntax; Chinese help, MS translation, google translation
 * en:User:Cscott/LanguageConversion
 * Wikis using Language Converter: m:Wikipedias in multiple writing systems
 * Language converter
 * meta:Automatic conversion between simplified and traditional Chinese
 * Category:放置于模板的noteTA
 * Chat with Liangent
 * See also: https://unicode-org.github.io/icu/userguide/transforms/general/#script-transliteration -- which we don't use at all, but maybe should try to incorporate.

Testing LanguageConverter with Parsoid and VisualEditor
The easiest way for an English-literate developer to test LanguageConverter is to first enable Pig Latin on your test wiki. To do this, add the following line to your : You will then see a drop down menu for selecting a language variant (assuming that , which is the default). You can pick Pig Latin (Igpay Atinlay) here. You should already be running the latest MediaWiki (make sure https://gerrit.wikimedia.org/r/72053 is included) and Parsoid (make sure https://gerrit.wikimedia.org/r/140235 is included). You may need to add some patches on top of VisualEditor. At the moment I recommend: Now create a test article with some LanguageConverter markup. You can copy and paste from here.

Open the new article with VisualEditor and have some fun! Let me know what you think.