Writing systems/Syntax/ja

This page describes special markups found in LanguageConverter, a system which converts between language variants via means of character/word replacement. 下記のすべての例について、小文字は簡体字表記の中国語を、大文字は繁体字表記の中国語を表しています.

概念
LanguageConverter のマークアップは以下のようになります:



Where flags are described below, and variant names are language codes (like  or  ).

Fallback among variants is available. In the following examples designed for Chinese,  and   are variants written in the   script, while ,   are variants written in the   script. For example, according to the  definition in, if no rules for   were found, the converter would try using definitions for  ,  , and.

In this example you may notice that  and   are absent from most examples. This is due to their high similarity to other variants,  and   respectively.

例外
Language converter avoids converting anything found in "code" blocks like , , as well as the  tag used for carrying executable JavaScript. Putting an empty conversion rule block  inside these tags will function as a "force convert" switch for the converter. This hack can be useful for code samples nested in these tags.

A caveat, however, is that this switch doesn't seem to work for the extension-provided syntaxhighlight tags which eventually generates a  nested with elements (T34943). The switch also won't work with scripts not originally included with the page's HTML source that LC is designed to operate on.

MediaWiki messages are not processed by LC. This inconvenience is tracked in T170916.

関連項目

 * - コンバーターに関連するスイッチについて