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

       Web browser: ---
            Bug ID: 58747
           Summary: Editing (or any action) a post hides all it's
                    (descendant) replies
           Product: MediaWiki extensions
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Flow
          Assignee: wikibugs-l@lists.wikimedia.org
          Reporter: mmul...@wikimedia.org
                CC: ebernhard...@wikimedia.org, oke...@wikimedia.org,
                    sp...@wikimedia.org
    Classification: Unclassified
   Mobile Platform: ---

After submitting an action via JS, the api request responds with rendered HTML,
which JS then replaces the old HTML with.

However, loadRequestedRevision (in Topic.php) doesn't load the full tree here,
but only the post & root post (= topic). So, no children. It replaces the post
and all of it's child replies, by just the new post HTML (without child
replies)

Either we make sure loadRequestedRevision always loads the full tree, or we
change JS to make sure only the post (and no children) are replaces (a little
tricky because they're nested inside the post's DOM)

-- 
You are receiving this mail because:
You are the assignee for the bug.
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