Jump to content

Fusion des historiques

From mediawiki.org
This page is a translated version of the page Help:Merge history and the translation is 34% complete.
Outdated translations are marked like this.
PD Note : si vous modifiez cette page, vous acceptez de placer votre contribution sous licence CC0. Plus d’informations sont disponibles sur le projet Aide dans le domaine public. PD

Fusionner les historiques des pages (ajoutée dans MW 1.12) est une page spéciale qui permet de fusionner automatiquement l'historique de deux pages.

Cette fonction est accessible pour les utilisateurs avec le droit d'utilisateur mergehistory sur Special:MergeHistory. Les utilisateurs dans le groupe d'utilisateurs admin ont ce droit qui leur est assigné par défaut.

Les pages fusionnées par cette page spéciale sont consignées dans un « journal des fusions ».

Utilisation

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.

Allez sur Special:MergeHistory. Indiquez le titre de la page source et celui de la page de destination dans les champs de saisie. La page source est celle qui contient les révisions que vous voulez intégrer à une autre page, alors que la page de destination est la page qui recevra ces révisions.

Cliquez sur « Voir les modifications fusionnables ». Vous verrez une liste de révisions de la page source pouvant être intégrées dans la page de destination. Initially, only the right column of radio buttons is visible, and the left column is hidden.

Simple merges

  • 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.
  • Cliquez sur le bouton radio à côté d'une révision pour la sélectionner. 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 Fusionner les versions to perform the merge.
  • Si la fusion a réussi, vous devriez voir une page comme celle-ci.

Clearing the way for a simple merge

  • Si la page de destination était une redirection vers la page source, cela va causer un recouvrement dans les révisions empêchant par là un La période spécifiée chevauche les versions préexistantes de la page de destination. complet.

Pour corriger cela :

  • supprimez la page de destination.
  • restaurez toutes les versions sauf celles précédemment supprimées et celle de redirection.
  • il est maintenant possible de procéder à un $1.

Complex merges

Version de MediaWiki :
1.45

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.

The revisions at 05:00, 05:59, an 06:00 will be merged. The revisions either before or after those ones will not be.

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.


Annuler une fusion

Allez sur Special:Log/merge et cliquez sur « Séparer ».

Voir aussi