Jump to content

Help:VisualEditor/User guide/km

From mediawiki.org
This page is a translated version of the page Help:VisualEditor/User guide and the translation is 18% complete.
Outdated translations are marked like this.
PD ចំណាំ: នៅពេលដែលអ្នកកែសម្រួលទំព័រនេះអ្នកយល់ព្រមបញ្ចេញការចូលរួមចំណែករបស់អ្នកក្រោម CC0 ។ មើល ទំព័រជំនួយដែនសាធារណៈ សម្រាប់ព័ត៌មានបន្ថែម។ PD


របៀបបើកមុខងារកែប្រែតាមគំហើញ

ដើម្បីកែប្រែទំព័រមួយដោយប្រើប្រាស់មុខងារកែប្រែតាមគំហើញ សូមចុចលើ ថេប«កែប្រែ​» ដែលស្ថិតនៅផ្នែកខាងលើនៃទំព័រនោះ។

ការបើកទំព័រសម្រាប់កែប្រែអាចនឹងចំណាយពេលវេលាប៉ុន្មានវិនាទី ឬយូរជាងនេះបើទំព័រនោះវែងពេក។

ចុចលើថេប«កែប្រែ​កូដ» ដើម្បីបើកមុខងារកែប្រែកូដអត្ថបទវិគីបែបចាស់។


អ្នកអាចបើកមុខងារកែប្រែតាមគំហើញបានផងដែរ ដោយចុចលើតំណភ្ជាប់ «កែប្រែ» ដែលមាននៅលើផ្នែកនីមួយៗ។

របៀបចាប់ផ្ដើម៖ របារឧបករណ៍របស់មុខងារកែប្រែតាមគំហើញ

រូបភាពរបារឧបករណ៍របស់មុខងារកែប្រែតាមគំហើញ
របារឧបករណ៍របស់មុខងារកែប្រែតាមគំហើញនឹងលេចចេញនៅផ្នែកខាងលើនៃផ្ទាំងអេក្រង់ ពេលដែលអ្នកចាប់ផ្ដើមការកែប្រែ។ របារឧបករណ៍នេះមាននិមិត្តសញ្ញាស្រួលចាំដូចខាងក្រោម៖

មិន​ធ្វើ​វិញ និង ធ្វើ​វិញ នូវបន្លាស់ប្ដូរនានាដែលអ្នកបានធ្វើឡើង។

បញ្ជីទាញចុះក្រោម«ចំណងជើង»៖ អនុញ្ញាតអោយអ្នកផ្លាស់ប្ដូរទ្រង់ទ្រាយរបស់កថាខ័ណ្ឌ។ ដើម្បីផ្លាស់ប្ដូររចនាបថរបស់កថាខ័ណ្ឌមួួយ សូមចុចលើកថាខ័ណ្ឌរួចជ្រើសយកវត្ថុណាមួយនៅក្នុងបញ្ជី (អ្នកមិនចាំបាច់ផាត់ពណ៌ឃ្លាអក្សរណាទេ)។ ចំណងជើងរបស់ផ្នែកមេមានទម្រង់ជា «$format» ហើយផ្នែករងមានទម្រង់ជា «$subheading2» «$subheading3» ជាដើម។ 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 "កូនចំណងជើង", and subsections are "កូនចំណងជើង ១", "កូនចំណងជើង ២", and so on. ទម្រង់ធម្មតារបស់អត្ថបទគឺ «កថាខណ្ឌ»

របៀបប្ដូរទម្រង់អក្សរ៖ ចុចលើ "A" ដើម្បីបើកបញ្ជី។

  • «ដិត» (A) សម្រាប់ដាក់អក្សរដិត។
  • «ទ្រេត» (A) សម្រាប់ដាក់អក្សរទ្រេត។
  • «អក្សរ​តូច​លើ» (xI) សម្រាប់ដាក់កូនអក្សរនៅចំហៀងខាងលើខាងស្ដាំ។
  • «អក្សរ​តូច​ក្រោម» (xI) សម្រាប់ដាក់កូនអក្សរនៅចំហៀងខាងក្រោមខាងស្ដាំ។
  • «បន្ទាត់​ឆូត» (A) សម្រាប់បន្ថែមបន្ទាត់ឆូតអក្សរ។
  • «កូដ​កុំព្យូទ័រ»​ (គូវង់ក្រចក៖{}) ប្ដូរទម្រង់អក្សរជាប្រភេទដកឃ្លាស្មើ ដែលធ្វើអោយឃ្លាមួយឃើញខុសគ្នាពីឃ្លាជុំវិញ (ដកឃ្លាសមមាត្រ)។
  • «បន្ទាត់​ក្រោម» (A) សម្រាប់បន្ថែមបន្ទាត់ក្រោមអក្សរ។
  • «ភាសា» (文A) អនុញ្ញាតអោយអ្នកដាក់ផ្លាកសម្គាល់ភាសា (ឧទាហរណ៍ ភាសាជប៉ុន) និងទិសដៅ (ឧទាហរណ៍ ពីស្ដាំទៅឆ្វេង)។
  • ចុងក្រោយគឺ«ដកចេញ» () សម្រាប់សម្អាតទម្រង់អក្សរទាំងអស់រួមទាំងតំណភ្ជាប់ដែរ។

បើសិនជាអ្នកមិនបានជ្រើសយកឃ្លាថាមួយទេ ពេលដែលអ្នកចុច "A" ដើម្បីបើកបញ្ជីនិងជ្រើសយកវត្ថុណាមួយ ទម្រង់នោះនឹងត្រូវប្រើលើឃ្លាដែលអ្នកផ្ដើមសរសេរបន្ត។


ឧបករណ៍ដាក់តំណភ្ជាប់៖ និមិត្តរូបច្រវាក់ជា ឧបករណ៍ដាក់តំណភ្ជាប់។ សូមចុចលើវា(ជាធម្មតាបន្ទាប់ពីជ្រើសយកឃ្លាឬពាក្យណាមួយហើយ) ដើម្បីបើក សំណុំបែបបទដាក់តំណភ្ជាប់

យោង ៖ បញ្ជី «យោង» ប្រើសម្រាប់បន្ថែមលេខយោងនៅក្នុងជួរអត្ថបទ។ គ្រប់គម្រោងទាំងអស់អាចប្រើទម្រង់យោងជាគោលដូចគ្នានិងអាចប្រើឡើងវិញនូវការយោងនានាដោយប្រើបញ្ជីនេះ។ វាក៏អាចអោយអ្នកប្រើយកទំព័រគំរូយោងក្នុងវិគីពួកគេដែរ។

ប៉ូតុង ដាក់ការយោង៖ បើសិនជាវិគីអ្នកប្រើសេវាកម្ម citoid នោះអ្នកនឹងឃើញប៊ូតុងដាក់ការយោងជំនួសអោយបញ្ជីយោង។

(សេចក្ដីណែនាំអំពីវិធីបន្ថែមទំព័រគំរូយោងទៅក្នុងបញ្ជីដោយដៃក្នុងវិគីណាមួយ អាចអានបាននៅVisualEditor/Citation tool ។)

Instructions for enabling the ដោយស្វ័យប្រវត្តិ tab are available at Enabling Citoid on your wiki

សេវាកម្ម​ citoid ព្យាយាមបំពេញទំព័រគំរូយោងដោយស្វ័យប្រវត្តិ។


បញ្ជីនិងការចូលបន្ទាត់៖ វត្ថុទាំងពីរខាងលើអនុញ្ញាតអោយអ្នកសរសេរអត្ថបទជា «បញ្ជីផ្ដើមដោយត្រេ» ឬជា «បញ្ជីផ្ដើមដោយលេខ»។ វត្ថុទាំងពីរខាងក្រោមអនុញ្ញាតអោយអ្នកបន្ថយឬបង្កើនជម្រៅចូលបន្ទាប់។

បញ្ចូល៖ បញ្ជី"បញ្ចូល" អាចបង្ហាញក្នុងរូបរាងខុសគ្នាតាមគម្រោង។ ខាងក្រោមនេះជាបញ្ជីជម្រើសទាំងអស់ ដែលមាន។
  • និមិត្តរូប«រូបភាពនិងមេឌា» (រូបភ្នំ) សម្រាប់បើក សំណុំបែបបទបញ្ចូលមេឌា
  • និមិត្តរូប«ទំព័រគំរូ» (រូបគ្រាប់គំនូរផ្គុំ) អនុញ្ញាតអោយអ្នកកែប្រែទំព័រគំរូ
  • "តារាង" អនុញ្ញាតអោយអ្នកបញ្ចូលតារាង។
  • «មតិយោបល់​» (ប៉េងប៉ោងសន្ទនា) អនុញ្ញាតអោយអ្នកបញ្ចូលមតិយោបល់ដែលអ្នកអានដទៃមើលមិនឃើញ។ មតិយោបល់ទាំងនេះមើលឃើញបានតែពេលប្រើក្នុងម៉ូដកែប្រែប៉ុណ្ណោះ។ មតិយោបល់អាចសម្គាល់បានដោយនិមិត្តរូបសញ្ញាឧទាន។ ក្នុងម៉ូដកែប្រែ សូមចុចលើនិមិត្តរូបសញ្ញាឧទានដើម្បីកែប្រែឬលុបមតិយោបល់ចោល។
  • និមិត្តរូប«អក្សរ​អេហ្ស៊ីប» (សញ្ញា ☥) អនុញ្ញាតអោយអ្នកបញ្ចូលអក្សរអេហ្ស៊ីប។ (អានខាងក្រោម។)
  • «កន្សោមកូដ» អនុញ្ញាតអោយអ្នកបញ្ចូលកូដ។
  • «សញ្ញាភ្លេងតន្ត្រី» អនុញ្ញាតអោយអ្នកបញ្ចូលសញ្ញាភ្លេងតន្ត្រី។
  • និមិត្តរូប«វិចិត្រសាល» (បណ្ដុំរូបថត) អនុញ្ញាតអោយអ្នកបញ្ចូលវិចិត្រសាលទៅក្នុងទំព័រ។
  • និមិត្តរូប«រូបមន្តគណិត» (Σ) សម្រាប់បើក សំណុំបែបបទបញ្ចូលរូបមន្ត
  • «ក្រាហ្វ» អនុញ្ញាតអោយអ្នកបញ្ចូលក្រាហ្វ។
  • «ហត្ថលេខារបស់អ្នក» អនុញ្ញាតអោយអ្នកបញ្ចូលហត្ថលេខាអ្នកប្រើប្រាស់វិគីភីឌារបស់អ្នក។ វានឹងបង្ហាញជាពណ៌ប្រផេះ (មិនអាចជ្រើសយកបាន) ពេលដែលអ្នកកំពុងកែប្រែប្រភេទទំព័រមួួយ («លំហឈ្មោះ») ដូចជាអត្ថបទជាដើម ដែលនៅលើទំព័រនោះអ្នកមិនអាចបញ្ចូលហត្ថលេខាបានទេ។
  • និមិត្តរូប«បញ្ជី​ឯកសារ​យោង» (សៀវភៅបីក្បាល) ប្រើសម្រាប់បើកសំណុំបែបបទដែលអ្នកអាចកំណត់ទីតាំងបង្ហាញឯកសារយោងដល់អ្នកអាន។ ជាធម្មការការធ្វើបែបនេះគួរធ្វើឡើងតែម្ដងគត់លើទំព័រមួយ។

ការបញ្ចូលតួអក្សរពិសេស៖ និមិត្តរូប«តួអក្សរ​ពិសេស» (Ω) នៅក្បែរបញ្ជី«បញ្ចូល»។ ពេលចុចលើវា ផ្ទាំងមួយបង្ហាញតួអក្សរពិសេសជាច្រើននឹងលេចឡើង។ អ្នកអាចបញ្ចូលតួអក្សរណាមួយទៅក្នុងអត្ថបទដោយចុចលើវា។ តួអក្សរពិសេសទាំងនេះរួមមាន និមិត្តសញ្ញាស្តង់ដារ និមិត្តសញ្ញាសម្លេងអាន និងនិមិត្តសញ្ញាគណិតវិទ្យា។ (បញ្ជីនេះអាចកែច្នៃតាមវិគីនីមួយៗ។ សូមអានសេចក្ដីណែនាំនៅ VisualEditor/Special characters ។)

ប៊ូតុង កំណត់សម្គាល់ បង្ហាញកំណត់សម្គាល់ផ្សេងសម្រាប់ទំព័រ។

The ជម្រើស​ទំព័រ menu is to the left of the ផ្សព្វផ្សាយបន្លាស់ប្ដូរ button and the ផ្លាស់ឧបករណ៍កែប្រែ menu. On this menu there is a button to open an ជម្រើស dialog with the following (left side) tabs:
  • ចំណាត់ថ្នាក់ក្រុម 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.
  • ការកំណត់​ទំព័រ 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.
  • ការ​កំណត់​ថ្នាក់ខ្ពស់ 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.
  • ទំព័រគំរូដែលបានប្រើ shows a list of links to each template used on this page.

The tabs of the ជម្រើស dialog are also displayed in the ជម្រើស​ទំព័រ menu and can be opened by clicking on it. Furthermore the ជម្រើស​ទំព័រ menu contains the items មើលពីឆ្វេងទៅស្ដាំ or មើលពីស្ដាំទៅឆ្វេង and the item ស្វែង​រកនិងជំនួស, 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.


ប៊ូតុងផ្លាស់ទៅម៉ូដកែប្រែកូដនៅក្បែរប៊ូតុង$save។ វាអនុញ្ញាតអោយអ្នកផ្លាស់ទៅប្រើមុខងារវិគីអត្ថបទវិញ។

ការរក្សាទុកបន្លាស់ប្ដូរ

នៅពេលដែលអ្នកកែប្រែចប់ សូមចុចលើប៉ូតុង"ផ្សព្វផ្សាយបន្លាស់ប្ដូរ"ពណ៌ខៀវនៅក្នុងរបារឧបករណ៍។ បើសិនជាអ្នកមិនបានធ្វើការកែប្រែអ្វីទេ ប៊ូតុងនេះប្រើមិនបានទេ (បង្ហាញជាពណ៌ប្រផេះ)។ To cancel all your editing changes, close your browser window, or press the "អាន" tab above the edit toolbar.

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 watchlist. 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 confirm that they will function as intended before saving your changes. This is similar to the "បង្ហាញ​បន្លាស់ប្ដូរ" button in the wikitext editor.

The "ត្រឡប់ទៅកែប្រែវិញ" button returns you to the page you were editing. You can publish all of your changes later.

ការកែប្រែតំណភ្ជាប់

Links can be added through the "តំណ​ភ្ជាប់" 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 "តំណ​ភ្ជាប់" 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.


When you use either the button or the shortcut, a dialog will open in which you may type the link.

The link tool will try to help with internal links by searching for likely matches. Once you have entered or selected the link, you complete the linking process by pressing ↵ Enter or by pressing the "រួចរាល់" 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.


To link to a web page on another website, the process is similar: Choose the "វិបសាយ​ខាងក្រៅ" tab, and enter a URL in the box.

External links without labels look like this: [១]. 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 "រួចរាល់" button to insert the link.

To change or remove an existing link, press within the text for that link, then press the "តំណ​ភ្ជាប់" icon that appears near it. The dialog will appear, for editing. You can also get to the dialog with the Ctrl+K keyboard shortcut. When a link is selected, it appears as blue framed.

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

If you want to exit the link label (the text displayed as a link) or continue to write after this link, you can press :

  • Pressing it once will escape the link editing dialog and put your cursor at the end of the element linked (blue framed, to edit this element)
  • Pressing it twice will put the cursor after the element linked, ready to type the rest of your text.

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

  • If you have selected (highlighted) the entire link label, the link will be deleted by typing any key.
  • To edit the link label directly without deleting it, put the cursor within that link label, use the backspace and 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.

ការកែប្រែឯកសារយោង

For further information, see Help using citation templates or Help using citoid's ដោយស្វ័យប្រវត្តិ tab

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 "យោង" 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.

In the second system, you again start by pressing the ដាក់ការយោង button. Then a dialog box opens, which includes several popular citation templates set up for quick access in the "ដោយដៃ" tab. If your wiki uses this system, then you will find more details at Help:VisualEditor/User guide/Citations-Templates

In the third system, you again start by pressing the ដាក់ការយោង button. Then a dialog box opens, which includes an automatic citation process using the citoid service under the Automatic tab. If your wiki uses this system, you will find more details at Help:VisualEditor/User guide/Citations-Full

ការកែប្រែឯកសារយោងដែលមានស្រាប់

To edit an existing reference, press 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, pressing on the "កែប្រែ" button will open a dialog where you can edit the reference.

For the "ឯកសារ​យោង​" icon, pressing "កែប្រែ" opens the reference dialog. To start changing the reference information, press on it.

Many wikis use templates to format references. If a template is used in your reference, then when you move your pointer over the reference information, all the information in that field will be highlighted.

If a template was used and you press on the reference information, then the ទំព័រគំរូ icon (puzzle piece) will appear with some information. Press on the "កែប្រែ" button to edit the content of the template in the template editor dialog.


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 "កែប្រែ" will open the template editor dialog.

Inside the template 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 "Add" at the bottom of the editor.

Press on "អនុវត្តបម្លាស់ប្ដូរ" when you are done.

ការប្រើប្រាស់ឡើងវិញនូវឯកសារយោងដែលមានស្រាប់

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.

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 "ប្រើឡើងវិញ" item from the "យោង" menu.

(Note: If your wiki has the second or third footnote system described above, you'll see a "ប្រើឡើងវិញ" tab, in a dialog, instead of a "ប្រើឡើងវិញ" item on the "យោង" menu.)


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.

ការបន្ថែមឯកសារយោងថ្មីមួយ

To add a citation using the "យោង" menu, place your cursor where you want to add it in the text. Then click "ធម្មតា".

Using the "ធម្មតា" citation

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

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 "បញ្ជី​ឯកសារ​យោង" tool.)


In the Reference dialog, if you want to include a citation template, or any other template, in your new reference, press the ទំព័រគំរូ icon (puzzle piece) in the "បញ្ចូល" toolbar menu within the Reference editor.

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 are done editing your new template, press on "អនុវត្តបម្លាស់ប្ដូរ" to return to the Reference editor, and "អនុវត្តបម្លាស់ប្ដូរ" again to return to the page you are editing.


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.

Place the cursor where you want to display the references list (usually at the bottom of the page), open the "បញ្ចូល" menu and press the "បញ្ជី​ឯកសារ​យោង" icon (three books).


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.

The final step in the References list dialog is to press "បញ្ចូល".

Using standard cite templates

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. (Instructions for adding extra citation templates to your local wiki are available at VisualEditor/Citation tool .)

Pressing on a template icon such as "Cite book" will take you into the template 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.

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

Press on "បញ្ចូល" when you are done.

Editing images and other media files

Editing images

ដើម្បីបន្ថែមរូបភាពថ្មីណាមួយ (ឬឯកសារមេឌាដទៃទៀត) ទៅក្នុងទំព័រ សូមចុច "Media" icon នៅលើរបារ (រូបភ្នំ) ។

Pressing the "រូបភាពនិងមេឌា" 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.

ដើម្បីជ្រើសរើសឯកសារមួយ សូមចុចលើកូនរូបភាពរបស់វា។

This places the image onto the page you are editing.


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.

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

You can also set various parameters for the image in the "ការ​កំណត់​ថ្នាក់ខ្ពស់" window. These include the alignment, the type, and size of the image.

When you are done, press "អនុវត្តបម្លាស់ប្ដូរ" to close the dialog and return to editing the page.

For an existing image, you can add or edit a caption or other settings by pressing on the image, then pressing on the "រូបភាពនិងមេឌា" icon that appears below the picture.

You can resize an existing image by pressing on it, then moving the resize icon (the two-headed arrow on one or both bottom corners).

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

Uploading images

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.

Press the "ផ្ទុកឡើង​" 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.

You need to describe the image and add categories to it so that other people can find it.

The image will be inserted into the page when you are done.

Editing media galleries

To add a new gallery, press 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.)

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.
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 "រួចរាល់" button, you will exit the gallery editor. You should then see your changes, with the gallery as it will now appear to readers.

Remember that exiting the gallery editor does not publish your changes. As with other changes made using the visual editor, you must publish the entire page in order to publish your work.

Editing templates

The powerful MediaWiki template system lets you insert dynamic content, text from other pages, and much more. For a detailed explanation and examples, see the Templates help page.

In the VisualEditor you can search for a relevant template, add an invocation or transclusion on the page you’re editing and, if needed, add custom content using parameters.

Insert new template

To add a template to a page, place your cursor at the position on the page where you want the template to be inserted. Then open the បញ្ចូល menu and select " ទំព័រគំរូ". Alternatively, type two curly brackets {{ to open the same dialog.
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 " ទំព័រគំរូ". Then select the "កែប្រែ​" 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.

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 "អនុវត្តបម្លាស់ប្ដូរ". Then you can preview your edit and make sure it looks the way you want and expect.

You may also see an error message, which (like the other TemplateData mentioned above) is community-provided content and may vary in usefulness. You may need to consult the template’s own documentation to get to the bottom of some errors. If you’re still having trouble, consider posting about your problem on the template’s talk page.


Removing a template

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

ការផ្លាស់ប្ដូរជំនួសទំព័រគំរូ

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>. Then press the blue “Add” button.

When you’re finished, press “បញ្ចូល”, 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

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.


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

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.

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)

Here is the result of increased indentation.

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

Editing tables

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 "បញ្ចូល" menu, the visual editor inserts a blank four-by-four table.

Now the "Table" menu is available. From that menu, you can add a caption to the top of the table.


To select a cell, press it once.

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.


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

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.

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.

ការកែប្រែចំណាត់ថ្នាក់ក្រុម

To edit categories, on the "ជម្រើស​ទំព័រ" menu, press the "ចំណាត់ថ្នាក់ក្រុម" item.

Pressing on "ចំណាត់ថ្នាក់ក្រុម" opens a dialog that lists existing categories and allows you to add new ones, and to delete existing categories.

You also have the option of setting or changing the general (default) sorting key, which determines where the page appears when listed with other pages in the same category.

For example, the default sorting key for the article "George Washington" is "Washington, George". In the category "Presidents of the United States", the article is listed under the letter "W", not the letter "G".


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 publish all your editing changes.)

To remove an existing category, press on it and press on the "ដកចេញ" 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.


Press "អនុវត្តបម្លាស់ប្ដូរ" when you are done editing categories to return to the page editor.

Editing page settings

To edit a page's settings, press to open the "ជម្រើស​ទំព័រ" menu, in the toolbar, and select the "ការកំណត់​ទំព័រ" button.

The "ការកំណត់​ទំព័រ" button opens a dialog that shows several options.

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 are editing.

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


You can change whether the page shows a Table of Contents by selecting one of these three buttons. The default option is "បើ​ត្រូវ​ការ", which shows a Table of Contents if there are three or more headings.

You can make a page not show edit links next to each section header by checking this checkbox.

Press "អនុវត្តបម្លាស់ប្ដូរ" when you are done editing the ជម្រើស​ទំព័រ to return to the page editor.

Editing maps

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 "រូបមន្តគណិត" icon ("Σ") in the "បញ្ចូល" menu on the toolbar.

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 "បញ្ចូល" button.

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.

Mathematical formulae can be placed inline or centered as a block.

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.


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.

ការកែប្រែរូបមន្តគណិតវិទ្យា និងវត្ថុពិសេសដទៃទៀត

Some items, such as association lists and poems, are not yet fully supported by the visual editor.

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.


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.


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

Scroll down, and you'll see the wikitext editing area.


You can also switch from the wikitext editor to the visual editor. To do that, press the pencil icon on the far right of the toolbar.

ក្ដារចុចផ្លូវកាត់

ឧបករណ៍កែប្រែជាច្រើនប្រើសម្រាប់បញ្ចូលវិគីអត្ថបទដោយផ្ទាល់ ជាពិសេស អក្សរដិត អក្សរទ្រេត និងតំណភ្ជាប់វិគី។ ក្ដារចុចផ្លូវកាត់អនុញ្ញាតអោយបញ្ចូលទម្រង់ដូចគ្នានេះដែរ ដោយមិនចាំបាច់ប្រើវត្ថុក្នុងរបារឧបករណ៍។ ខាងក្រោមនេះជាច្នុចកាត់ទូទៅនៅក្នុងមុខងារកែប្រែតាមគំហើញ៖

ក្ដារចុចផ្លូវកាត់សម្រាប់កំព្យូទ័រទូទៅ សកម្មភាព ក្ដារចុចផ្លូវកាត់សម្រាប់កំព្យូទ័រ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

Also see the full list of all keyboard shortcuts .