Help:可视化编辑器/使用者指南

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

Other languages:
العربية • ‎অসমীয়া • ‎asturianu • ‎azərbaycanca • ‎تۆرکجه • ‎Bikol Central • ‎беларуская (тарашкевіца)‎ • ‎български • ‎বাংলা • ‎bosanski • ‎català • ‎Mìng-dĕ̤ng-ngṳ̄ • ‎Cebuano • ‎čeština • ‎Cymraeg • ‎dansk • ‎Deutsch • ‎Zazaki • ‎Emiliàn • ‎Ελληνικά • ‎emiliàn e rumagnòl • ‎English • ‎British English • ‎Esperanto • ‎español • ‎eesti • ‎euskara • ‎فارسی • ‎suomi • ‎føroyskt • ‎français • ‎furlan • ‎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 • ‎shqip • ‎српски / srpski • ‎Basa Sunda • ‎svenska • ‎தமிழ் • ‎తెలుగు • ‎ไทย • ‎Tagalog • ‎Türkçe • ‎татарча/tatarça • ‎українська • ‎Tiếng Việt • ‎isiXhosa • ‎ייִדיש • ‎中文
PD 注意:当您编辑本页面时,即代表同意以CC0协议授权您的贡献。您可以在公有领域帮助文档找到更多信息。
PD
若您想要試用可视化编辑器而不實際編輯一篇文章,這裡有一頁可讓您無拘無束的測試。 在該頁面使用可视化编辑器不須要帳號。

開啟可视化编辑器

要使用可视化编辑器編輯頁面,請點選該頁面上方的 "编辑" 頁籤。

開啟頁面編輯會需要幾秒鐘的時間,若頁面內容較長則需要較久的時間。

點選 "编辑源代码" 頁籤將會開啟傳統的 wikitext 原始碼編輯器。

VisualEditor edit tab-zh-hans.png

您也可以在各章節點選 "编辑" 連結來開啟可视化编辑器。
VisualEditor - Section edit links-en.png

入門指南:可视化编辑器工具列

可视化编辑器工具列畫面截圖
當您開始編輯時 VisualEditor 工具列會顯示在畫面上方。 其中包含幾個常件的圖示:

VisualEditor - Toolbar - Undo-redo.png
撤销重做 您所做的變更。

VisualEditor Toolbar Headings-zh-hans.png
標題 下拉式選單:讓您可以變更段落要使用的格式。要變更段落的樣式,請將游標移至段落中並選擇此選單中的其中一個項目 (您並不需要連續選取任何文字)。 章節標題便會使用 "标题" 的格式,而子章節則為 "标题2"、"标题3" 以此類推。 文字的一般格式為 "段落"。

VisualEditor Toolbar Formatting-zh-hans.png

格式: 點選 "A" 開啟選單。 要在任何文字上使用效果您必須選取文字。

  • "粗体" 項目 (B) 會將選擇的文字變更為粗體。
  • "斜体" 項目 (I) 會將選擇的文字變更為斜體。
  • "上标" 項目 (x2) 會將選擇的文字縮小並置於較週邊文字高的位置。
  • "下标" 項目 (x2) 會將選擇的文字縮小並置於較週邊文字低的位置。
  • "删除线" 項目 (S) 會在選擇的文字上劃過一條實線。
  • "程序代码" 項目 (一組大括號: {}) 會將選擇的文字字型更改為等寬字型,並且與上下文保持間隔 (依比例)。
  • "下划线" 項目 (U) 會在選擇的文字下方增加一條實線。
  • "语言" 項目 (Aあ) 可讓您標示選擇文字的語言 (例如:日本) 與文字方向 (例如:由右至左)。
  • 最後一項 (VisualEditor MediaWiki theme clear icon bitmap.png),稱作 "清除样式",會移除所有已選擇文字中每個字元的格式,包括連結。

If you have not selected any text, then when you click 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
連結工具: 此鎖鏈是指連結工具。點選該按鈕 (通常在選擇完文字之後) 會開啟連結對話框

VisualEditor - Cite Pulldown.png
引用 選單: "引用" 選單是用來新增內文引用 (或稱為 "註腳" 或 "參考文獻")。 使用此選單所有專案都有存取基本參考文獻格式及複用引用的能力。此選單同樣能讓您快速存取本地的引用模板,若在您的 wiki 有開啟這些功能。

(在指定 wiki 加入在地引用樣板至 引用 選單的操作說明於 VisualEditor/Citation tool)


VisualEditor citoid Cite button-zh.png
Cite按钮:

If the citoid service is enabled on your wiki, then you will see a 引用 button instead of a 引用 menu.

The citoid service tries to fill out citation templates automatically.


VisualEditor Toolbar Lists and indentation-zh.png
清單 & 縮排: 前面兩個項目可讓您將文字格式變更為 "无序列表" 或 "有序列表"。 後面兩個項目可讓您減少或增加清單項目的縮排層級。

VisualEditor Insert Menu-zh-hans.png
插入: "插入" 選單可能在某些專案會不同。 以下為 所有 可能顯示的選項清單。
  • "媒体文件" 圖示 (山景圖) 會開啟媒體對話框
  • "模板" 圖示 (一塊拼圖) 讓您可編輯樣板
  • The "Table" item allows you to insert a table.
  • The "注释" 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, clicking on the exclamation mark icon allows you to edit or delete the comment.
  • "象形文字" 圖示 (一個ankh符號 - ☥) 可讓您進入象形文字插入器。 (請見下方)
  • The "Code block" item allows you to insert code.
  • The "Musical notation" item allows you to insert a musical notation.
  • "图库" 圖示 (多張照片) 讓您可以插入圖庫到頁面。
  • "公式" 圖示 (Σ) 會開啟公式插入器對話框
  • The "Graph" item allows you to insert a table.
  • The "Your signature" item allows you to insert your Wikipedia user signature. 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.
  • "参考文献列表" 圖示 (三本書) 會開啟對話框讓您指定參考文獻要顯示在何處給讀者。這在每一頁通常只需要做一次。

Special character insertion: The "特殊字符" (Ω) icon is next to the "插入" menu. When clicked, it 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. (此列表也可以本地设计。详情见此。)
VisualEditor Toolbar SpecialCharacters-zh-hans.png

VisualEditor toolbar edit notices icon.png
编辑通知按钮显示任何该页的任何通知。

VisualEditor More Settings-zh-hans.png
The 页面选项 menu is to the left of the 保存页面 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 "语言" item, the list of articles on the same subject that are in other languages.

VisualEditor bi-directional switching square brackets icon.png
The 切换至源代码编辑 button is next to the 保存页面 button. It allows you to switch to the wikitext editor.

保存更改

当您完成编辑后,点击工具栏中的蓝色“保存页面”按鈕。如果您没有做出更改,按钮会是灰色也无法被点击。 To cancel all your editing changes, just close your browser window, or click the "Read" tab above the edit toolbar.
VisualEditor toolbar actions-zh-hans.png

Pressing the blue "保存页面" 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 监视列表. The box for the summary is the equivalent of the 摘要: field in the wikitext editor.

You can also review your changes using the "检查您的更改" button to be sure they will work as intended before saving your changes. This is similar to the "显示更改" button in the wikitext editor.

“继续编辑”按鈕允許您返回編輯,因此您可容后儲存。

VisualEditor save dialog-zh-hans.png

编辑链接

VisualEditor - Toolbar - Linking.png
想添加連結的話,可以按一下工具欄裡的“链接”按鈕(鎖鏈),或者使用快捷鍵Ctrl+K(Mac的話是 Command+K)。

先選取一段文字或者把游標放在字詞當中的話,按一下“链接”按鈕會把連結添加到該段文字上。


VisualEditor-link tool-search results-zh.png
不管是用連結按鈕還是快捷鍵,都會出現對話框,您可以在這裡添上連結。

The link tool will try to help with internal links by searching for likely matches.


VisualEditor link tool 2015.png
輸入或選取了連結後,按一下 Enter、點擊對話框以外的地方或者按一下關閉圖標(完成)。該連結會出現在可視化編輯器的頁面上,不過要到您儲存頁面時才會一併儲存。

VisualEditor-link tool-external link.png
要链接到維基百科外的網頁,做法是类似的:选择“外部链接”标签,然后在框内输入链结。

VisualEditor link tool simple link.png
没有标签的外部链接就像这样:[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. 在框内输入链结,并点击“完成”按钮以插入链接。

VisualEditor-context menu-link tool.png
要修改或移除现有的链接,点击文本当中的链接,然后按下在它附近出现的「链接」按钮。您也可以点击工具栏上同样的按钮或者按下键盘上的Ctrl+K快捷键。 当一个链接被选中时,它显示为蓝色框。

In the link editing dialog, you can then change where the link goes. You can also remove the link altogether by pressing the "移除" button in the upper right corner of the dialog. You can also open the link's target in another window by clicking on the copy of the link in the dialog box. (You might want do this to check if an external link is valid.)

如果你想退出链接标签 (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, click 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. You may link it from start.
  • To keep the link directly, you may click 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. Now you may type in the new label for the kept link.

编辑参考资料

更多信息请参见Help using citation templates or Help using citoid's Cite button

Determining which system is in place

您的维基可能使用以下三种脚注系统中的一种: The one shown on the right is the simplest system, where the "引用" menu does not include any citation templates. 如果您的维基使用的是这套系统,那么您所需要了解的关于脚注的资讯在这个页面上。
VisualEditor cite menu default.png

The second system has the same type of "引用" 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-zh.png
In the third system, you again start by clicking the Cite 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 Automatic tab.png

Editing an existing reference

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

For the "参考文献" icon, clicking "Edit" opens the Reference dialog. To start changing the reference information, click on it.

许多维基都使用模板来格式化参考以达到统一的参考格式标准。如果 wiki 上的某个模板尚不支持引用菜单或未包含在常用模板中,当您要在模板编辑器中编辑该目标时会发现它的内容变为蓝色。

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

VisualEditor - Editing references 6.png

如果点击引用后出现的是一個標準引用模板的图标(而不是$reference的書籤圖標),则点击它会直接进入模板小型编辑器對話視窗。
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, click on "添加更多信息" at the bottom of the mini-editor.
VisualEditor - Editing references 5.png

完成后点击“应用更改”即可。
VisualEditor Apply Changes-zh-hans.png

复用现有的参考资料

如果页面有包含其他参考,如果这个参考适合你所印证的文段,你可以重新选择其进行参考引用。

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 click on the "Re-use reference" item from the "引用" 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 "引用" menu.)

VisualEditor Cite menu re-use.png

In the 参考文献 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 "在当前引用中搜索") to list only those references that include certain text.
VisualEditor - Editing references 18.png

添加新的参考资料

To add a citation using the "引用" menu, place your cursor where you want to add it in the text. Then select the appropriate citation type in the menu.
VisualEditor references more.png

使用“基础”引用

Shown here is what you will see if you select the basic references item. 在参考编辑器中,你能添加,修改或格式化你的引用。

你能将参考归类到一个你指定的组中,然后在“参考文献列表”工具选定只显示该组的参考项。

VisualEditor - Editing references 20.png

如果您要在新引用中使用模板,请点击引用编辑器“插入”工具栏菜单中的 模板 图标(拼图)。
VisualEditor Template Insert Menu-zh-hans.png

接着,选择你需要的模板,添加并编辑它。

当您完成修改您的新模板后,点击“应用更改”返回参考编辑器,再点击“应用更改”返回您正在编辑的页面。

VisualEditor - Editing references 9.png

如果页面没有包含显示参考列表,你可以添加一个到你希望其显示的位置上。

将光标移动到你希望显示参考的位置(一般在页面的底部),开启“插入”目录并点击“参考文献列表”(表示为三本书本)按钮。

VisualEditor References List Insert Menu-zh-hans.png

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.

参考资料列表对话框中的最后一部就是点击“插入”。

VisualEditor references list-zh-hans.png

使用标准引用模板

Your local wiki may have added extra citation templates to the "引用" menu. If so, you have quick access to the most-used citation templates for your wiki. (添加引用菜单到特定维基的方法已在VisualEditor/Citation tool提供。)
VisualEditor - Editing References - Cite Pulldown.png

选择模板图标会进入可编辑所选模板的小型模板编辑器。在显示最常用模板时强烈推荐的模板会用星号标记出来,其中有些并非必须的。不会显示未使用的参数。
VisualEditor - Editing references - Cite book required fields.png

要添加附加参数,请在小型模板编辑器中往下滚动到“添加更多信息”选项,并点击它。

当您完成时点击“插入”。

VisualEditor - Editing references - Add parameter.png

正在编辑图片以及其他媒体档案

编辑图片

要添加新的圖像(或其它媒體文件)至頁面中,單擊“插入”工具欄中的「媒体文件」圖標。圖像将添加到光标所在位置。
VisualEditor Media Insert Menu-zh-hans.png

點擊“媒体文件”圖標,打開一個對話框,可自動搜索維基共享資源與你正在編輯的頁面有關的媒體文件。

你可以查看其他媒體文件,通過更改對話框裏的搜索框的文本。

點擊縮圖以選擇檔案。

该操作将图片插入到您正在编辑的页面上。

VisualEditor - Media editing 2.png

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 - Media editing 6.png

您还可以在媒体对话框中添加替换文本标题,这样可以帮助使用屏幕阅读器或禁用图像显示的用户。
Media editing 7.png

You can also set various parameters for the image in the "高级设置" window. These include the alignment, the type, and size of the image.
VisualEditor - Media editing 8.png

當你完成後,點擊“应用更改”關閉對話框並返回到頁面編輯器。
VisualEditor Apply Changes-zh-hans.png

For an existing image, you can add or edit a caption or other settings by clicking on the image, then clicking on the "媒体文件" 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 one or both bottom corners).

你还可以将一个图片拖放到页面上的位置或更低的位置上。

VisualEditor - Media editing 3.png

上传图片

你可以在媒体对话框中上传图片。

点击“上传”标签,选择一张你计算机上的图片。你可以输入文件名,也可以拖拽图片到方框内。
VisualEditor - Media upload 1.PNG

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

当你做的时候,图像将被插入到页面中。
VisualEditor-logo.svg

编辑媒体集

To add a new gallery, click the "图库" icon (a set of photos) on the "插入" 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, 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. 你也可以编辑该列表以移除图片、重排图片或添加图片说明。

When you click the "完成" button, you will exit the gallery editor. You should then see your changes, with the gallery as it will now appear to readers.

记住,退出画廊编辑器并不能保存您的更改。与使用可视化编辑器进行其他更改一样,您必须保存整个页面以节省您的工作。

VisualEditor - Gallery3.png

编辑模板

开始

要添加新目标到页面中,请把光标放在待插入的目标位置后点击工具栏“插入”菜单中的“模板”(如拼图样的图标)按钮,以添加模板。
VisualEditor Template Insert Menu-zh-hans.png

输入你要添加的模板的名称,点击“添加模板”。
VisualEditor - Template editing 4.png

你也可以编辑页面已存在的模板,当选择到模板时,会显示为蓝色的块,并显示“模板”(如拼图样的图标)按钮,点击它,或者点击在工具栏的同样按钮。
VisualEditor - Template editing 1.png

阅读时看不到有些模板。 在可视化编辑器中,隐藏的模板显示为拼图图标。 The name of the template will be shown next to the puzzle icon.
VisualEditor template not visible.png

选中图标会出现快捷菜单,点击它就可以编辑模板。
VisualEditor template not visible context menu.png

模板参数名

When you add a new template or open an existing one, the "嵌入" dialog is shown. The contents depends upon whether the template has been documented using the new TemplateDataExtension:TemplateData system or not.

The template shown here has no TemplateData set up for it. The dialog therefore provides a link to documentation for the template. 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. The first un-named parameter is named 1, the second is named 2, and so forth.
VisualEditor template with no TemplateData.png

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

For an existing template, you can edit the parameters shown in the dialog, and you can add parameters by clicking "添加更多信息", at the very bottom of the dialog.
VisualEditor - Template editing 3.png

如果某个模板内嵌于其他模板中,则该子模板会显示在它们的参数中,通过参数字段可编辑或移除子模板。

要添加新的子模板请参照添加参数的步骤,您可能需要查阅该模板的文档以确保它支持作为子模板。

VisualEditor - Template editing 5.png

结束

当您完成时,点击“应用更改”以关闭对话框并返回到页面编辑器。
VisualEditor Apply Changes-zh-hans.png

替换模板

当该模板需要 替换来使用时,在模板名之前添加subst:(留意需要加上半角冒号)。

添加subst:后,模板名自动匹配查找会失效。请在完成自动匹配查找到模板名后再添加 subst:

接着,点击蓝色“添加模板”按钮。

像往常一样,添加参数,点击“插入”。

VisualEditor - Template editing 7.png

当您点击“应用更改”后您就可以看见被展开的模板。之后保存页面即可。
VisualEditor - Template editing 8.png

Editing lists

VisualEditor Toolbar Lists and indentation-zh.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 click 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 click 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.

编辑表格

VisualEditor insert table-zh.png
你可以用可视化编辑器插入或编辑表格。

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


When you click on "Table", in the "插入" 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, click 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 click in the cell. Or you can select the cell and then press Return.

To end your editing of a cell, just click elsewhere.

VisualEditor tables type inside a cell.png

VisualEditor table editing add and remove columns.png
您可以加入或删除一行或一列。

You can merge cells: Select them, then from the Table menu, click 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

编辑分类

VisualEditor category item-zh-hans.png
要编辑分类,在“页面选项”菜单点击“分类”项目。

VisualEditor category editing-zh-hans.png
点击“分类”会打开一个对话框列出已有的分类,并允许您添加新的分类以及删除现有分类。

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 "添加分类". 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 save all your editing changes.)

VisualEditor - Category editing 2.png
To remove an existing category, click on it and click on the "移除" 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.


VisualEditor Apply Changes-zh-hans.png
当点击“应用更改”就完成分类修改并返回到页面编辑器上。

编辑页面设定

VisualEditor page settings item-zh-hans.png
要编辑页面设置,点击打开工具栏中的“页面选项”菜单,并选择“页面设置”按钮。

VisualEditor Page Settings-zh-hans.png
“页面设置”按钮会打开对话框,其显示很多选项。

VisualEditor Page Settings Redirects-zh-hans.png
You can make a page a redirect to another page by checking the "重定向该页面至" 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-zh-hans.png
通过选择三个之中的某个按钮,您可以设置一个页面是否显示目录。默认选项是“需要时”,表示有三个或更多标题时则显示目录。

VisualEditor Page Settings Edit Links-zh-hans.png
选中该复选框,则页面不会在每个段落标题后显示编辑链接。

VisualEditor Apply Changes-zh-hans.png
當你編輯完页面选项時,請點「应用更改」回到頁面編輯器。

編輯數學公式

要添加新的数学公式, 请将光标放在要插入的目标位置,在工具栏的“插入”下拉菜单中点击“公式”图标 ("Σ")。
VisualEditor Formula Insert Menu-zh-hans.png

在打开的窗口中您可以输入 LaTeX 语法的数学公式。当您输入公式时,可视化编辑器会实时更新显示您做出的修改。当公式正确后,请单击“完成”按钮。
VisualEditor formula-zh-hans.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

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

編輯詩篇和其他特殊項目

可视化编辑器尚未支持某些项目,如关联列表、诗、乐谱,所以目前仍需要通过源代码编辑器编辑这些内容。
VisualEditor editing poem 1.png

In most cases, the existing items can be edited, but new ones cannot be inserted in the visual editor.
VisualEditor editing poem 2.png

您无法用可视化编辑器添加签名及时间戳。

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

Switching between the visual and wikitext editors

To switch from the visual editor to the wikitext editor, click the [[ ]] button on the far right of the toolbar.

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

If you've done any editing, you'll be asked whether you want to keep your changes. Normally you'll click on "Keep changes".

VisualEditor bi-directional switching to wikitext.png

You'll see a diff. (If you clicked 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, click the pencil icon on the far right of the toolbar.

VisualEditor bi-directional switching pencil icon in wikitext.png

After you click the pencil icon, if you've done any editing you'll be asked whether you want to keep your changes. If you click "Keep changes", you'll go to the visual editor. If you click "Discard changes", you'll be asked to confirm that is what you want to do (click on "Leave Page" to confirm) before the visual editor will start.

VisualEditor bi-directional switching to visual editing.png

键盘快捷键

有许多编者习惯使用快捷键辅助编辑,VisualEditor的快捷键能帮助编者比起逐个点击工具栏按钮更快地进行编辑操作。

PC快捷鍵 操作 Mac快捷鍵

Ctrl+B 粗体 Cmd+B

Ctrl+I 斜體 Cmd+I

Ctrl+K 添加鏈結 Cmd+K

Ctrl+X 剪取 Cmd+X

Ctrl+C 复制 Cmd+C

Ctrl+V 粘贴 Cmd+V

Ctrl+Z 撤销 Cmd+Z