Extension:TwoColConflict

From MediaWiki.org
Jump to: navigation, search

Other languages:
Deutsch • ‎English • ‎עברית • ‎日本語 • ‎polski • ‎中文
MediaWiki extensions manualManual:Extensions
Crystal Clear action run.png
Extension:TwoColConflict

Release status:Extension status beta

TwoColConflict MediaWiki Extension.png
ImplementationTemplate:Extension#type User interface
DescriptionTemplate:Extension#description Provides an alternative two-column view for the edit conflict resolution page
Author(s)Template:Extension#username Wikimedia Germany (WMDE)
Latest versionTemplate:Extension#version continuous updates
Compatibility policyCompatibility#mediawiki_extensions release branches
MediaWikiTemplate:Extension#mediawiki 1.27+
Database changesTemplate:Extension#needs-updatephp No
LicenseTemplate:Extension#license GNU General Public License 2.0 or later
Download

Translate the TwoColConflict extension if it is available at translatewiki.net

Check usage and version matrix.

IssuesPhabricator

Open tasks · Report a bug

The TwoColConflict extension provides an alternative two-column view for the edit conflict resolution page. It highlights differences between the editor's and the conflicting change directly in the textfield for an easy possibility to copy and paste desired pieces of the text and resolving the conflict.

Installation[edit]

  • Download and place the file(s) in a directory called TwoColConflict in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php:
    wfLoadExtension( 'TwoColConflict' );
    
  • YesY Done - Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

Usage[edit]

Enabling the new view: To enable the new view for edit-conflict resolution, you have to be logged in and tick the checkbox for the Two column edit conflict feature on the beta-features preferences page in your Wiki.

Two Column Edit Conflict View LTR 1.svg

This page helps you to resolve an edit conflict.
There are two columns: The first shows the conflicting changes and the second column is a text editor, whose content will be saved.

Two Column Edit Conflict View LTR 2.svg

Inside the box containing the conflicting changes, both the conflicting text and your text is shown, and the differences between the two are highlighted.

Two Column Edit Conflict View LTR 3.svg

There are buttons above the box which allow you to hide any unchanged parts of the text to make it easier to focus on the conflicting areas.

Two Column Edit Conflict View LTR 0.svg

The second column is an editor. When the page is opened, there is a selection box on top of the editor. It lets you decide which version should be in the editor. This is often the version where more changes were made.

Two Column Edit Conflict View LTR 4.svg

You can then copy and paste the desired parts of the text to the editor to edit the version that should be saved.
Once you hit the "publish changes" button, the version from the editor will be saved.

Links[edit]