Help:VisualEditor/Kasutusjuhend

From mediawiki.org
This page is a translated version of the page Help:VisualEditor/User guide and the translation is 13% complete.
Outdated translations are marked like this.
PD Märge: Selle lehe redigeerimisel nõustute vabastama oma panuse CC0 alt. Lisateavet leiate Avaliku domeeni abilehed.
PD


VisualEditori avamine

VisualEditoriga lehekülje redigeerimiseks vajuta lehe ülaservas nupule "Muuda".

Lehe avamine toimetamiseks võib võtta mõned sekundid või ka kauem, kui lehekülg on väga suur.

"Muuda lähteteksti" nupule vajutamine avab klassikalise vikiteksti redigeerimisakna.

VisualEditor edit tab-et.png

VisualEditori saab avada ka igas lõigus olevat "muuda" linki vajutades.
VisualEditor - Section edit links-et.png

VisualEditori tööriistariba

VisualEditori tööriistariba
VisualEditori tööriistariba ilmub lehe lehe ülaserva, sellega kui toimetama hakkad. See sisaldab mõningaid tuttavaid ikoone:

VisualEditor - Toolbar - Undo-redo.png
Võta tagasi ja Tee uuesti oma muudatused.

VisualEditor Toolbar Headings-et.png
Headings pull-down menu: allows you to change how the paragraph is formatted. To change the style of a paragraph, put your cursor in the paragraph and select an item in this menu (you don't have to highlight any text). Section titles are formatted "Pealkiri", and subsections are "Alampealkiri 1", "Alampealkiri 2", and so on. Normaalne formaat teksti jaoks on "Lõik".

VisualEditor Toolbar Formatting-et.png

Formatting: Pressing the "A" opens a menu.

  • The "Rasvane kiri" item (B) bolds the selected text.
  • The "Kaldkiri" item (I) italicizes the selected text.
  • The "Ülaindeks" item (x2) causes the selected text to appear smaller than surrounding text and to be slightly higher than the surrounding text.
  • The "Allindeks" item (x2) causes the selected text to appear smaller than surrounding text and to be slightly lower than the surrounding text.
  • The "Läbikriipsutus" item (S) adds a solid bar through the selected text.
  • The "Arvutikood" 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 "Allakriipsutus" item (U) adds a solid line beneath the selected text.
  • The "Keel" 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 (VisualEditor MediaWiki theme clear icon bitmap.png), called "Eemalda", 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.


VisualEditor - Toolbar - Linking.png
Linking tool: The chain icon is the linking tool. Pressing on it (usually after selecting some text) opens the link dialog.

VisualEditor - Cite Pulldown.png
Viide menu: The "Viide" 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 Viide menu at a specific wiki are available at VisualEditor/Citation tool .)


VisualEditor citoid Cite button-et.png
Viide button: If the Citoid service is enabled on your wiki, you will see a Viide button instead of a Viide menu. (To check whether it's enabled, see the page "Special:Version" on your wiki and the page Where citoid is enabled.)

The citoid service tries to fill out citation templates automatically.


VisualEditor Toolbar Lists and indentation-et.png
Loendid ja taane: Esimesed kaks ikooni on vastavalt number- ja täpploendi jaoks. Viimased kaks võimaldavad taanet kas suurendada või vähendada.

VisualEditor Insert Menu-et.png
Meediafailid, viited ja mallid: Iga ikoon avab vastava dialoogiakna:
  • The "Pildid ja muud failid" icon (a picture of mountains) opens the media dialog.
  • The "Mall" icon (a puzzle piece) allows you to edit templates.
  • The "Table" item allows you to insert a table.
  • The "Kommentaar" 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 "Hieroglüüfid" 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 "Galerii" icon (a set of photos) allows you to insert a gallery to the page.
  • The "Matemaatiline valem" icon (Σ) opens the formula inserter dialog.
  • The "Graph" item allows you to insert a graph.
  • The "Oma allkiri" 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.
  • "Viiteloend" ikoon (kolm raamatut) avab dialoogiakna viidete näitamiseks.

Special character insertion: The "Erimärk" (Ω) icon is next to the "Lisa" 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.)
VisualEditor Toolbar SpecialCharacters-et.png

VisualEditor toolbar edit notices icon.png
The Edit notices button displays any notices for the page.

VisualEditor More Settings-et.png
The Lehekülje suvandid menu is to the left of the Avalda muudatused button and the Vaheta toimetit menu. On this menu there is a button to open an Suvandid dialog with the following (left side) tabs:
  • Kategooriad 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.
  • Lehekülje sätted 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.
  • Täpsemad sätted 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.
  • Kasutatud mallid shows a list of links to each template used on this page.

The tabs of the Suvandid dialog are also displayed in the Lehekülje suvandid menu and can be opened by clicking on it. Furthermore the Lehekülje suvandid menu contains the items Kirjuta vasakult paremale or Kirjuta paremalt vasakule and the item Otsimine ja asendus, 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.


OOjs UI icon edit-ltr.svg
The Vaheta toimetit button is next to the Avalda muudatused button. It allows you to switch to the wikitext editor.

Muudatuste salvestamine

When you are finished editing, press the blue "Avalda muudatused" 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 "Vaata" tab above the edit toolbar.
VisualEditor toolbar actions-et.png

Peale rohelise nupu "⧼Visualeditor-toolbar-savedialog⧽" vajutamist avaneb väike dialoogikaen, kuhu saad sisestada lühikokkuvõtte tehtud muudatustest, märkida oma muudatuse pisiparanduseks ja panna lehekülje tulevaste muudatuste jälgimiseks oma jälgimisloendisse.

Number näitab, palju ruumi on järel, et kirjeldada tehtud muudatusi. Saad oma muudatused ka üle vaadata veendumaks, et need toimivad just nii, nagu sa kavatsesid.

The "Jätka redigeerimist" button returns you to the page you were editing. You can publish all of your changes later.

VisualEditor save dialog-et.png

Linkide toimetamine

VisualEditor - Toolbar - Linking.png
Linke saab lisada läbi "Link" ikooni (pilt ketilülidega) tööriistaribal või kiirklahve kasutades: Ctrl+K (või ⌘ Command+K Mac'il).

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.


VisualEditor-link tool-search results-et.png
Ükskõik, kas kasutad ikooni või kiirklahve, igal juhul avaneb dialoogiaken, kuhu saad trükkida lingi. VisualEditor proovib sind siselinkide (lingid teistele Vikipeedia lehekülgedele) puhul aidata: peale trükkima hakkamist üritab ta leida tõenäolisi vasteid.

The link tool will try to help with internal links by searching for likely matches. Kui oled valitud lingi sisestanud või valinud, siis saad vajutada ↵ Enter, klikkata väljaspool kasti või vajutada "Sulge" ikoonil (<). Sisestatud link ilmub VisualEditori lehel, kuid salvestatakse alles siis, kui kogu leht salvestatakse.


VisualEditor-link tool-external link.png
Teise veebisaidi veebisaidile linkimiseks on protsess sarnane: valige vahekaart "Välislink" ja sisestage kasti URL.

VisualEditor link tool simple link.png
External links without labels look like this: [1]. You can add these by placing your cursor away from any word (e.g., after a space). Open the link tool by pressing on the button or pressing the shortcut keys. Type the URL in the box, and press the "Valmis" button to insert the link.

VisualEditor-context menu-link tool.png
Olemasoleva lingi muutmiseks või eemaldamiseks kliki tekstis oleval lingil ja vajuta selle läheduses ilmuval ikoonil "Link." Võid klikkida samal ikoonil tööriistaribal või kasutada kiirklahve Ctrl+K. When a link is selected, it appears as blue framed.

Võid redigeerida lingi sihtkohta või selle hoopis eemaldada vajutades ikooni "Eemalda" (prügikast) dialoogiakna ülemises parempoolses nurgas. 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 delete 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.

Viidete toimetamine

For further information, see Help using citation templates or Help using citoid's "Viide" button

Determining which system is in place

Your wiki may use one of three footnote systems. The one shown on the right is the simplest system, where the "Viide" 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.
VisualEditor cite menu default.png

The second system has the same type of "Viide" menu, but with several popular citation templates set up for quick access. If your wiki uses this system, then you will find more details at Help:VisualEditor/User guide/Citations-Templates
VisualEditor references more.png

VisualEditor citoid Cite button-et.png
In the third system, you again start by pressing the Viide button. Then a dialog box opens, which includes an automatic citation process using the citoid service. If your wiki uses this system, you will find more details at Help:VisualEditor/User guide/Citations-Full
VisualEditor Citoid Inspector-et.png

Olemasolevate viidete toimetamine

To edit an existing reference, press on it where it appears in the text (usually as a bracketed number). You will see either a "Viide" icon (bookmark) or an icon (and name) for the template that was used to create this reference. In either case, pressing on the "Muuda" button will open a dialog where you can edit the reference.
VisualEditor - Editing references 1.png

For the "Viide" icon, pressing "Muuda" opens the reference dialog. To start changing the reference information, press on it.

Paljud vikid kasutavad malle, et viiteid teatud standardite järgi vormindada. Näed seda, kui redigeerid juba olemasolevat viidet, mille sisu muutub siniseks, kui selle valid.

If a template was used and you press on the reference information, then the Mall icon (puzzle piece) will appear with some information. Press on the "Muuda" button to edit the content of the template in the template mini-editor dialog.

VisualEditor - Editing references 6.png

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 "Muuda" will open the template mini-editor dialog.
VisualEditor - Editing References - Cite Web.png

Inside the template mini-editor, you can add or remove types of information or change current content. Only fields (template parameters) that have content will show, initially. To add fields, press on "Lisa" at the bottom of the mini-editor.
VisualEditor - Editing references 5.png

Press on "Rakenda muudatused" when you are done.
VisualEditor Apply Changes-et.png

Olemasolevate viidete korduv kasutamine

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.

Viite taaskasutamiseks aseta oma kursor sinna, kuhu soovid viidet lisada ja vajuta tööriistaribal ikoonil "Viidete loend."

(Note: If your wiki has the third footnote system described above, you'll see a "Korduv" tab, in a dialog, instead of a "Kasuta uuesti" item on the "Viide" menu.)

VisualEditor Cite menu re-use.png

Kui viiteid on palju, võid kasutada otsingukasti (sildiga "Millisele allikale tahad viidata?"), et näha ainult tekstile vastavaid tulemusi.
VisualEditor - Editing references 18.png

Uute viidete lisamine

Uue viite lisamiseks aseta oma kursor sinna, kuhu soovid viidet lisada ja vajuta tööriistaribal ikoonil "Viide."
VisualEditor references more.png

Using the "Basic" citation

Shown here is what you will see if you select the basic references item. Viidete dialoogiaknas saad viiteid lisada, muuta ja vormindada.

Võid viiteid grupeerida: viidete gruppe näidatakse tööriistaga "Viidete loend."

VisualEditor - Editing references 20.png

Kui sa lisad uut viidet ja tahad sealjuures mõnda malli kasutada, vajuta viidete dialoogiaka tööriistaribal ikoonile Malli kasutamine (pusletükk).
VisualEditor Template Insert Menu-et.png

Siis vali välja mall, mida soovid kasutada ja muuda seda sama moodi nagu sa muudaksid juba olemasolevat malli.

Vajuta nupule "Rakenda muudatused" et naasta viidete dialoogiaknasse ja uuesti "Rakenda muudatused" et leheküljele naasta.

VisualEditor - Editing references 9.png

Kui lehel pole juba viidete nimekirja (näiteks kui lisad esimest viidet), pead selle lisama, et teksitis sinu viiteid näidataks.

Aseta kursor sinna, kus tahad oma viidete nimekirja näha (tavaliselt lehekülje lõpus) ja vajuta ikoonil "Viidete loend (kolm raamatut) selle lisamiseks.

VisualEditor References List Insert Menu-et.png

Kui sa lõid viidete gruppe, saad dialoogiaknas valida konkreetse grupi, millesse kuuluvaid viiteid näidata.

The final step in the References list dialog is to press "Lisa".

VisualEditor references list-et.png

Using standard cite templates

Your local wiki may have added extra citation templates to the "Viide" 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 .)
VisualEditor - Editing References - Cite Pulldown.png

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.
VisualEditor - Editing references - Cite book required fields.png

To add more parameters, scroll down in the template mini-editor and press on the "Lisa" option.

Press on "Lisa" when you are done.

VisualEditor - Editing references - Add parameter.png

Editing images and other media files

Editing images

Uue pildi (või muu meediafaili) lehele lisamiseks klikka tööriistaribal ikooni "Meediafail" (mägedega pilt).
VisualEditor Media Insert Menu-et.png

Ikoonile "Pildid ja muud failid" klikkamine avab dialoogiakna, mis automaatselt otsib Wikimedia Commonsist meediafaile, mis on toimetatava leheküljega seotud.

Võid otsida ka teisi faile, muutes teksti dialoogiakna otsingukastis.

Faili valimiseks klikka pisipildile.

This places the image onto the page you are editing.

VisualEditor - Media editing 2.png

Meediafaili dialoogiaken võimaldab sul lisada (ja redigeerida) pildiallkirja, mis võib sisaldada vormindust ja linke.
VisualEditor - Media editing 6.png

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

You can also set various parameters for the image in the "Täpsemad sätted" window. These include the alignment, the type, and size of the image.
VisualEditor - Media editing 8.png

Kui oled lõpetanud, siis klikka nupul "Rakenda muudatused" et dialoogiaken sulgeda ja redigeerimisleheküljele naasta.
VisualEditor Apply Changes-et.png

For an existing image, you can add or edit a caption or other settings by pressing on the image, then pressing on the "Pildid ja muud failid" 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.

VisualEditor - Media editing 3.png

Uploading images

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.
VisualEditor - Media upload 1.png

Press the "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.
VisualEditor - Media upload 1.5.png

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

The image will be inserted into the page when you are done.
VisualEditor-logo.svg

Editing media galleries

To add a new gallery, press the "Galerii" icon (a set of photos) on the "Lisa" 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.)
VisualEditor - Gallery1.png

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.
VisualEditor - Gallery2.png
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. You can also edit this list to remove or rearrange images or to change captions.

When you press the "Valmis" 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.

VisualEditor - Gallery3.png

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

Uue malli lisamiseks aseta oma kursor sinna, kuhu soovid malli lisada ja vajuta tööriistaribal ikoonil "Malli kasutamine" (pusletükk). Then open the Lisa menu and select "OOjs UI icon puzzle-ltr.svg Mall". Alternatively, type two curly brackets {{ to open the same dialog.
VisualEditor Template Insert Menu-et.png
Find the template you want to insert by typing either its name or a relevant keyword. Results containing the search term in either the name or description will display in a dropdown. This should help you find a relevant template, even if you don’t know its exact name.

If you’re having trouble finding the kind of template you want by using keywords, you can look on other wiki pages with similar content and view or edit the 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.

Screenshot of the template search field in the Visual Editor

You can also edit a template that’s already on a page. When you select the template you want to edit, it turns blue, and a box appears displaying "OOjs UI icon puzzle-ltr.svg Mall". Then select the "Muuda" link or double click on the template itself to open the template.
Screenshot of the VisualEditor interface with a template selected

Some templates are not visible to someone reading a page. In the visual editor, such hidden templates are still shown so that you can click and edit or delete them. The name of the template will be shown next to the puzzle icon and both will be grayed out.
Screenshot of hidden templates in the Visual Editor interface

Template parameters

You’ll see this dialog box when you’re adding a new template or editing one already in place. What you see in the box depends on whether the template in question contains TemplateData , helpful metadata added by other editors to make it easier to edit templates in the Visual Editor.

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.

Screenshot of template parameters in the Visual Editor interface
Template parameters in the Visual Editor interface

You can disable any optional parameter (which have blue checkboxes on the left side). If a parameter’s checkbox is grayed out and not clickable, the template requires that parameter, so it can’t be disabled.

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.

Screenshot of template parameters in the Visual Editor interface
Interface for adding more parameters to a template in the VisualEditor

Adding undocumented parameters

If you’re inserting or editing a template whose author hasn’t laid out its parameters in TemplateData, it has what we call “undocumented” or “unnamed parameters”. In these cases, you should consult the page for the template itself. There you can learn how to correctly employ and work with all of the template’s parameters. This includes learning the exact names of the parameters as written by the template author.

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.

Screenshot of a template missing TemplateData
Template without TemplateData in the Visual Editor

Autogenerated parameters

In this example, the template in question lacks TemplateData but it was possible to autogenerate the parameters. This means that the undocumented parameters have already been added for you, but the names may not be easily understandable and the dialog cannot display any directions or descriptions. As a result the dialog box provides a link to the template’s documentation, which should help you deduce and fill in the template’s various parameters.
Autogenerated parameters in the VisualEditor.png

Editing multi-part template content

During editing, you may open template content consisting of multiple templates or a single template linked to some wikitext. This differs from the nested templates described below. In this case, the templates are better visualized as being stacked or connected.

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.

Screenshot of the interface to edit multi-part template content in the VisualEditor
Editing multi-part template content in the VisualEditor

Nested templates

Templates can include other templates as the value for parameters. You’ll recognize it when you see a parameter whose value contains the double curly braces ( {{ }} ) denoting a template.

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.

Screenshot of the VisualEditor template interface showing an embedded template
Embedded template in the VisualEditor

Completing your edit

When you have finished editing a template, you can click "Rakenda muudatused". 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.

VisualEditor Apply Changes-et.png

Removing a template

To remove a template in the VisualEditor, click the template box. Press the "Delete" or "Backspace" key on your keyboard. The template will disappear from the page.
Screenshot of the button to remove a template
Removing a template in the VisualEditor

Editing on mobile

When editing a template on a page using the VisualEditor on a mobile device, you’ll see that the sidebar starts out hidden. You can make it visible by pressing the “Show/hide options” button.
Screenshot of editing a template on a mobile device
Editing a template on mobile in the VisualEditor

Mallide asendamine

When you insert a template in a wiki page, its content and appearance are reevaluated every time the page loads, based on the template code and the values of its parameters. This means if someone updates the code of a template, then every page which uses that template will also get updated when they publish.

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>. (Autocomplete doesn’t work in this case.) Then press the blue “Add template” button.

When you’re finished, press “Insert”, which will insert the template content as you see it.

Screenshot of editor using SUBST to add a template
Adding a template using SUBST in the VisualEditor

Editing lists

VisualEditor Toolbar Lists and indentation-et.png
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).

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.


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

VisualEditor lists 3 select to indent.png
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.

VisualEditor lists 4 indentation menu.png
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)

VisualEditor lists after indenting.png
Here is the result of increased indentation.

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

Editing tables

VisualEditor insert table-et.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.


When you press on "Table", in the "Lisa" 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.

VisualEditor empty table.png

To select a cell, press it once.
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.

VisualEditor tables type inside a cell.png

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

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

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.
VisualEditor tables post-merge cell.png

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.
VisualEditor tables split cells.png

Kategooriate toimetamine

VisualEditor category item-et.png
To edit categories, on the "Lehekülje suvandid" menu, press the "Kategooriad" item.

VisualEditor category editing-et.png
"Kategooriad" nupp avab dialoogiakna, kus on loetletud juba olemasolevad kategooriad ja kuhu saab uusi lisada.

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".


VisualEditor - Category editing 3.png
To add a category for a page, type the name of the category into the field "Lisa kategooria". 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.)

VisualEditor - Category editing 2.png
Kategooria eemaldamiseks vajuta sellele ja vajuta avanevas dialoogiaknas ikoonile "Eemalda" (prügikast).

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.


VisualEditor Apply Changes-et.png
Kui oled kategooriate redigeerimisega valmis ja tahad lehekülje redigeerimise juurde naasta, vajuta nuppu "Rakenda muudatused".

Editing page settings

VisualEditor page settings item-et.png
To edit a page's settings, press to open the "Lehekülje suvandid" menu, in the toolbar, and select the "Lehekülje sätted" button.

VisualEditor Page Settings-et.png
The "Lehekülje sätted" button opens a dialog that shows several options.

VisualEditor Page Settings Redirects-et.png
You can make a page a redirect to another page by checking the "Suuna see lehekülg ümber asukohta" 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.


VisualEditor Page Settings TOC-et.png
You can change whether the page shows a Table of Contents by selecting one of these three buttons. The default option is "Kui vaja", which shows a Table of Contents if there are three or more headings.

VisualEditor Page Settings Edit Links-et.png
You can make a page not show edit links next to each section header by checking this checkbox.

VisualEditor Apply Changes-et.png
Press "Rakenda muudatused" when you are done editing the Lehekülje suvandid to return to the page editor.

Editing maps

Visual editor showing editing an existing map.jpg
You can add and change maps. See Help:VisualEditor/Maps .

Editing mathematical formulae

To add a new mathematical formula to the page, place your cursor where you want it to be inserted, and press on the "Matemaatiline valem" icon ("Σ") in the "Lisa" menu on the toolbar.
VisualEditor Formula Insert Menu-et.png

A window will open in which you can type the formula, using LaTeX syntax. the visual editor will update the formula as you type it, so you can see how it will look as you make changes. Once you are happy with the formula, press the "Lisa" button.
VisualEditor formula-et.png

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.
VisualEditor - editing existing mathematical formula.png

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

Editing musical scores

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

To edit an existing musical notation on the page, double press on it.

VisualEditor-Insert-Musical-Notation.png

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

Matemaatiliste valemite ja teiste eriliste elementide toimetamine

Mõned elementide, nagu pildigaleriide, matemaatiliste valemite ja nootide toimetamine ei ole VisualEditoris veel toetatud. Kuniks tugi puudub, tuleb nende toimetamiseks või lisamiseks kasutada vikiteksti.
VisualEditor editing poem 1.png

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

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

VisualEditor editing poem 2.png

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.

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

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.

VisualEditor bi-directional switching diff before wikitext.png

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.

VisualEditor bi-directional switching pencil icon in wikitext.png

Kiirklahvid

Paljud kasutajad on harjunud vikiteksti otse sisestama, eriti paksu- ja kaldkirja ning vikilinke. Sarnaselt sellele võimaldavad kiirklahvid teksti kiiresti vormindada ilma tööriistariba nuppe vajutamata. Üldlevinud, tavalised kiirklahvid, mis ka teistes tekstiredaktorites esinevad, toimivad ka VisualEditoris.

PC kiirklahvid Toime Maci kiirklahvid

Ctrl+B Rasvane kiri ⌘ Cmd+B

Ctrl+I Kaldkiri ⌘ Cmd+I

Ctrl+K Sisesta link ⌘ Cmd+K

Ctrl+X Lõika ⌘ Cmd+X

Ctrl+C Kopeeri ⌘ Cmd+C

Ctrl+V Kleebi ⌘ Cmd+V

Ctrl+Z Võta tagasi ⌘ Cmd+Z