Trợ giúp:Giao diện mâu thuẫn sửa đổi dựa trên đoạn văn

This page is a translated version of the page Help:Paragraph-based Edit Conflict Interface and the translation is 20% complete.
PD Lưu ý: Khi bạn sửa đổi trang này, bạn đồng ý phát hành đóng góp của bạn theo giấy phép CC0. Xem trang trợ giúp cộng đồng để biết thêm. PD
Tính năng beta đầu tiên đã được thay thế bằng giao diện mới vào ngày 8 tháng 11 năm 2018.

Giao diện mâu thuẫn sửa đổi dựa trên đoạn văn là một giao diện mới cho trang chỉnh sửa giải quyết xung đột. Nó hiển thị các đoạn văn bản va chạm theo cặp cạnh nhau, giúp việc hợp nhất văn bản của bạn với văn bản hiện trên trực tuyến dễ dàng hơn. Có một giao diện bổ sung được thiết kế đặc biệt cho mâu thuẫn sửa đổi trên các trang thảo luận.


Bối cảnh

Giao diện mâu thuẫn sửa đổi dựa trên đoạn văn nhằm mục đích thực hiện mong muốn của danh sách các kỹ thuật được mong muốn của cộng đồng tiếng Đức và nó được phát triển bởi các lực lượng kỹ thuật WMDE. Thông tin thêm về nó có thể được tìm thấy tại trang chính của WMDE trong Meta-Wiki.

Cách sử dụng

Kích hoạt chế độ xem phiên bản mới nhất: To enable the new view for edit conflict resolution, you have to be logged in and tick the checkbox for the Paragraph-based Edit Conflict feature on the beta-features preferences page. If you had already activated the first beta feature, you will automatically get the new view.

In a nutshell

The edit conflict interface wants to help you merge your text with the one that’s currently online. It breaks down the differences between the two text versions visually:

  • Text passages that differ are displayed in pairs next to each other: The current version of the page is shown in yellow and your version in blue. Inside, text that was changed is highlighted.
  • Text passages that are identical in both versions are displayed as a grey bar, spanning the whole width.

How to solve an edit conflict

  1. For each pair of text, select the version you want to keep.
  2. Edit the selected text, if needed.
  3. Click Đăng thay đổi. A new page version is created, combining all of the text you selected and the grey boxes.

Step by step

1. Get oriented.

A tutorial guides you through the interface the first time you encounter an edit conflict. You can open it again by clicking on the help icon (?).

In order to help you solve the edit conflict, the interface breaks down the differences between the two revisions like this:

  • Text passages that differ are displayed in pairs next to each other: The current version of the page is shown in yellow and your version in blue. Inside, text that was changed is highlighted.
  • Text passages that are identical in both versions are displayed as a grey bar, spanning the whole width.
  • If you want to copy your version (the entire article text with your edits) of the article page, click on the 'copy full text' link next to the blue marked 'Your revision' headline on the top of the interface.

2. Build a new version by merging your text with the one that’s currently online.

 
Selected text box, with a black pencil to start the editing mode
 
Text box in editing mode, with checkmark and "X"
  • Select the passages you want to keep by clicking on the radio buttons next to them. By default, all texts from the other person are selected, so if you publish immediately, none of your text changes are saved.
  • Edit passages, if needed.
    • Click on the black pencil to open the editing mode for a text passage. If the pencil is grey, it means you need to select the text passage first. Otherwise, this version won’t be saved when you click publish.
    • You can also edit text passages that are identical in both versions.
    • The highlights that indicate the differences between the versions disappear when you edit a text passage.
    • You can integrate parts from other text passages by copy and paste, either with the copy and paste function on your keyboard or with a right click.
    • Click on the check mark to apply changes to a text box and to close its editing mode.
    • If you want to discard your changes and reset the contents of the text box to what it was when the edit conflict occurred, click on the "X". This also restores the highlighting.

3. Publish a new page version.

When you’re done selecting and editing all of the passages, click “Publish changes”. This composes all of the text passages you selected and the grey boxes into a new page revision. As on all wiki pages, you can preview the changes first via the Preview button. On clicking Cancel, you return to the current version of the page.

Non-JS version

If you’re not using JavaScript, the look or behavior of the feature will be as follows:

  • All text passages are shown in editor boxes.
  • There are no buttons within the editor boxes.
  • Text passages that are identical in both versions are always expanded.

Deployment roadmap

First beta feature:

  • MediaWiki.org: 2017-02-06   Xong
  • Meta: 2017-02-13   Xong
  • Dewiki: 2017-02-14   Xong
  • Arwiki: 2017-02-21   Xong
  • Hewiki: 2017-02-23   Xong
  • Fiwiki: 2017-04-12   Xong
  • On all other wikis: 2017-05-10   Xong

New beta feature:

  • The switch from the first to the new beta feature on all wikis:

2018-11-08   Xong

Default feature on:

  • Dewiki: March 25, 2020   Xong
  • Arwiki: March 25, 2020   Xong
  • Fawiki: March 25, 2020   Xong

Trợ giúp biên dịch

Thông điệp phần mềm của tính năng có thể được dịch trên translate wiki. Bất kỳ sự giúp đỡ nào cũng được đánh giá cao!