可视化编辑器/特殊字符
可视化编辑器中的特殊字符工具使用户便于插入特殊字符,即使用户的键盘上没有相应的字符。
VisualEditor shares the list of special characters with WikiEditor, the default wikitext editor. 这个列表在所有的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.
Help and troubleshooting
- If the system does not let you save, check for missing or extra commas using a tool like https://jsonformatter.org or https://jsonformatter-online.com. If the JSON formatting is not perfect, you will not be able to save your changes to the message.
- You can request further help at VisualEditor/Feedback.