Wikia

Memory Alpha

Help:Edit conflict

Discuss0
37,448pages on
this wiki
Revision as of 07:54, February 5, 2009 by Morder (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Help icon  Contents → Edit conflict

In certain situations, two Archivists may try to edit the same page at the same time. If this happens, the second person to attempt to save the page will cause an edit conflict – that is, a conflict between two different saved versions of the same page. Consider the following sequence of events:

  1. Adam clicks the "edit this page" button, and begins editing an article.
  2. Beverly clicks the "edit this page" button, and begins editing the same article.
  3. Adam saves his version of the article.
  4. Beverly tries to save her version of the article, which is different from Adam's version.

In cases such as these, several things can happen. First, the MediaWiki software will attempt to merge the two versions of the page. Using the diff3 utility, MediaWiki can combine the two versions of the page – provided that Adam and Beverly each changed different parts of the article. However, Adam and Beverly might have made different changes to the same part of the article. The rest of this page will address the second situation.

Conflict warning pageEdit

If MediaWiki cannot merge the two versions of the page on its own, it will bring up a "conflict warning" notice when Beverly tries to save her version of the article, because Adam has already saved his version. The conflict warning notice contains three parts: first, at the top is shown Adam's version of the page. At the bottom, the version that Beverly was trying to submit is shown. In the middle, a colored table shows the differences between the two versions.

How to resolve a conflictEdit

Resolving an edit conflict is always a value judgment. Beverly must choose whether to integrate her changes with Adam's version, or Adam's changes with her version. In either case, she can then add some text like "via edit conflict" in the edit summary to warn others that she had to integrate the changes.

If both Adam and Beverly made large changes to the article, the situation is more complicated. Sometimes, it may just be best to temporarily add both versions of the text, and to merge them later on after some discussion on the article's talk page.

In all cases, Beverly should never simply post her own changes on top of Adam's. Such an act is unfair to Adam because it erases the work he just completed, and is therefore considered bad etiquette.

"In use" messageEdit

For convenience, Memory Alpha includes the option of posting an "in use" message at the top of a page. Simply paste the string {{inuse}} at the top of the wikitext and save the page; this will inform people who come after you that you are in the process of editing the page, and help to avoid edit conflicts. (This should generally only be used for large edits, however.)

Around Wikia's network

Random Wiki
http://en.memory-alpha.org/wiki/Help:Edit_conflict?oldid=926722
en.memory-alpha.org
crawl=CC-MAIN-2014-35
74827
application/http; msgtype=response
sha1:MIS7DL5ZBYSZROU2627NWAPFGRUKRL54
<urn:uuid:8446137a-0800-45a6-b3fa-6fd4b2621d87>
2014-08-23T19:59:39Z
199.27.76.194
sha1:CL4SFTEDRAN62S7KJ3HCY5UWLFW7QTDV
<urn:uuid:21254780-9fa7-4344-9ad4-c4681943644c>
http://en.memory-alpha.org/wiki/Help:Edit_conflict?oldid=926722
response
<urn:uuid:a67c2b8a-0e68-4a74-ae51-735a38e5d072>
robots: classic
hostname: ip-10-180-136-8.ec2.internal
software: Nutch 1.6 (CC)/CC WarcExport 1.0
isPartOf: CC-MAIN-2014-35
operator: CommonCrawl Admin
description: Wide crawl of the web with URLs provided by Blekko for August 2014
publisher: CommonCrawl
format: WARC File Format 1.0
conformsTo: http://bibnum.bnf.fr/WARC/WARC_ISO_28500_version1_latestdraft.pdf