Jump to content
MediaWiki

Extension:Interface de conflit de modification basé sur les paragraphes

From mediawiki.org
This page is a translated version of the page Extension:Paragraph-based Edit Conflict Interface and the translation is 20% complete.
Outdated translations are marked like this.
Manuel des extensions MediaWiki
TwoColConflict
État de la version : stable
Implémentation Interface utilisateur
Description Fournit une disposition alternative à deux colonnes pour la page de résolution de conflits
Auteur(s) Wikimédia Allemagne (WMDE)
Dernière version mises à jour continues
Politique de compatibilité Versions ponctuelles alignées avec MediaWiki. Le master n'est pas compatible arrière.
Modifie la base
de données
Non
  • $wgTwoColConflictSuggestResolution
  • $wgTwoColConflictBetaFeature
Licence Licence publique générale GNU v2.0 ou ultérieur
Téléchargement
Aide Aide:Interface de conflit de modification basé sur les paragraphes
Traduire l’extension Paragraph-based Edit Conflict Interface
Problèmes Tâches ouvertes · Signaler un bogue

L’extension Conflit sur deux colonnes fournit une disposition alternative à deux colonnes pour la page de résolution de conflits. Elle met en évidence les différences entre le contenu que vous avez voulu publier et la modification conflictuelle directement dans le champ texte, de sorte que vous puissiez facilement copier-coller les parties adéquates du texte et résoudre le conflit. It displays colliding text passages in pairs next to each other, making it easier to merge your text with the one that’s currently online.

Installation

  • Téléchargez et placez le(s) fichier(s) dans un répertoire appelé TwoColConflict dans votre dossier extensions/.
    Les développeurs et les contributeurs au code doivent à la place installer l'extension à partir de Git en utilisant:
    cdextensions/
    gitclonehttps://gerrit.wikimedia.org/r/mediawiki/extensions/TwoColConflict
    
  • Ajoutez le code suivant à la fin de votre fichier LocalSettings.php  :
    wfLoadExtension( 'TwoColConflict' );
    
  • Configurer selon les besoins.
  • Yes Fait – Accédez à Special:Version sur votre wiki pour vérifier que l'extension a bien été installée.

Utilisation

Activation de la nouvelle disposition : Pour activer la nouvelle disposition de résolution de conflit de modification, vous devez être connecté·e et avoir coché la case « Conflit de modification sur deux colonnes » dans les préférences, onglet Fonctionnalités bêta sur votre wiki. If you had already activated the first beta feature, you will automatically get the new view.

Overview of the edit conflict page

1. Get oriented. 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.

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 (?).

  • If you want to copy your version (the entire article text with your edits) of the article page, click on the copier le texte complet link next to the blue marked Votre version headline on the top of the interface.
Selected text box, with a black pencil to start the editing mode
Text box in editing mode, with checkmark and X

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

  • 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 Publier les modifications. 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-JavaScript version

If you are 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.

Configuration

Name Description Type Default
$wgTwoColConflictBetaFeature Activate this extension as a Beta Feature when Extension:BetaFeatures is activated. Boolean true
$wgTwoColConflictSuggestResolution Suggest an easy resolution for edit conflicts on talk pages when two users replied at the same time. Boolean true

Liens

Cette extension est utilisée par au moins un des projets Wikimédia. Cela signifie probablement que l’extension est assez stable et fonctionnelle pour être utilisée sur des sites à fort trafic. Recherchez le nom de cette extension dans le CommonSettings.php de Wikimédia et dans le fichier de configuration InitialiseSettings.php pour situer les endroits où elle est installée. Une liste complète des extensions installées sur un Wiki donné peut être visualisée sur la page Special:Version de ce wiki.
Cette extension est incluse dans les fermes de wikis ou les hôtes suivants et / ou les paquets :

AltStyle によって変換されたページ (->オリジナル) /