https://bugzilla.wikimedia.org/show_bug.cgi?id=26684

           Summary: Deleting a reply and replying again merges history,
                    restoring causes database error
           Product: MediaWiki extensions
           Version: any
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: major
          Priority: Normal
         Component: LiquidThreads
        AssignedTo: agarr...@wikimedia.org
        ReportedBy: nx.devn...@gmail.com
                CC: bhar...@wikimedia.org


I created a thread here:
http://liquidthreads.labs.wikimedia.org/wiki/Thread:Talk:LiquidThreads_testing/Deletion_test

I replied and deleted the reply, then I replied again. Both my replies were
named "Thread:Talk:LiquidThreads_testing/Deletion_test/reply" and as a result
their edit history is now merged. If you go to 
http://liquidthreads.labs.wikimedia.org/w/index.php?title=Thread:Talk:LiquidThreads_testing/Deletion_test/reply&action=history
and you are a sysop, you'll see that there's a deleted revision.

Attempting to restore the deleted revision causes a database error in function
"Thread::save/Thread::commitRevision/Thread::undelete": "1062: Duplicate entry
'3527' for key 2 (10.0.6.27)".

However, even if this were fixed, you would not be able to properly restore a
deleted reply once another reply has taken its place. LQT would need to take
into account deleted replies when it comes up with the automatic titles for
comments to avoid merging them like this.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to