可视化编辑器/特殊字符

From mediawiki.org
Jump to navigation Jump to search
This page is a translated version of the page VisualEditor/Special characters and the translation is 38% complete.
Other languages:
Bahasa Indonesia • ‎Deutsch • ‎English • ‎dansk • ‎español • ‎euskara • ‎français • ‎italiano • ‎lietuvių • ‎magyar • ‎norsk bokmål • ‎polski • ‎português • ‎slovenščina • ‎suomi • ‎svenska • ‎čeština • ‎български • ‎русский • ‎українська • ‎հայերեն • ‎עברית • ‎فارسی • ‎پښتو • ‎ქართული • ‎中文 • ‎日本語

可视化编辑器中的特殊字符工具使用户便于插入特殊字符,即使用户的键盘上没有相应的字符。

VisualEditor shares the list of special characters with WikiEditor, the default wikitext editor. 这个列表在所有的wiki都是一样的,不需要激活即可使用。

要使用特殊字符工具,按特殊字符按钮(Ω)以打开字符列表:

VisualEditor screenshot – special character default.png

点击显示的字符即可插入。 再次点击特殊字符按钮即可关闭。

添加常用的字符

VisualEditor also lets each wiki's community specify a list of often used characters which will show at the top of the page. This makes it easy for editors to use particular characters that your wiki encourages but that aren't on their keyboards. It looks like this:

VisualEditor screenshot – special character with often used.png

To set this up for your wiki, you need create the page MediaWiki:Visualeditor-quick-access-characters.json. This is a JSON page specifying which characters you wish to show and their sequence. Only sysop (administrator) users are normally able to create or edit this page, because it is part of the interface. To get an idea of what is possible or useful, you can look at the German Wikipedia's list.

If the text "Often used" appears instead of a localised message, this needs to be translated at TranslateWiki.net; this message is the "visualeditor-special-characters-group-other" one.

Help and troubleshooting

例子