<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>19389</bug_id>
          
          <creation_ts>2012-10-09 13:10:46 +0000</creation_ts>
          <short_desc>Find better way to handle edit conflicts</short_desc>
          <delta_ts>2015-10-05 01:27:02 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>webplatform.org</product>
          <component>infrastructure</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>critical</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Chris Mills">cmills</reporter>
          <assigned_to name="Doug Schepers">schepers</assigned_to>
          <cc>frozenice</cc>
    
    <cc>jonathan</cc>
    
    <cc>komoroske</cc>
    
    <cc>team-webplatform-admin</cc>
          
          <qa_contact name="public-webplatform-bugs list">public-webplatform-bugs</qa_contact>

      

      

      <flag name="needinfo"
          id="83"
          type_id="3"
          status="?"
          setter="focus.nca.vii"
    />

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>75675</commentid>
    <comment_count>0</comment_count>
    <who name="Chris Mills">cmills</who>
    <bug_when>2012-10-09 13:10:46 +0000</bug_when>
    <thetext>I was just editing an article, did a significant amount of work on it, then pressed save, and was given an &quot;edit conflict&quot; message. that was it.

I think found out that my colleague Karl had already got the page into edit mode, and was fixing the same problems I was looking at ;-)

We need a better way to handle this. For a start, we ought to disallow other people from starting to edit when there is someone else already editing that article.

Second, how do we allow people to make sure work is saved when a conflict occurs that could cause work loss?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>75680</commentid>
    <comment_count>1</comment_count>
    <who name="Alex Komoroske">komoroske</who>
    <bug_when>2012-10-09 14:14:48 +0000</bug_when>
    <thetext>Disallowing other folks from editing an article if someone else has it open doesn&apos;t work because what happens if someone opens an article for editing and then goes on a vacation?

Generally MediaWiki actually does a pretty reasonable job of helping you with merge conflicts when editing. For some reason it appears to be broken--we&apos;ve seen it in practice before on webplatform.org, so it USED to work.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>77238</commentid>
    <comment_count>2</comment_count>
    <who name="Jonathan Garbee">jonathan</who>
    <bug_when>2012-10-29 01:57:00 +0000</bug_when>
    <thetext>(In reply to comment #1)
&gt; Disallowing other folks from editing an article if someone else has it open
&gt; doesn&apos;t work because what happens if someone opens an article for editing
&gt; and then goes on a vacation?


If someone goes on vacation then their should be a timeout to unlock the page for others to edit.  Dokuwiki has this type of feature but it is a flat-filebased wiki and can&apos;t do conflict merging like MediaWiki should.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>77261</commentid>
    <comment_count>3</comment_count>
    <who name="Chris Mills">cmills</who>
    <bug_when>2012-10-29 08:56:13 +0000</bug_when>
    <thetext>(In reply to comment #2)
&gt; (In reply to comment #1)
&gt; &gt; Disallowing other folks from editing an article if someone else has it open
&gt; &gt; doesn&apos;t work because what happens if someone opens an article for editing
&gt; &gt; and then goes on a vacation?
&gt; 
&gt; 
&gt; If someone goes on vacation then their should be a timeout to unlock the
&gt; page for others to edit.  Dokuwiki has this type of feature but it is a
&gt; flat-filebased wiki and can&apos;t do conflict merging like MediaWiki should.

This is the kind of thing I was thinking of - a timeout system should surely work.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>77342</commentid>
    <comment_count>4</comment_count>
    <who name="David Kirstein (Frozenice)">frozenice</who>
    <bug_when>2012-10-29 22:31:17 +0000</bug_when>
    <thetext>&quot;that was it&quot; was it though?

I always thought you&apos;d have a chance to merge your edit with the other person&apos;s with the aid of a diff, like described here [1].

I haven&apos;t checked edit conflicts on WPD, so semantic forms or such could interfere with conflict handling. If that&apos;s the case it would be best to fix it so the normal MediaWiki conflict handling can be used (better to merge wiki-code than to loose everything).

[1] http://en.wikipedia.org/wiki/Help:Edit_conflict</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>