Jump to content

可视化编辑器/特殊字符

From mediawiki.org
This page is a translated version of the page VisualEditor/Special characters and the translation is 39% complete.

VisualEditor 中的特殊字符工具使用户便于插入特殊字符,即使用户的键盘上没有相应的字符。

可视化编辑器与默认的维基文本编辑器WikiEditor共享特殊字符表。 这个列表在所有的wiki都是一样的,不需要激活即可使用。

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

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

添加常用的字符

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:

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.

Accessing recently-used characters

To make it easier to access the special character(s) you are likely to need in any given moment, VisualEditor will remember the 32 special characters you have used most recently, across editing sessions, on a given wiki.

Screenshot showing the "Recently used" special characters section within VisualEditor
Recently used special characters.

Help and troubleshooting

示例