VisualEditor/Special characters

From MediaWiki.org
Jump to: navigation, search
Translate this page; This page contains changes which are not marked for translation.

Other languages:
български • ‎català • ‎Deutsch • ‎English • ‎español • ‎euskara • ‎فارسی • ‎suomi • ‎français • ‎עברית • ‎Հայերեն • ‎italiano • ‎日本語 • ‎ქართული • ‎lietuvių • ‎norsk bokmål • ‎polski • ‎پښتو • ‎português • ‎português do Brasil • ‎русский • ‎slovenščina • ‎svenska • ‎українська

The special characters tool in VisualEditor makes it easy for users to insert special characters, even if the characters are not present on the users' keyboards.

VisualEditor shares the list of special characters with WikiEditor, the default wikitext editor. This list is shared between all wikis, and you do not need to do anything to enable it on your wiki.

To access it, press the special character button (Ω) to open the tray of characters:

VisualEditor screenshot – special character default.png

Click on one of the displayed characters to insert it. Click the special character button again to close it.

Adding often-used characters[edit]

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[edit]