Help:VisualEditor/User guide
- Bahasa Indonesia
- Bahasa Melayu
- Bikol Central
- Cebuano
- Cymraeg
- Deutsch
- English
- Esperanto
- Fiji Hindi
- Frysk
- Igbo
- Ilokano
- Interlingue
- Jawa
- Ligure
- Lëtzebuergesch
- Malagasy
- Napulitano
- Nederlands
- Oromoo
- Picard
- Qaraqalpaqsha
- Scots
- Sunda
- Tagalog
- Tiếng Việt
- Türkçe
- Yorùbá
- Zazaki
- asturianu
- azərbaycanca
- bosanski
- català
- dansk
- eesti
- emiliàn e rumagnòl
- español
- estremeñu
- euskara
- français
- furlan
- føroyskt
- galego
- hrvatski
- interlingua
- isiXhosa
- italiano
- latviešu
- lietuvių
- magyar
- norsk bokmål
- polski
- português
- português do Brasil
- română
- shqip
- slovenčina
- slovenščina
- srpskohrvatski / српскохрватски
- suomi
- svenska
- čeština
- Ελληνικά
- беларуская (тарашкевіца)
- български
- македонски
- русский
- саха тыла
- српски / srpski
- татарча / tatarça
- українська
- հայերեն
- ייִדיש
- עברית
- اردو
- العربية
- تۆرکجه
- سنڌي
- فارسی
- پښتو
- کٲشُر
- नेपाली
- भोजपुरी
- मराठी
- संस्कृतम्
- हिन्दी
- অসমীয়া
- বাংলা
- ਪੰਜਾਬੀ
- ଓଡ଼ିଆ
- தமிழ்
- తెలుగు
- ಕನ್ನಡ
- മലയാളം
- ไทย
- မြန်မာဘာသာ
- მარგალური
- ქართული
- ភាសាខ្មែរ
- 中文
- 日本語
- 閩東語 / Mìng-dĕ̤ng-ngṳ̄
- ꯃꯤꯇꯩ ꯂꯣꯟ
- 한국어
VisualEditor portal |
---|
General |
About |
Help with the launch |
v · d · e |
Opening the visual editor
Edit
tab at the top of the page.
It may take a few seconds for the page to open for editing, and longer if the page is very long.
Pressing on the Edit source
tab will open the classic wikitext source editor.
Getting started: the visual editor's toolbar
Heading
, and subsections are Sub-heading 1
, Sub-heading 2
, and so on. The normal format for text is Paragraph
.
Formatting: Pressing the "A" opens a menu.
- The
Bold
item (B) bolds the selected text. - The
Italic
item (I) italicizes the selected text. - The
Superscript
item (x2) causes the selected text to appear smaller than surrounding text and to be slightly higher than the surrounding text. - The
Subscript
item (x2) causes the selected text to appear smaller than surrounding text and to be slightly lower than the surrounding text. - The
Strikethrough
item ((削除) S (削除ここまで)) adds a solid bar through the selected text. - The
Computer code
item (a set of curly brackets:{}
) changes the font of the selected text to a monospaced font, which sets it apart from surrounding (proportionally spaced) text. - The
Underline
item (U) adds a solid line beneath the selected text. - The
Language
item (文A) allows you to label the language (for example, Japanese) and direction (for example, right-to-left) of the selected text. - The final item ( ), called
Remove
, removes all character formatting from the selected text, including links.
If you have not selected any text, then when you press the "A" to open the menu, and then select an item, that formatting will apply to the text that you start typing, from wherever your cursor is located.
Cite
menu is used to add inline citations (also called "footnotes" or "references"). All projects have access to basic reference formatting and the ability to reuse citations by using this menu.
Instructions for adding local citation templates to the Manual
tab at a specific wiki are available at VisualEditor/Citation tool .
Instructions for enabling the Automatic tab are available at Enabling Citoid on your wiki
The Citoid service tries to fill out citation templates automatically.
Bullet list
or a Numbered list
. The last two items allow you to decrease or increase the indentation level of list items.
Insert
menu may be different on some projects. Below is a list of all options that may appear.
- The
Images and media
icon (a picture of mountains) opens the media dialog. - The
Template
icon (a puzzle piece) allows you to edit templates. - The "Table" item allows you to insert a table.
- The
Comment
item (a speech balloon) allows you to insert comments that are not visible to readers; these comments can be seen only when in edit mode, where they are indicated by an exclamation mark icon. In edit mode, pressing on the exclamation mark icon allows you to edit or delete the comment. - The
Hieroglyphs
icon (an ankh symbol - ☥) allows you to enter the hieroglyphics inserter. (See below.) - The "Code block" item allows you to insert code.
- The "Musical notation" item allows you to insert a musical notation.
- The
Gallery
icon (a set of photos) allows you to insert a gallery to the page. - The
Math formula
icon (Σ) opens the formula inserter dialog. - The "Graph" item allows you to insert a graph.
- The
Your signature
item allows you to insert a signature that you use on the project. It will be greyed out (not selectable) when you are editing a type of page (a "namespace "), such as an article, where signatures should not be inserted. - The
References list
icon (three books) opens a dialog in which you can specify where references will be displayed to the reader. Usually this needs to be done only once on a page.
Special character
(Ω) icon is next to the Insert
menu. When pressed, it displays a dialog showing many special characters. By pressing on a specific character, you place it into the text. These special characters include some standard symbols, diacritics, and mathematical symbols. (This list may be customized locally. See VisualEditor/Special characters for instructions.)
Publish changes
button and the Switch editor
menu. On this menu there is a button to open an Options
dialog with the following (left side) tabs:
- Categories allows you to add categories to this page and to adjust how the page is sorted, when displayed within a category by setting a different index to sort with.
- Page settings allows you to make the page a redirect and adjust options of this redirect, to adjust settings regarding the displaying of the Table of Contents, to disable the edit links next to each heading, and to define the page as a disambiguation page.
- Advanced settings allows you to adjust the settings regarding indexation of the page by search engines, showing a tab to add a new section, and the displayed title.
- Languages shows a list of pages in other languages that are linked to that page.
- Templates used shows a list of links to each template used on this page.
The tabs of the Options dialog are also displayed in the Page options menu and can be opened by clicking on it. Furthermore the Page options menu contains the items View as left-to-right or View as right-to-left and the item Find and replace , which opens a bar, where you can insert words or regular expressions you are searching for and those to replace them with, together with several buttons for options.
Publishing changes
Publish changes
button in the toolbar. If you have made no changes, the button will be disabled (grayed out). To cancel all your editing changes, close your browser window, or press the Read
tab above the edit toolbar.
Publish changes...
button opens a dialog. You can then enter a brief summary of your actions, mark your edit as minor, and add the page to your watchlist. The box for the summary is the equivalent of the Summary (?): field in the wikitext editor.
You can also review your changes using the Review your changes
button to confirm that they will function as intended before saving your changes. This is similar to the Show changes
button in the wikitext editor.
The Resume editing
button returns you to the page you were editing. You can publish all of your changes later.
Editing links
Link
icon (links in a chain) in the toolbar, or by using the shortcut Ctrl+K (or ⌘ Command+K on a Mac).
If you select (highlight) text and then press the Link
button, that text will be used in creating the link. For a link that involves only one word, you can either select that word or just put the cursor within that word.
The link tool will try to help with internal links by searching for likely matches.
Once you have entered or selected the link, you complete the linking process by pressing ↵ Enter or by pressing the Done
button. Your link will immediately appear on the page, but as with other changes to the page, it will not be published until you publish the entire page.
External site
tab, and enter a URL in the box.
Done
button to insert the link.
Link
icon that appears near it. The dialog will appear, for editing. You can also get to the dialog with the Ctrl+K keyboard shortcut. When a link is selected, it appears as blue framed.
In the link editing dialog, you can then change where the link goes. You can also remove the link entirely by pressing the Remove
button in the upper right corner of the dialog.
You can also open the link's target in another window by pressing on the copy of the link in the dialog box. (You might want do this to check if an external link is valid.)
If you want to exit the link label (the text displayed as a link) or continue to write after this link, you can press →:
- Pressing it once will escape the link editing dialog and put your cursor at the end of the element linked (blue framed, to edit this element)
- Pressing it twice will put the cursor after the element linked, ready to type the rest of your text.
To edit the link label of an existing link, press within the link label and type the new one. But if you want to replace the entire label, please note:
- If you have selected (highlighted) the entire link label, the link will be deleted by typing any key.
- To edit the link label directly without deleting it, put the cursor within that link label, use the ← Backspace and Del keys (no more than necessary), and a narrow blue link area will remain there. Now you may type in the new label for the kept link.
- You can also link to categories, files and more.
Editing references
- For further information, see Help using citation templates or Help using Citoid's Automatic tab
Determining which system is in place
Cite
menu does not include any citation templates. If your wiki uses this system, then everything you need to know about footnotes is on this page.
Cite
button. Then a dialog box opens, which includes several popular citation templates set up for quick access in the Manual
tab. If your wiki uses this system, then you will find more details at Help:VisualEditor/User guide/Citation templates .
Cite
button. Then a dialog box opens, which includes an automatic citation process using the Citoid service under the Automatic
tab. If your wiki uses this system, you will find more details at Help:VisualEditor/User guide/Citations-Full
Editing an existing reference
Reference
icon (bookmark) or an icon (and name) for the template that was used to create this reference. In either case, pressing on the Edit
button will open a dialog where you can edit the reference.
Reference
icon, pressing Edit
opens the reference dialog. To start changing the reference information, press on it.
Many wikis use templates to format references. If a template is used in your reference, then when you move your pointer over the reference information, all the information in that field will be highlighted.
If a template was used and you press on the reference information, then the Template icon (puzzle piece) will appear with some information. Press on the Edit
button to edit the content of the template in the template editor dialog.
Edit
will open the template editor dialog.
Add
at the bottom of the editor.
Re-using an existing reference
To re-use an existing reference, place your cursor in the body of the text where you want to add a new reference (number) for that citation. Then press on the Re-use
item from the Cite
menu.
(Note: If your wiki has the second or third footnote system described above, you'll see a Re-use
tab, in a dialog, instead of a Re-use
item on the Cite
menu.)
Search within current citations
) to list only those references that include certain text.
Adding a new reference
Cite
menu, place your cursor where you want to add it in the text. Then click Basic
.
Using the Basic
citation
You can make the reference belong to a given group, although normally this is left blank. (This option is used to display groups of references with the References list
tool.)
Insert
toolbar menu within the Reference editor.
After you are done editing your new template, press on Apply changes
to return to the Reference editor, and Apply changes
again to return to the page you are editing.
Place the cursor where you want to display the references list (usually at the bottom of the page), open the Insert
menu and press the References list
icon (three books).
The final step in the References list dialog is to press Insert
.
Using standard cite templates
Cite
menu. If so, you have quick access to the most-used citation templates for your wiki. (Instructions for adding extra citation templates to your local wiki are available at VisualEditor/Citation tool .)
Add
option.
Press on Insert
when you are done.
Editing images and other media files
Editing images
Images and media
icon (a picture of mountains) in the Insert
menu. The image will be added wherever your cursor is.
Images and media
icon opens a dialog that automatically searches Wikimedia Commons and your local wiki for media files related to the title of the page you are editing.
You can change the search by changing the text in the dialog's search box.
To choose a file, press on its thumbnail image.
This places the image onto the page you are editing.
Advanced settings
window. These include the alignment, the type, and size of the image.
Images and media
icon that appears below the picture.
You can resize an existing image by pressing on it, then moving the resize icon (the two-headed arrow on one or both bottom corners).
You can also drag and drop an image to a place higher or lower on the page.
Uploading images
Upload
tab and select an image from your computer. You can type the file name, or drag an image into the box. If you dragged and dropped an image directly into the editor, or pasted one from your clipboard, this tab will open automatically.
Editing media galleries
Gallery
icon (a set of photos) on the Insert
menu. (If you don't see this icon on that menu, then your local wiki has decided to delay implementing this functionality in the visual editor.)
|
) and the caption for that image. You must put each image in the gallery on its own line. You can also edit this list to remove or rearrange images or to change captions.
When you press the Done
button, you will exit the gallery editor. You should then see your changes, with the gallery as it will now appear to readers.
Remember that exiting the gallery editor does not publish your changes. As with other changes made using the visual editor, you must publish the entire page in order to publish your work.
Editing templates
The powerful MediaWiki template system lets you insert dynamic content, text from other pages, and much more. For a detailed explanation and examples, see the Templates help page.
In the VisualEditor you can search for a relevant template, add an invocation or transclusion on the page you’re editing and, if needed, add custom content using parameters.
Insert new template
There are a number of other ways to discover templates that may be useful to you: you can mark some templates as your favorites, browse them by category, or view your wiki's list of featured templates. Documentation about these features is available at Help:TemplateData/Template discovery .
You can also look for other wiki pages with similar content and view or edit their page source to see which templates are in use. When you find the desired template’s name, you can type it into this field to insert it here.
Template
. Then select the Edit
link or double click on the template itself to open the template.
Template parameters
When a template contains TemplateData, the VisualEditor can use it to present annotated fields for you to fill in.
For templates that have some community-provided TemplateData, the VisualEditor displays a list of the named parameters and, often, descriptions and instructions explaining the meaning and required format for each parameter’s values.
When you insert a new template, you may find that some optional parameters are pre-selected. That means the author(s) of the template recommends the use of those parameters. It’s best to review all parameters that will be used in a template to ensure you understand their use.
Clicking an unchecked parameter adds it to the template. Clicking a parameter that’s already been added takes you to the parameter’s input field.
Some template parameters will show as "deprecated". Don’t use deprecated parameters when inserting a template; they’re only visible to you because those parameters are in use on older pages where this template was included.
Adding undocumented parameters
If you find in the documentation that the template expects parameters without names, fill in numbers as placeholders for the parameter names using the undocumented parameter input, then add text to the values you want to provide as you normally would.
Example:
- first unnamed parameter: "1"
- first unnamed parameter’s value: "en_US"
- second unnamed parameter: "2"
- second unnamed parameter’s value: "yes"
If you accidentally include nonexistent, misspelled or erroneous parameters, the values you enter for those parameters won’t show up on the page you’re editing.
Autogenerated parameters
Editing multi-part template content
This content often contains "unbalanced templates," templates which are incomplete on their own and need to be paired with some wikitext or another template in order to function.
These related pieces of template content must be created in wikitext, but can be edited in the VisualEditor. In these cases you will see a notice at the top of the dialog to signal the situation and a specialized toolbar will be visible at the bottom of the sidebar. There you can use the icon buttons to add additional templates, additional wikitext, delete elements or change their order.
Nested templates
The VisualEditor can’t present this template within a template (a nested template) using the editor’s easy-to-use interface, so if you want to nest a template yourself, you’ll need to understand how to add the template by hand in wikitext into the appropriate parameter field.
Completing your edit
Apply changes
. Then you can preview your edit and make sure it looks the way you want and expect.
You may also see an error message, which (like the other TemplateData mentioned above) is community-provided content and may vary in usefulness. You may need to consult the template’s own documentation to get to the bottom of some errors. If you’re still having trouble, consider posting about your problem on the template’s talk page.
Removing a template
Editing on mobile
Substituting templates
There’s another, much less common way to use templates, though, and that’s to substitute a template. Doing this permanently includes the template content just as it appears at the moment you insert it. It will not update if the template code is later changed.
Most users won’t ever need to resort to substitution. Substitution is typically only useful when you need to capture the exact appearance of one version of a template, such as when content is under development and needs evaluation.
To substitute a template in the VisualEditor, insert a template using the name syntax subst:<template name>
.
Then press the blue "Add" button.
When you’re finished, press "Insert", which will insert the template content as you see it.
Editing lists
To start a new list, just press on one of the two menu items shown here. Or, if you already have typed the list (on separate lines), select (highlight) the list you have typed, then press on one of the menu items.
Editing tables
You can even import a table by dragging a comma-separated value (.csv) file from your computer into the main editing window.
Insert
menu, the visual editor inserts a blank four-by-four table.
Now the "Table" menu is available. From that menu, you can add a caption to the top of the table.
To end your editing of a cell, just press elsewhere.
Editing categories
Categories
opens a dialog that lists existing categories and allows you to add new ones, and to delete existing categories.
You also have the option of setting or changing the general (default) sorting key, which determines where the page appears when listed with other pages in the same category.
For example, the default sorting key for the article "George Washington" is "Washington, George". In the category "Presidents of the United States", the article is listed under the letter "W", not the letter "G".
Add a category
. As you type, the visual editor will search for possible matching, existing categories. You can either select an existing category, or you can add a category that doesn't yet have its own category page. (Until that category page is created, your new category will show as a red link after you publish all your editing changes.)
Remove
icon (trash can) in the dialog that opens.
Pressing on a category also allows you to specify a sorting key for that specific category. Such a sorting key overrides the default sorting key.
Editing page settings
Page options
menu, in the toolbar, and select the Page settings
button.
Redirect this page to
checkbox, and then typing the name of the page to which you want to send the reader who tries to go to the page that you are editing.
At the bottom is the option to prevent page renames from updating this redirect. This is very rarely used.
If needed
, which shows a Table of Contents if there are three or more headings.
Editing maps
Editing mathematical formulae
Math formula
icon ("Σ") in the Insert
menu on the toolbar.
Insert
button.
Editing musical scores
To edit an existing musical notation on the page, double press on it.
Editing poems and other special items
Until they are fully supported, you can copy an existing one from another page, or edit the source wikitext directly.
Switching between the visual and wikitext editors
To switch from the visual editor to the wikitext editor, press the [[ ]]
button on the far right of the toolbar.
Discard edits
, you'll just see wikitext, ready to edit with the wikitext editor.)
Scroll down, and you'll see the wikitext editing area.
You can also switch from the wikitext editor to the visual editor. To do that, press the pencil icon on the far right of the toolbar.
Keyboard shortcuts
Many editors are used to entering wikitext directly, especially bold, italics and wikilinks. Keyboard shortcuts allow to quickly apply formatting without having to use toolbar items. Here are some of the most common shortcuts in the visual editor:
PC shortcut | Action | Mac shortcut |
---|---|---|
Ctrl+B | Bold | ⌘ Cmd+B |
Ctrl+I | Italics | ⌘ Cmd+I |
Ctrl+K | Insert link | ⌘ Cmd+K |
Ctrl+X | Cut | ⌘ Cmd+X |
Ctrl+C | Copy | ⌘ Cmd+C |
Ctrl+V | Paste | ⌘ Cmd+V |
Ctrl+Z | Undo | ⌘ Cmd+Z |
Also see the full list of all keyboard shortcuts .