Help:VisualEditor/User guide

From Memipedia

<languages />

PD Note: When you edit this page, you agree to release your contribution under the CC0. See Public Domain Help Pages for more info.
<translate> If you would like to try the visual editor without editing an article, [<tvar|sandbox></> here is a page] where you can freely test it.</translate> <translate> You don't need an account to use the visual editor on that page.</translate>

<translate> Opening the visual editor</translate>


To edit a page using the visual editor, press on the "<tvar|edit>commit vandalism</>" 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 "<tvar|editsource>Vandalize for l33tz</>" tab will open the classic wikitext source editor.</translate>

VisualEditor edit tab-en.png

editsection>edit</>" link on each section.</translate>
VisualEditor - Section edit links-en.png

<translate> Getting started: the visual editor's toolbar</translate>

<translate> Screenshot of the visual editor's toolbar</translate>
<translate> The visual editor's toolbar appears at the top of the screen when you begin editing. It includes some familiar icons:</translate>

VisualEditor - Toolbar - Undo-redo.png
undo>Undo</> and <tvar|redo>Redo</> the changes you have made.</translate>

VisualEditor Toolbar Headings-en.png
format>Heading</>", and subsections are "<tvar|subheading2>Sub-heading 1</>", "<tvar|subheading3>Sub-heading 2</>", and so on.</translate> <translate> The normal format for text is "<tvar|format>Paragraph</>".</translate>

VisualEditor Toolbar Formatting-en.png

<translate> Formatting: Pressing the "A" opens a menu. </translate>

  • <translate> The "<tvar|bold>Bold</>" item (B) bolds the selected text.</translate>
  • <translate> The "<tvar|italic>Italic</>" item (I) italicizes the selected text.</translate>
  • <translate> The "<tvar|superscript>Superscript</>" item (x2) causes the selected text to appear smaller than surrounding text and to be slightly higher than the surrounding text.</translate>
  • <translate> The "<tvar|subscript>Subscript</>" item (x2) causes the selected text to appear smaller than surrounding text and to be slightly lower than the surrounding text.</translate>
  • <translate> The "<tvar|strikethrough>Strikethrough</>" item (S) adds a solid bar through the selected text.</translate>
  • <translate> The "<tvar|code>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.</translate>
  • <translate> The "<tvar|underline>Underline</>" item (U) adds a solid line beneath the selected text.</translate>
  • <translate> The "<tvar|language>Language</>" item (<tvar|languageletters>文A</>) allows you to label the language (for example, Japanese) and direction (for example, right-to-left) of the selected text.</translate>
  • <translate> The final item (<tvar|clearicon>VisualEditor MediaWiki theme clear icon bitmap.png</>), called "<tvar|clearbutton>Remove</>", removes all character formatting from the selected text, including links.</translate>

<translate> 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.</translate>

VisualEditor - Toolbar - Linking.png
<translate> Linking tool: The chain icon is the [[<tvar|1>#Editing links</>|linking tool]]. Pressing on it (usually after selecting some text) opens the [[<tvar|1>#Editing links</>|link dialog]].</translate>

VisualEditor - Cite Pulldown.png

<tvar|cite>Cite</> menu: The "<tvar|cite>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. It also gives users quick access to local citation templates, if these are enabled on their wiki.

(Instructions for adding local citation templates to the <tvar|cite>Cite</> menu at a specific wiki are available at <tvar|1>VisualEditor/Citation tool </>.)</translate>

VisualEditor citoid Cite button-en.png
1>⧼citoid-citoidtool-title⧽</> button:</translate> <translate> If the citoid service is enabled on your wiki, then you will see a <tvar|citoid>⧼citoid-citoidtool-title⧽</> button instead of a <tvar|cite>Cite</> menu.</translate>

<translate> The citoid service tries to fill out citation templates automatically.</translate>

VisualEditor Toolbar Lists and indentation-en.png
bullet>Bullet list</>" or a "<tvar|numbered>Numbered list</>". The last two items allow you to decrease or increase the indentation level of list items.</translate>

VisualEditor Insert Menu-en.png
toolbar>Insert</>: The "<tvar|toolbar>Insert</>" menu may be different on some projects. Below is a list of all options that may appear.</translate>
  • <translate> The "<tvar|media>Images and media</>" icon (a picture of mountains) opens the [[<tvar|1>#Editing images and other media files</>|media dialog]].</translate>
  • <translate> The "<tvar|template>Template</>" icon (a puzzle piece) allows you to [[<tvar|1>#Editing templates</>|edit templates]].</translate>
  • <translate> The "Table" item allows you to insert a table.</translate>
  • <translate> The "<tvar|comment>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.</translate>
  • <translate> The "<tvar|hiero-title>Hieroglyphs</>" icon (an ankh symbol - ☥) allows you to enter the hieroglyphics inserter. (See below.)</translate>
  • <translate> The "Code block" item allows you to insert code.</translate>
  • <translate> The "Musical notation" item allows you to insert a musical notation.</translate>
  • <translate> The "<tvar|inspector>Gallery</>" icon (a set of photos) allows you to insert a gallery to the page.</translate>
  • <translate> The "<tvar|formula-title>Math formula</>" icon (Σ) opens the [[<tvar|1>#Editing mathematical formulae</>|formula inserter dialog]].</translate>
  • <translate> The "Graph" item allows you to insert a graph.</translate>
  • <translate> The "<tvar|signature>Your signature</>" item allows you to insert a signature that you use on the project.</translate> <translate> 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.</translate>
  • <translate> The "<tvar|referencelist>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.</translate>

<translate> Special character insertion: The "<tvar|special>Special character</>" (Ω) icon is next to the "<tvar|toolbar>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.</translate> <translate> (This list may be customized locally. See <tvar|1>VisualEditor/Special characters </> for instructions.)</translate>
VisualEditor Toolbar SpecialCharacters-en.png

VisualEditor toolbar edit notices icon.png
<translate> The Edit notices button displays any notices for the page.</translate>

VisualEditor More Settings-en.png

The <tvar|pagemenu>Page options</> menu is to the left of the <tvar|save>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:

  • <tvar|1>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.</translate>


  • <tvar|1>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.</translate>


  • 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.</translate>


  • <tvar|language>Languages</> which shows a list of pages in other languages that are linked to that page.</translate>


  • 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 <tvar|pagemenu>Page options</> menu and can be opened by clicking on it.</translate> <translate> Furthermore the <tvar|pagemenu>Page options</> menu contains the button View as right-to-left and the button Find and replace which opens a dialog where you can insert characters, terms or Regular expressions you are searching for and those to replace them with, together with several buttons for options.</translate>

VisualEditor bi-directional switching square brackets icon.png
save>Publish changes</> button. It allows you to switch to the wikitext editor.</translate>

<translate> Publishing changes</translate>

save>Publish changes</>" button in the toolbar. If you have made no changes, the button will be disabled (grayed out).</translate> <translate> To cancel all your editing changes, close your browser window, or press the "<tvar|view>Read</>" tab above the edit toolbar.</translate>
VisualEditor toolbar actions-en.png


Pressing the blue "<tvar|save>Publish changes</>" button opens a dialog. You can then enter a brief summary of your actions, mark your edit as minor, and/or add the page to your <tvar|watchlist>Watchlist</>. The box for the summary is the equivalent of the <tvar|summary>Summary:</> field in the wikitext editor.

You can also review your changes using the "<tvar|review>Review your changes</>" button to confirm that they will function as intended before saving your changes. This is similar to the "<tvar|showdiff>Show changes</>" button in the wikitext editor.

The "<tvar|cancelsave>Resume editing</>" button returns you to the page you were editing. You can publish all of your changes later.</translate>

VisualEditor save dialog-en.png

<translate> Editing links</translate>

VisualEditor - Toolbar - Linking.png

Links can be added through the "<tvar|annotation>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 "<tvar|annotation>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.</translate>

VisualEditor-link tool-search results-en.png
<translate> When you use either the button or the shortcut, a dialog will open in which you may type the link.</translate>

<translate> The link tool will try to help with internal links by searching for likely matches.</translate> <translate> Once you have entered or selected the link, you complete the linking process by pressing Enter or by pressing the "<tvar|dialogdone>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.</translate>

VisualEditor-link tool-external link.png
1>External site</>" tab, and enter a URL in the box.</translate>

VisualEditor link tool simple link.png
dialogdone>Done</>" button to insert the link.</translate>

VisualEditor-context menu-link tool.png
annotation>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.</translate> <translate> When a link is selected, it appears as blue framed.</translate>

<translate> In the link editing dialog, you can then change where the link goes. You can also remove the link entirely by pressing the "<tvar|remove>Remove</>" button in the upper right corner of the dialog.</translate> <translate> 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.)</translate>

<translate> 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)</translate>


  • Pressing it twice will put the cursor after the element linked, ready to type the rest of your text.</translate>

<translate> To edit the link label of an existing link, press within the link label and type the new one.</translate> <translate> But if you want to replace the entire label, please note:</translate>

  • <translate> If you have selected (highlighted) the entire link label, the link will be deleted by typing any key.</translate> <translate> You may link it from start.</translate>
  • <translate> To keep the link directly, you may press within that link label, use backspace and delete key without pressing it once more than necessary, and a narrow blue link area will remain there.</translate> <translate> Now you may type in the new label for the kept link.</translate>
  • <translate> You can also [[<tvar|Advanced>Special:MyLanguage/Help:VisualEditor/User guide/Links</>|link to categories, files and more]].</translate>

<translate> Editing references</translate>


For further information, see <tvar|1><translate> [[<tvar|ve-cite-tpl>Help:VisualEditor/User guide/Citations-Templates</>|Help using citation templates]] or [[<tvar|ve-cite-full>Help:VisualEditor/User guide/Citations-Full</>|Help using citoid's Cite button]]</translate></>



Determining which system is in place


cite>Cite</>" menu does not include any citation templates.</translate> <translate> If your wiki uses this system, then everything you need to know about footnotes is on this page.</translate>
VisualEditor cite menu default.png

cite>Cite</>" menu, but with several popular citation templates set up for quick access.</translate> <translate> If your wiki uses this system, then you will find more details at <tvar|help>Help:VisualEditor/User guide/Citations-Templates </></translate>
VisualEditor references more.png

VisualEditor citoid Cite button-en.png
help>Help:VisualEditor/User guide/Citations-Full </></translate>
VisualEditor Citoid Inspector-en.png


Editing an existing reference


ref>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.</translate>
VisualEditor - Editing references 1.png

ref>Reference</>" icon, pressing "Edit" opens the Reference dialog. To start changing the reference information, press on it.</translate>

<translate> 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 <tvar|template>Template</> icon (puzzle piece) will appear with some information. Press on the "edit" button to edit the content of the template in the template mini-editor dialog.</translate>

VisualEditor - Editing references 6.png

<translate> If what appears when you press on a reference is an icon for a standard template for citations (an example is at right), then pressing "Edit" will open the template mini-editor dialog.</translate>
VisualEditor - Editing References - Cite Web.png

add-param>Add more information</>" at the bottom of the mini-editor.</translate>
VisualEditor - Editing references 5.png

apply>Apply changes</>" when you are done. </translate>
VisualEditor Apply Changes-en.png

<translate> Re-using an existing reference</translate>

<translate> If the page already contains a citation that applies to the text you want to source, then you can choose to re-use that existing citation.</translate>

<translate> 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 reference" item from the "<tvar|1>Cite</>" menu.

(Note: If your wiki has the third footnote system described above, you'll see a "Re-use" tab, in a dialog, instead of a "Re-use" item on the "<tvar|cite>Cite</>" menu.) </translate>

VisualEditor Cite menu re-use.png

1>Reference</> dialog, look at the list for the reference you want to reuse, and select it. If there are many references, you can use the search box (labeled "<tvar|2>Search within current citations</>") to list only those references that include certain text.</translate>
VisualEditor - Editing references 18.png

<translate> Adding a new reference</translate>

1>Cite</>" menu, place your cursor where you want to add it in the text. Then select the appropriate citation type in the menu.</translate>
VisualEditor references more.png

<translate> Using the "Basic" citation</translate>

<translate> Shown here is what you will see if you select the basic references item.</translate> <translate> In the Reference editor, you can add your citation, including formatting.</translate>

<translate> 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 "<tvar|referencelist>References list</>" tool.)</translate>

VisualEditor - Editing references 20.png

template>Template</> icon (puzzle piece) in the "<tvar|insert>Insert</>" toolbar menu within the Reference editor.</translate>
VisualEditor Template Insert Menu-en.png

<translate> Then, look for the template you want to use, add it and edit it as you would any other template. (See the [[<tvar|1>#Editing templates</>|Editing templates]] section, below, if you need more information about templates.)</translate>

<translate> After you are done editing your new template, press on "<tvar|apply>Apply changes</>" to return to the Reference editor, and "<tvar|apply>Apply changes</>" again to return to the page you are editing.</translate>

VisualEditor - Editing references 9.png

<translate> If there isn't already a list of references on the page (for example, if you are adding the first reference for the page), you need to specify where the list of references, and their text, will be displayed to the reader.</translate>

<translate> Place the cursor where you want to display the references list (usually at the bottom of the page), open the "<tvar|insert>Insert</>" menu and press the "<tvar|referencelist>References list</>" icon (three books).</translate>

VisualEditor References List Insert Menu-en.png

<translate> If you are using several groups of references, which is relatively rare, you can specify the group in this dialog. Only the references that belong to that group will be displayed on the page at the location where you are placing the group.</translate>

<translate> The final step in the References list dialog is to press "<tvar|insert-button>Insert</>".</translate>

VisualEditor references list-en.png

<translate> Using standard cite templates</translate>

cite>Cite</>" menu. If so, you have quick access to the most-used citation templates for your wiki.</translate> <translate> (Instructions for adding extra citation templates to your local wiki are available at <tvar|1>VisualEditor/Citation tool </>.)</translate>
VisualEditor - Editing References - Cite Pulldown.png

<translate> Pressing on a template icon such as "Cite book" will take you into the template mini-editor for that template. Important information fields may be marked with an asterisk. While the most common fields will be shown, not all of them are required.</translate>
VisualEditor - Editing references - Cite book required fields.png


To add more parameters, scroll down in the template mini-editor and press on the "<tvar|add-param>Add more information</>" option.

Press on "<tvar|insert-citation>Insert</>" when you are done.</translate>

VisualEditor - Editing references - Add parameter.png

<translate> Editing images and other media files</translate>

<translate> Editing images</translate>

dialog>Images and media</>" icon (a picture of mountains) in the "<tvar|toolbar>Insert</>" menu. The image will be added wherever your cursor is.</translate>
VisualEditor Media Insert Menu-en.png


Pressing the "<tvar|media>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.</translate>

VisualEditor - Media editing 2.png

<translate> After the image you selected is inserted into the page, another dialog will open. This dialog allows you to add and edit the caption of the image. The caption can contain formatting and links.</translate>
VisualEditor - Media editing 6.png

<translate> The media dialog also allows you to add alternative text captions, to help users who use screen readers, or who have disabled image display.</translate>
VisualEditor - Media editing 7.png

advancedsettings>Advanced settings</>" window. These include the alignment, the type, and size of the image.</translate>
VisualEditor - Media editing 8.png

apply>Apply changes</>" to close the dialog and return to editing the page.</translate>
VisualEditor Apply Changes-en.png


For an existing image, you can add or edit a caption or other settings by pressing on the image, then pressing on the "<tvar|media>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.</translate>

VisualEditor - Media editing 3.png

<translate> Uploading images</translate>

<translate> You can upload images from a tab in the media dialog, or by dragging and dropping a file into the editor, or by pasting an image from your clipboard.</translate>
VisualEditor - Media upload 1.png

<translate> Press the "Upload" tab and select an image from your computer. You can type the file name, or drag an image into the box.</translate> <translate> If you dragged and dropped an image directly into the editor, or pasted one from your clipboard, this tab will open automatically.</translate>
VisualEditor - Media upload 1.5.png

<translate> You need to describe the image and add categories to it so that other people can find it.</translate>
VisualEditor - Media upload 2.png

<translate> The image will be inserted into the page when you are done.</translate>

<translate> Editing media galleries</translate>

gallery>Gallery</>" icon (a set of photos) on the "<tvar|toolbar>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.) </translate>
VisualEditor - Gallery1.png

<translate> To edit an existing gallery in the visual editor, press that gallery. Then, near the bottom of the gallery, press the gallery icon (a set of photos). This brings up the gallery editor, with the full list of images included in the gallery.</translate>
VisualEditor - Gallery2.png
<translate> The gallery editor is currently a simple box that allows you to edit existing galleries using wikitext markup. To add a new image to an existing gallery, type the file name, followed by a bar (|) and the caption for that image. You must put each image in the gallery on its own line.</translate> <translate> You can also edit this list to remove or rearrange images or to change captions.</translate>

<translate> When you press the "<tvar|1>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.</translate>

VisualEditor - Gallery3.png

<translate> Editing templates</translate>




template>Template</>" icon (puzzle piece) in the "<tvar|insert>Insert</>" menu.</translate>
VisualEditor Template Insert Menu-en.png

add-transclusion>Add template</>".</translate>
VisualEditor - Template editing 4.png

template>Template</>" icon (puzzle piece). Then press on the "<tvar|edit>commit vandalism</>" link. </translate>
VisualEditor - Template editing 1.png

<translate> Some templates are not visible to someone reading a page.</translate> <translate> In the visual editor, such hidden templates are shown as puzzle icons.</translate> <translate> The name of the template will be shown next to the puzzle icon.</translate>
VisualEditor template not visible.png

<translate> When you select the icon, the context menu is displayed, and you can edit the template.</translate>
VisualEditor template not visible context menu.png

<translate> Template parameters</translate>

transclusion-title>⧼visualeditor-dialog-transclusion-title⧽</>" dialog is shown. The contents depends upon whether the template has been documented using the <tvar|TemplateData>TemplateData </> system or not.</translate>

<translate> The template shown here has no TemplateData set up for it.</translate> <translate> The dialog therefore provides a link to documentation for the template.</translate> <translate> By visiting the documentation you should be able to figure out if the template has any parameters (fields), and what goes in each field. Use numbers as the name for each nameless parameter.</translate> <translate> The first un-named parameter is named 1, the second is named 2, and so forth.</translate>
VisualEditor template with no TemplateData.png

<translate> If a template has been updated to contain TemplateData information, then the dialog will show a list of individual (named) parameters.</translate>
VisualEditor template with TemplateData.png

add-param>Add more information</>", at the very bottom of the dialog.</translate>
VisualEditor - Template editing 3.png

<translate> When a template embeds other templates, these sub-templates will appear inside the parameters that display them. They can be edited or removed inside the parameter field.</translate>

<translate> New sub-templates are added by following the steps for adding a parameter. You may need to check the template documentation to make sure that the sub-template is supported.</translate> <translate> Nested templates can currently be edited as wikitext only, without the facility offered by VisualEditor (see phab:T52182).</translate>

VisualEditor - Template editing 5.png

<translate> Finishing</translate>

apply>Apply changes</>" to close the dialog and return to editing the main page.</translate>
File:VisualEditor Apply Changes.png

<translate> Substituting templates</translate>


When a template must be substituted, type subst: (colon included) before the template's name.

Autocompletion doesn't work with subst:. If you want to use autocompletion, first find the template you are looking for, and then add subst: in front of the template name.

Then, press the blue "<tvar|1>Add template</>" button.</translate>

<translate> Add any parameters as usual and press "<tvar|1>Insert</>".</translate>

VisualEditor - Template editing 7.png

1>Apply changes</>".</translate>
VisualEditor - Template editing 8.png


Editing lists


File:VisualEditor Toolbar Lists and indentation.png
<translate> You can use the visual editor to create lists, or to change the format of an existing list. There are two types of lists: unordered (bullet) and ordered (numbered).</translate>

<translate> 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.</translate>

VisualEditor lists 1 unordered bullet.png
VisualEditor lists 2 ordered numbered.png
<translate> Shown here are examples of the two types of lists: unordered (bullet) and ordered (numbered).</translate>

VisualEditor lists 3 select to indent.png
<translate> If you want to change the indentation level of part of an existing list, select the part of the list that you want to change.</translate>

VisualEditor lists 4 indentation menu.png
<translate> Then use the menu, or press the Tab key. (The Tab key increases indentation; use the shift key plus the Tab key to decrease indentation)</translate>

VisualEditor lists after indenting.png
<translate> Here is the result of increased indentation.</translate>

VisualEditor lists mixed.png
<translate> You can even mix ordered (numbered) and unordered (bullet) lists, if the list items have different indentations.</translate>

<translate> Editing tables</translate>

VisualEditor insert table.png

You can use the visual editor to insert and change tables.

You can even import a table by dragging a comma-separated value (.csv) file from your computer into the main editing window.</translate>


When you press on "Table", in the "<tvar|toolbar>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.</translate>

VisualEditor empty table.png

<translate> To select a cell, press it once.</translate>
VisualEditor tables select one cell.png


To edit the contents of the cell (for example, to add content or to correct a spelling error), double press in the cell. Or you can select the cell and then press Return.

To end your editing of a cell, just press elsewhere.</translate>

VisualEditor tables type inside a cell.png

VisualEditor table editing add and remove columns.png
<translate> You can add, move or delete a column or a row.</translate>

<translate> You can merge cells: Select them, then from the Table menu, press on "Merge cells".</translate>
VisualEditor tables merge cells.png

<translate> If you merge cells, only the text in one cell is kept; any text in the other cells is deleted when you merge the cells. If you decide that you wanted some or all of the text that was deleted, use the Undo button, move or copy the text you want, then merge the cells again.</translate>
VisualEditor tables post-merge cell.png

<translate> You can also split cells that were previously merged. All the content that was in the merged cell will remain in the first cell when you do the split. You can then cut and paste text to other cells, if you want.</translate>
VisualEditor tables split cells.png

<translate> Editing categories</translate>

File:VisualEditor category item.png
pagemenu>Page options</>" menu, press the "<tvar|categories-tool>Categories</>" item.</translate>

File:VisualEditor category editing.png

Pressing on "<tvar|categories-tool>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) [[<tvar|help>Special:MyLanguage/Help:Sorting#Sort order</>|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".</translate>

VisualEditor - Category editing 3.png
apply>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.)</translate>

VisualEditor - Category editing 2.png

To remove an existing category, press on it and press on the "<tvar|remove>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.</translate>

File:VisualEditor Apply Changes.png
apply>Apply changes</>" when you are done editing categories to return to the page editor.</translate>

<translate> Editing page settings</translate>

File:VisualEditor page settings item.png
pagemenu>Page options</>" menu, in the toolbar, and select the "<tvar|page-settings>Page settings</>" button.</translate>

File:VisualEditor Page Settings.png
page-settings>Page settings</>" button opens a dialog that shows several options.</translate>

File:VisualEditor Page Settings Redirects.png

You can make a page a redirect to another page by checking the "<tvar|redirect-label>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.</translate>

File:VisualEditor Page Settings TOC.png
toc-default>If needed</>", which shows a Table of Contents if there are three or more headings.</translate>

File:VisualEditor Page Settings Edit Links.png
<translate> You can make a page not show edit links next to each section header by checking this checkbox.</translate>

File:VisualEditor Apply Changes.png
apply>Apply changes</>" when you are done editing the <tvar|pagemenu>Page options</> to return to the page editor.</translate>

<translate> Editing maps</translate>

Visual editor showing editing an existing map.jpg
1>Help:VisualEditor/Maps </>.</translate>

<translate> Editing mathematical formulae</translate>

formula-title>Math formula</>" icon ("Σ") in the "<tvar|insert>Insert</>" menu on the toolbar.</translate>
File:VisualEditor Formula Insert Menu.png

dialogdone>Insert</>" button.</translate>
File:VisualEditor formula.png

<translate> To edit an existing mathematical formula on the page, press on it and then press on the "Σ" icon that appears. This will open up the formula window, where you make changes.</translate>
VisualEditor - editing existing mathematical formula.png

<translate> Mathematical formulae can be placed inline or centered as a block.</translate>
VisualEditor mathematic formula inline.png


Editing musical scores


<translate> To add a new musical notation to a page, place your cursor where you want the musical notation to be inserted.</translate> <translate> Then, from the "Insert" menu on the toolbar, press the "Musical notation" option.</translate>

<translate> To edit an existing musical notation on the page, double press on it. </translate>


<translate> This will open the "Musical notation" dialog. Here the notation can be edited by scale, either in ABC or in Lilypond format.</translate> <translate> You can also link the notation to an audio or MIDI file.</translate> <translate> Once you are finished, press the "Done" button to close the dialog and publish your changes.</translate>

<translate> Editing poems and other special items</translate>

<translate> Some items, such as association lists and poems, are not yet fully supported by the visual editor.</translate>
VisualEditor editing poem 1.png

<translate> In most cases, the existing items can be edited, but new ones cannot be inserted in the visual editor.</translate>

<translate> Until they are fully supported, you can copy an existing one from another page, or edit the source wikitext directly.</translate>

VisualEditor editing poem 2.png

<translate> Switching between the visual and wikitext editors</translate>

<translate> To switch from the visual editor to the wikitext editor, press the [[ ]] button on the far right of the toolbar.</translate>

VisualEditor toolbar Page options - Switch to wikitext - Save.png

<translate> You'll see a diff. (If you pressed on "Discard changes", you'll just see wikitext, ready to edit with the wikitext editor.)

Scroll down, and you'll see the wikitext editing area.</translate>

VisualEditor bi-directional switching diff before wikitext.png

<translate> 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.</translate>

VisualEditor bi-directional switching pencil icon in wikitext.png

<translate> Keyboard shortcuts</translate>

<translate> Many editors are used to entering wikitext directly, especially bold, italics and wikilinks. [[<tvar|Keyboard>mw:VisualEditor/Portal/Keyboard shortcuts</>|Keyboard shortcuts]] allow to quickly insert similar formatting without having to use toolbar items. Here are the common general shortcuts in the visual editor:</translate>

<translate> PC shortcut</translate> <translate> Action</translate> <translate> Mac shortcut</translate>

Ctrl+B <translate> Bold</translate> Cmd+B

Ctrl+I <translate> Italics</translate> Cmd+I

Ctrl+K <translate> Insert link</translate> Cmd+K

Ctrl+X <translate> Cut</translate> Cmd+X

Ctrl+C <translate> Copy</translate> Cmd+C

Ctrl+V <translate> Paste</translate> Cmd+V

Ctrl+Z <translate> Undo</translate> Cmd+Z

[[Category:VisualEditor{{#translation:}}|User guide]] [[Category:Help{{#translation:}}]]