书写系统
本页为写作体系提供多方面的基本信息:多种语言手写本、写作方向、前沿翻译以及输入。
Digraphia
Digraphia refers to the phenomenon that multiple writing systems or orthographies are used in a single language. Since Wikipedias, as the first use case of MediaWiki, are created on the basis of spoken language, it effectively renders wikis in these languages as multi-locale ones.
Language Converter
Language Converter is a MediaWiki module automatically translating the source code of a page to a different writing system or orthography of the same language on the fly. It allows the source code to be written in a mixture of writing systems, and to be rendered based on the preference of the user.
Language Converter introduces a series of markups exclusive to pages having it enabled. Please see 书写系统/语法 for more information.
Handling digraphia in non-article scenarios
HanAssist is a convenience script on Chinese Wikipedia aiming at simplifying UI text switching in JavaScript based on user variant preference.
For interface text on the backend, {{int:Conversionname}} (and the {{Lan}} template on Chinese Wikipedia, based on it) can be used to determine the preferred variant and invoke conversion accordingly.
书写方向
许多书写系统的字符从左往右写(LTR),行文自上而下(TtB)。
一些常见的脚本(尤其是阿拉伯语和希伯来语)会从右向左 (RTL) 书写字符--有关我们如何使用 HTML 输出和 CSS 样式处理从右向左和混合双向文本的更多详情,请参阅方向性支持。
请注意,个别语言可与具有不同方向性的脚本一起使用,例如哈萨克语和库尔德语支持拉丁语和阿拉伯语变体。
还要注意的是,万维网联盟定义了更多用于网页的方向性,例如东北亚的从上到下,线条从左到右或从右到左堆叠。[1]
字体渲染与输入
许多脚本都没有方便用户使用的合适字体。 这可能是因为操作系统没有提供这些字体,或者用户不知道如何安装,或者没有足够的权限来安装。 UniversalLanguageSelector(通用语言选择器)扩展试图通过将字体嵌入维基本身来解决这个问题。 字体将由服务器提供,用户系统无需安装字体。
通用语言选择器增加了对键入特定脚本的支持,因此用户无需依赖外部工具或系统支持。
参考
- ↑ CSS编写模式3级