edit conflict

{{Short description|Computer problem}}

{{for|back-and-forth disagreements in wiki editing|Wiki#Security{{!}}Edit war}}

{{self reference|For dealing with edit conflicts on the English Wikipedia, see Help:Edit conflict.}}

File:Paragraph-based prototype – rough visualization of the functionality.png

An edit conflict is a computer problem that may occur when multiple editors edit the same file and cannot merge without losing part or all of their edit. The conflict occurs when an editor gets a copy of a shared document file, changes the copy and attempts to save the changes to the original file, which has been altered by another editor after the copy was obtained.

Resolution

The simplest way to resolve an edit conflict is to ignore intervening edits and overwrite the current file. This may lead to a substantial loss of information, and alternative methods are often employed to resolve or prevent conflicts:

  • Manual resolution, where the editor determines which version to retain and may manually incorporate edits into the current version of the file.
  • Store backups or file comparisons of each edit, so there are the previous versions of the file can still be accessed once the original is overwritten.
  • File locking, which limits the file to one editor at a time to prevent edit conflicts. Computer writer Gary B. Shelly notes that many wiki systems "will block the contributor who is attempting to edit the page from being able to do so until the contributor currently editing the page saves changes or remains idle on the page for an extended period of time."{{Cite book|url=https://books.google.com/books?id=WYSP0ll6ftcC&q=%22Edit+conflict%22&pg=PA72|title=Web 2.0: Concepts and Applications|last=Shelly|first=Gary B.|author2=Frydenberg, Mark|date=2010|publisher=Cengage Learning|isbn=978-1-4390-4802-3|page=72|access-date=2020-12-10|archive-date=2023-03-18|archive-url=https://web.archive.org/web/20230318230437/https://books.google.com/books?id=WYSP0ll6ftcC&q=%22Edit+conflict%22&pg=PA72|url-status=live}}
  • Merge, by determining if the edits are in unrelated parts of the file and combining without user intervention.

Occurrences

The problem is encountered on heavily edited articles in wikis (frequency higher in articles related to a current event or person),{{Cite book

| last = Broughton

| first = John

| title = Wikipedia: The Missing Manual

| publisher = O'Reilly Media

| date = 2008

| pages = 11–13

| url = https://books.google.com/books?id=h37N0BvkVSUC&pg=PA11

| isbn = 978-0-596-51516-4

}} distributed data systems (e.g., Google Sites{{Cite book|url=https://books.google.com/books?id=heU9mQ4HovcC&q=%22Edit+conflict%22&pg=PT114|title=Google Sites & Chrome for Dummies|last=Teeter|first=Ryan|author2=Barksdale, Karl|publisher=For Dummies|year=2009|isbn=978-0-470-39678-0|access-date=2020-12-10|archive-date=2023-03-18|archive-url=https://web.archive.org/web/20230318230437/https://books.google.com/books?id=heU9mQ4HovcC&q=%22Edit+conflict%22&pg=PT114|url-status=live}}), and revision control systems not using file locking,Michael Antonovich (2010).

[https://books.google.com/books?id=rSygoG-FhcAC&pg=PA321 Office and SharePoint 2010 User's Guide: Integrating SharePoint].

p. 321 (752 pages), quote: "Edit conflict on a list linked to SharePoint".

as well as other high-traffic pages.{{Cite book

| last = Ayers

| first = Phoebe |author2=Matthews, Charles |author3=Yates, Ben

| title = How Wikipedia works: and how you can be a part of it

| publisher = No Starch Press

| year = 2008

| page = [https://archive.org/details/howwikipediawork00ayer_0/page/139 139]

| url = https://archive.org/details/howwikipediawork00ayer_0

| url-access = registration

| quote = Edit conflict.

| isbn = 978-1-59327-176-3

}} If a significant amount of new text is involved, the editor who receives an "edit conflict" error message can cut and paste the new text into a word processor or similar program for further editing, or can paste that text directly into a newer version of the target document. Simple copyediting can be done directly on the newer version, and then saved.

See also

References