Довідка:Об'єднання історій
| Зверніть увагу! Коли Ви редагуєте цю сторінку, то погоджуєтесь робити свій внесок під ліцензією CC0. Детальніше про умови ліцензії можна дізнатися на сторінці довідки. |
Об'єднання історій (додано у MW 1.12) — це спеціальна сторінка, яка уможливлює автоматичне об'єднання історій двох сторінок.
Ця можливість доступна користувачам з правом mergehistory на сторінці Special:MergeHistory. Користувачам у групі адміністратори таке право надається за замовчуванням.
Сторінки, об'єднані через цю спеціальну сторінку, реєструються в «журналі об'єднань».
Використання
The primary use case of merge history is to clean up after the situation in which someone moves a page by cut and paste (rather than going through the proper move page forms).
This tool allows for the licensing violation caused by the original cut and paste to be repaired, and the history to be reconnected, creating a situation almost indistinguishable from if the cut-paste had never happened.

Перейдіть до Special:MergeHistory. Введіть назви вихідної та цільової сторінки у наданих полях введення. Вихідною є сторінка, версії якої ви хочете злити в іншу сторінку, а цільовою — сторінка, в яку об'днаються версії.
Натисніть на «Показати редагування, що об'єднуються».
Вам буде показано список версій з вихідної сторінки, які може бути злито в цільову сторінку.
Initially, only the right column of radio buttons is visible, and the left column is hidden.
Simple merges
| This section in a nutshell: For simple merges, select either zero or one radio button on the right-hand column next to a revision. Leave the left-hand column blank. All revisions that are older than the selected revision (or all revisions if none was selected) will be merged into the destination page. |

- For a simple merge, only edits that are older than the oldest version of the destination page can be moved.
- If you want to merge all of the edits to the source page, and they are all older than the oldest version of the destination page, then you can leave both sets of radio buttons blank. The source page will become a redirect to the destination page.
- Натисніть перемикач поруч із версією для її вибору. That revision, and any revisions older than it, will be moved to the destination page.
- Once you've selected the revisions you want, click on
Об'єднати версіїto perform the merge. - Якщо злиття було успішним, ви повинні побачити сторінку, подібну до цієї.

Clearing the way for a simple merge
- Якщо цільова сторінка починається як перенаправлення на вихідну, це спричинить перекриття у версії, таким чином запобігаючи повному
Вихідні версії перекривають або йдуть після версій призначення..
Для виправлення цього:
- Видаліть цільову сторінку.
- Відновіть усе, крім раніше видалених і версій перенаправлення.
- Тепер може відбутися $1.
Complex merges
| Версія MediaWiki: | ≥ 1.45 |
| This section in a nutshell: For complex merges, select two radio buttons, the older one on the left column and the newer one on the right column. Only those two revisions and the revisions between them will be merged. |
While the simple merge UI should be sufficient for cleaning up after a standard cut-paste move, in unusual circumstances you may want more control over which revisions to merge.
In that case, you can select a newest revision to merge in the right column of radio buttons, and an oldest revision to merge in the left column of radio buttons. Only those two revisions, and the revisions between them (if any) will be merged.
Complex merges are not subject to the limitation that all of the revisions merged are older than the oldest version of the destination page. However, they are subject to their own separate requirements.
- The merged revisions must fit as a clean block in the destination page history. That is, there must be no revisions of the destination page between the oldest merged revision and the newest merged revision.
- If you really want to entangle two pages like that, you can do it via multiple complex merges.
- You can't change the current revision of either page via a complex merge (hence, the newest revision of the source page can't be merged, nor can revisions of the source page newer than the newest revision of the destination page).
Complex merges are a powertool that can easily do unexpected and dangerous things, such as decontextualizing a diff and making it appear that an editor did something they did not do. Only do this if you are very sure you know what you are doing.
Скасування злиття
Перейдіть до Special:Log/merge, а потім натисніть на «Розділити».