Palīdzība:VisualEditor/Lietotāja instrukcijas

From MediaWiki.org
Jump to: navigation, search
This page is a translated version of the page Help:VisualEditor/User guide and the translation is 37% complete.

Other languages:
العربية • ‎asturianu • ‎azərbaycanca • ‎Bikol Central • ‎беларуская (тарашкевіца)‎ • ‎български • ‎বাংলা • ‎bosanski • ‎català • ‎Cebuano • ‎čeština • ‎Cymraeg • ‎dansk • ‎Deutsch • ‎Zazaki • ‎Emiliàn • ‎Ελληνικά • ‎emiliàn e rumagnòl • ‎English • ‎British English • ‎Esperanto • ‎español • ‎eesti • ‎فارسی • ‎suomi • ‎føroyskt • ‎français • ‎Frysk • ‎galego • ‎עברית • ‎हिन्दी • ‎Fiji Hindi • ‎hrvatski • ‎magyar • ‎Հայերեն • ‎Bahasa Indonesia • ‎Interlingue • ‎Ilokano • ‎italiano • ‎日本語 • ‎Basa Jawa • ‎ქართული • ‎ភាសាខ្មែរ • ‎ಕನ್ನಡ • ‎한국어 • ‎Lëtzebuergesch • ‎lietuvių • ‎latviešu • ‎Malagasy • ‎македонски • ‎മലയാളം • ‎मराठी • ‎Bahasa Melayu • ‎Napulitano • ‎norsk bokmål • ‎Nederlands • ‎Oromoo • ‎ଓଡ଼ିଆ • ‎Picard • ‎polski • ‎پښتو • ‎português • ‎português do Brasil • ‎română • ‎русский • ‎Scots • ‎slovenčina • ‎slovenščina • ‎српски / srpski • ‎Basa Sunda • ‎svenska • ‎தமிழ் • ‎ไทย • ‎Tagalog • ‎Türkçe • ‎татарча/tatarça • ‎українська • ‎Tiếng Việt • ‎isiXhosa • ‎ייִדיש • ‎中文
PD Note: When you edit this page, you agree to release your contribution under the CC0. See Public Domain Help Pages for more info.
PD
If you would like to try VisualEditor without editing an article, here is a page where you can freely test it. You don't need an account to use VisualEditor on that page.

Vizuālā redaktora atvēršana[edit | edit source]

To edit a page using VisualEditor, click on the "Labot" tab at the top of the page.

Lapas atvēršana reģidēšanai var aizņemt dažas sekundes un vairāk, ja lapa ir ļoti gara.

Clicking on the "Labot pirmkodu" tab will open the classic wikitext source editor.

VisualEditor - Rediģēšanas josla.jpg

You can also open VisualEditor by clicking on the "labot šo sadaļu" link on each section.
VisualEditor - Rediģēt sadaļu.jpg

Getting started: the VisualEditor toolbar[edit | edit source]

Screenshot of the VisualEditor toolbar
Vizuālā redaktora rīkjosla parādās ekrāna augšējā daļā, kad tu sāc rediģēt, izmantojot to. Tajā ir iekļautas dažas pazīstamas ikonas:

VisualEditor - Toolbar - Undo-redo.png
Atsaukt and Atcelt atsaukšanu the changes you have made.

VisualEditor Toolbar Headings-en.png
Headings pull-down menu: allows you to change how the paragraph is formatted. To change the style of a paragraph, put your caret in the paragraph and select an item in this menu (you don't have to highlight any text). Section titles are formatted "Virsraksts", and subsections are "Virsraksts 2", "Virsraksts 3", and so on. The normal format for text is "Rindkopa".

VisualEditor Toolbar Formatting-en.png

Formatting: Clicking the "A" opens a menu. For any item to have an effect, you must have first selected (highlighted) some text.

  • The "Pustrekns" item (B) bolds the selected text.
  • The "Kursīvā" item (I) italicizes the selected text.
  • The "Augšraksts" item (x2) causes the selected text to appear smaller than surrounding text and to be slightly higher than the surrounding text.
  • The "Apakšraksts" item (x2) causes the selected text to appear smaller than surrounding text and slightly lower than the surrounding text.
  • The "Pārsvītrojums" item (S) adds a solid bar through the selected text.
  • The "Datora kods" 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 "Pasvītrojums" item (U) adds a solid line beneath the selected text.
  • The "Valoda" 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 "Noņemt noformējumu", removes all character formatting from the selected text, including links

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

VisualEditor - Cite Pulldown.png
Cite menu: The "Cite" menu is used to add inline citations (also called "footnotes" or "references"). All projects have access to "Vienkārša" reference formatting and the ability to "Re-use" citations, using this menu. This menu also gives you quick access to local citation templates, if these are enabled on your wiki.

(Instructions for adding local citation templates to the Cite menu at a specific wiki are available at VisualEditor/Citation tool.)


VisualEditor Toolbar Lists and indentation-en.png
Lists & indentation: The first two items allow you to format text as either a "Nenumurēts saraksts" or a "Numurēts saraksts". The last two items allow you to decrease or increase the indentation level of list items.

VisualEditor Insert Menu-en.png
Ievietot: The "Ievietot" menu may be different on some projects. Below is a list of all options that may appear.
  • The "Medijs" icon (a picture of mountains) opens the media dialog.
  • The "Galerija" icon (a set of photos) allows you to insert a gallery to the page.
  • The "Veidne" icon (a puzzle piece) allows you to edit templates.
  • The "Komentārs" 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.
  • The "Formula" icon (Σ) opens the formula inserter dialog.
  • The "Atsauču saraksts" icon (three books) opens a dialog in which you can specify where will references be displayed to the reader. Usually this only needs to be done once on every page.
  • The "Hieroglifi" icon (an ankh symbol - ☥) allows you to enter the hieroglyphics inserter. (See below.)
  • The "Speciālā rakstzīme" icon (Ω) allows you to insert some special characters. (See immediately below.)

VisualEditor Toolbar SpecialCharacters-en.png
Special character insertion: The "Speciālā rakstzīme" icon on the "Ievietot" menu, when clicked, displays a dialog showing many special characters. By clicking on a specific character, you place it into the text. These special characters include some standard symbols, accents, and mathematical symbols. (This list may be customized locally. See VisualEditor/Special characters for instructions.)

VisualEditor cancel save-en.png
The Page options menu is to the left of the Saglabāt lapu button. On this menu there are options to adjust page settings, such as whether the page is a redirect, or how it is indexed; to add, edit, or delete categories; and to see, using the "Valoda" item, the list of articles on the same subject that are in other languages. You can also switch (one-way only) from VisualEditor to the classic wikitext source editor without losing the editing work you've done.

Saving changes[edit | edit source]

When you're done editing, click the green "Saglabāt lapu" button in the toolbar. (If you have made no changes, the green button will be greyed out - not usable.) To cancel all your editing changes, just close your browser window.
VisualEditor cancel save-en.png

Pressing the green "Saglabāt lapu" 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 Uzraugāmie raksti. The box for the summary is the equivalent of the Kopsavilkums: field in the wikitext editor.

You can also review your changes using the "Pārskatīt izmaiņas" button to be sure they will work as intended before saving your changes. This is similar to the "Rādīt izmaiņas" button in the wikitext editor.

The "Atcelt" button returns you to the page you were editing. You can save all of your changes later.

VisualEditor save dialog-en.png

Editing links[edit | edit source]

VisualEditor - Toolbar - Linking.png
Links can be added through the "Saite" 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 "Saite" button, a link will be inserted using that text. For single-word links it's enough to just do it while the caret is on that word.


VisualEditor - Saites - Iekšējās.jpg
Vienalga vai tu lieto pogu, vai arī īsinājumikonu, atvērsies dialoglogs, kurā tu vari ievadīt saiti. Vizuālais redaktors centīsies palīdzēt ar iekšējām saitēm (saitēm uz citām Vikipēdijas lapām), meklējot līdzīgas lapas tikko tu sāc rakstīt.

VisualEditor will try to help with internal links by looking for likely matches as you begin to type.


VisualEditor - Link editing inline box.png
Once you have entered or selected the link, you complete the linking process by pressing  Enter, pressing the "Gatavs" button, or just clicking outside of the box. Your link will immediately appear on the VisualEditor page, but it will not be saved until you save the entire page.

VisualEditor - Saites - Ārējās.jpg
To link to a web page on another website, the process is the similar: you enter a URL in the box, and it will be added as an "Ārēja saite".

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 clicking on the button or pressing the shortcut keys. Type the URL in the box, and click the "Gatavs" button to insert the link.

VisualEditor - Saites - Iekšējās rediģēšana.jpg
To change or remove an existing link, click within the text for that link, then press the "Saite" icon that appears near it. The dialog will appear, for editing. (You can also get to the dialog with the  Ctrl+K keyboard shortcut.)

In the dialog, you can then change where the link goes. You can also remove the link altogether by pressing the "Noņemt" button in the lower left corner of the dialog. You can also open the link's target in another window by clicking on the "Atvērt" button. (You might want do this to check if an external link is valid.)

Atsauču rediģēšana[edit | edit source]

Rediģēt eksistējošu atsauci[edit | edit source]


VisualEditor - Atsauču rediģēšana 1.jpg
To edit an existing reference, click on it where it appears in the text (usually as a bracketed number). You will see either a "Vienkārša" icon (bookmark) or an icon (and name) for the template that was used to create this reference. Clicking on this icon will open a dialog where you can edit the reference.

VisualEditor - Atsauču rediģēšana 6.jpg
If what appears is the "Vienkārša" icon, clicking on it opens the Reference dialog, where you can edit the reference's contents.

Many wikis use templates to format references. If a template is used in your reference, then all the text in the template will be highlighted when you click on the reference information.

If a template was used and you've clicked on information in that template, then the Veidne icon (puzzle piece) will appear. Click on that icon to edit the content of the template in the template mini-editor dialog.


VisualEditor - Editing References - Cite Web.png
If, instead of the "Vienkārša" icon (bookmark), what appears when you click on a reference is an icon for a standard template for citations, clicking on that icon will take you directly to the template mini-editor dialog.

VisualEditor - Atsauču rediģēšana 5.jpg
Inside the template mini-editor, you can add or remove types of information or change current content. Only fields (template parameters) that have content are supposed to be shown initially. To add fields, click on "Pievienot vairāk informācijas" at the bottom of the mini-editor.

VisualEditor - Lietot izmaiņas.jpg
Click on "Lietot izmaiņas" when you're done.

Re-using an existing reference[edit | edit source]


VisualEditor - Atsauce.jpg
Ja lapa jau satur atsauces, tu vari izvēlēties atkal izmantot jau eksistējošu atsauci, ja tā attiecas uz tekstu, kuram tu vēlies pievienot atsauci.

Lai atkal izmantotu jau eksistējošu atsauci, novieto kursoru vietā, kur tu vēlies to pievienot un nospied ikonu "Atsauce" (grāmatzīme) rīkjoslā.


VisualEditor - Atsauču rediģēšana 18.jpg
In the Atsauce 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 "UZ ko jūs vēlaties atsaukties?") to list only those references that include certain text.

Adding a new reference[edit | edit source]


VisualEditor - Atsauce.jpg
To add a citation using the "Cite" menu, place your cursor where you want to add it in the text. Then select the appropriate citation type in the menu.

Using the "Basic" citation[edit | edit source]


VisualEditor - Atsauču rediģēšana 20.jpg
Atsauču redaktorā tu vari pievienot, rediģēt un formatēt tavas atsauces.

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 "Atsauču saraksts" tool.)


VisualEditor Template Insert Menu-en.png
Ja tu pievieno jaunu atsauci un vēlies tajā iekļaut veidne, uzspied uz ikonas "Iekļāvums" (puzles gabaliņš) atsauces redaktora rīkjoslā.

VisualEditor - Atsauču rediģēšana 9.jpg
Then, look for the template you want to use, add it and edit it as you would any other template. (See the Editing templates section, below, if you need more information about templates.)

After you're done editing your new template, click on "Lietot izmaiņas" to return to the Reference editor, and "Lietot izmaiņas" again to return to the page you're editing.


VisualEditor Reference List Insert Menu-en.png
Ja lapā jau nav atsauču saraksta (piemēram, ja tu pievieno pirmo lapas atsauci), tev vajag to pievienot, lai atsauces teksts tiktu rādīts.

Place the cursor where you want to display the references list (usually at the bottom of the page), open the "Ievietot" menu and click the "Atsauču saraksts" icon (three books).


VisualEditor - Atsauču rediģēšana 11.jpg
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 here.

The final step in the References list dialog is to click "Ievietot".

Using standard cite templates[edit | edit source]


VisualEditor - Editing References - Cite Pulldown.png
Your local wiki may have added extra citation templates to this menu. This offers quick access to the most-used citation templates. (Instructions for adding extra citation templates to your local wiki are available at VisualEditor/Citation tool.)

VisualEditor - Editing references - Cite book required fields.png
Clicking 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 - Add parameter.png
To add more parameters, scroll down in the template mini-editor and click on the "Pievienot vairāk informācijas" option.

Click on "Ievietot" when you're done.

Editing images and other media files[edit | edit source]

Editing images[edit | edit source]

Lai pievienotu jaunu attēlu (vai citu failu) lapai, nospied ikonu "Medijs" rīkjoslā (attēls ar kalniem).
VisualEditor Media Insert Menu-en.png

Clicking the "Medijs" icon opens a dialog that automatically searches Wikimedia Commons and your local wiki for media files related to the title of the page you're editing.

Tu vari meklēt citus mediju failus, izmainot tekstu dialoga meklēšanas laukā.

Uzklikšķini uz sīktēla, lai izvēlētos failu.

This places the image onto the page you are editing.

VisualEditor - Mediju rediģēšana 2.jpg

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.
VisualEditor - Mediju rediģēšana 6.jpg

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

You can also set various parameters for the image in the "Papildu iestatījumi" window. These include the alignment, the type, and size of the image.
VisualEditor - Media editing 8.png

Kad tu esi pabeidzis, uzspied "Lietot izmaiņas", lai aizvērtu dialogu un atgrieztos pie lapas rediģēšanas.
VisualEditor - Lietot izmaiņas.jpg

For an existing image, you can add or edit a caption or other settings by clicking on the image, then clicking on the "Medijs" icon that appears below the picture.

You can resize an existing image by clicking on it, then moving the resize icon (the two-headed arrow on the bottom left).

You can also drag and drop an image to a place higher or lower on the page.

VisualEditor - Mediju rediģēšana 3.jpg

Editing media galleries[edit | edit source]


To edit an existing gallery in VisualEditor, click that gallery. Then, near the bottom of the gallery, click 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 click the "Gatavs" 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 save your changes. As with other changes made using VisualEditor, you must save the entire page in order to save your work.

VisualEditor - Gallery3.png

Editing templates[edit | edit source]

To add a new template to the page, place your cursor where you want the template to be inserted, and click on the "Veidne" icon (puzzle piece) in the "Ievietot" menu.
VisualEditor Template Insert Menu-en.png

Type the name of the template you want to insert. When you see it on the list, click on its name. Then click "Pievienot veidni".
VisualEditor - Veidņu pievienošana 4.jpg

You can also edit templates that are already on the page by selecting them (they turn blue), and clicking on the "Veidne" icon (puzzle piece) that appears.
VisualEditor - Veidņu rediģēšana 1.jpg

Adding a new template or opening an existing one opens the "Iekļāvums" dialog. If the template has have been updated to contain TemplateData information, then the dialog will show a list of individual parameters; otherwise, a link to the documentation will be available in the dialog.
VisualEditor - Veidņu rediģēšana 2.jpg

For an existing template, you edit the parameters already listed, and you can add additional parameters by clicking "Pievienot vairāk informācijas", at the very bottom of the dialog.

Ja veidne ietver citas veidnes, šīs apakšveidnes parādīsies kā parametri. Tās var rediģēt vai novākt uzklikšķinot uz apakšveidnes nosaukuma.

Jaunas apakšveidnes ir pievienojamas izpildot parametru pievienošanas instrukcijas. Jums var nākties pārbaudīt veidnes dokumentāciju, lai pārliecinātos, ka apakšveidne ir atbalstīta.


Kad tu esi pabeidzis, uzspied "Lietot izmaiņas", lai aizvērtu dialogu un atgrieztos pie lapas rediģēšanas.
VisualEditor - Lietot izmaiņas.jpg

Substituting templates[edit | edit source]


Ja veidnei jābūt substituted, tad ievadi subst: (kolu ieskaitot) pirms veidnes nosaukuma.

Pašpabeišana nestrādā ar subst:; jā ir nepieciešama pašpabeigšana, pievieno subst: vienīgi pēc nepieciešamās veidnes atrašanas.

Then, click the green "Pievienot veidni" button.


Add any parameters as usual and "Lietot izmaiņas".

Šajā sākuma fāzē Jūs neredzēsiet veidnes paplašināšanos lapā

Editing tables[edit | edit source]

VisualEditor-logo.svg
You can use VisualEditor to insert and change tables. This is a new feature, and the details will be changing rapidly.

VisualEditor table editing add and remove columns.png
You can add and remove columns and rows.

VisualEditor-logo.svg
Double-click inside a cell to add or change the contents.

Editing categories[edit | edit source]

VisualEditor Categories.png
To edit categories, on the "Page options" menu, click the "Kategorijas" button.

The "Kategorijas" button opens a dialog that lists existing categories and allows you to add new ones.

You have the option of setting or changing the general (default) sorting key, which used to determine 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", and so in the category "Presidents of the United States", the article is listed under the letter "W", not the letter "G".


To add a category for a page, type the name of the category into the field "Pievienot kategoriju". As you type, VisualEditor 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 save all your editing changes.)

To remove an existing category, click on it and click on the "Noņemt" icon (trash can) in the dialog that opens.

Clicking on a category also allows you to specify a sorting key for that specific category. Such a sorting key overrides the default sorting key.


Click "Lietot izmaiņas" when you're done editing categories to return to the page editor.

Editing page settings[edit | edit source]

VisualEditor - Page Settings menu.png
To edit a page's settings, click to open the "Page options" menu, in the toolbar, and select the "Lapas iestatījumi" button.

VisualEditor Page Settings-en.png
The "Lapas iestatījumi" button opens a dialog that shows several options.

VisualEditor Page Settings Redirects-en.png
You can make a page a redirect to another page by checking the "Pāradresēt šo lapu uz" 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're editing.

At the bottom is the option to prevent page renames from updating this redirect. This is very rarely used.


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

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

VisualEditor Apply Changes-en.png
Click "Lietot izmaiņas" when you're done editing the Page options to return to the page editor.

Editing mathematical formulae[edit | edit source]

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

A window will open in which you can type the formula, using LaTeX syntax. VisualEditor 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, click the "Gatavs" button.
VisualEditor formula-en.png

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

Editing poems and other special items[edit | edit source]

Some items, such as poems and musical scores, are not yet supported by VisualEditor. Until they are, you will need to edit the source wikitext directly if you want to add these or change these.

Keyboard shortcuts[edit | edit source]

Many editors are used to entering wikitext directly, especially bold, italics and wikilinks. Keyboard shortcuts allow to quickly insert similar formatting without having to use toolbar items. Here are the common general shortcuts in VisualEditor:

PC saīsne Darbība Mac saīsne

 Ctrl+B Trekns  Cmd+B

 Ctrl+I Kursīvā  Cmd+I

 Ctrl+K Ietvert linku  Cmd+K

 Ctrl+X Izgriezt  Cmd+X

 Ctrl+C Kopēt  Cmd+C

 Ctrl+V Ielīmēt  Cmd+V

 Ctrl+Z Atsaukt  Cmd+Z