Page MenuHomePhabricator

Multiple new topic tools are opening for DT after making an edit in NWE
Closed, ResolvedPublic

Description

Steps to reproduce:

Pre-requisite: Make sure you have enabled DT

  1. Go to this page: https://en.wikipedia.org/wiki/User_talk:RYasmeen_(WMF)/sandbox.
  1. Make an edit on that page.
  1. Click on the "New Section" link to add a new section.

Observe that, multiple new topic tools are opening.

Environment: en.wiki, beta cluster

Screen Shot 2022-09-05 at 3.36.24 PM.png (1×2 px, 268 KB)

Event Timeline

  1. Make an edit on that page.

Presumably this only happens with the 2017WTE?

  1. Make an edit on that page.

Presumably this only happens with the 2017WTE?

Yes, that's right, doesn't happen with the OWE.

Doesn't seem to be related to T317005 after all.

matmarex renamed this task from [Regression wmf.27] Multiple new topic tools are opening for DT after making an edit to [Regression wmf.27] Multiple new topic tools are opening for DT after making an edit in NWE.Oct 10 2022, 10:29 PM

Change 883199 had a related patch set uploaded (by Bartosz Dziewoński; author: Bartosz Dziewoński):

[mediawiki/extensions/DiscussionTools@master] Always reset ReplyLinksController before re-initializing

https://gerrit.wikimedia.org/r/883199

Change 883199 merged by jenkins-bot:

[mediawiki/extensions/DiscussionTools@master] Always reset ReplyLinksController before re-initializing

https://gerrit.wikimedia.org/r/883199

Only one new topic tool opens as expected. See

Screenshot 2023-02-06 at 18.22.56.png (1×2 px, 210 KB)

However, I get stuck while trying to switch between edit and add topic when I have a draft that is pending save. See 00:10 in https://photos.app.goo.gl/YzJ7VoL9P31tyPFt5
Screenshot 2023-02-06 at 18.21.28.png (1×3 px, 1 MB)

However, I get stuck while trying to switch between edit and add topic when I have a draft that is pending save.

Thanks for spotting that. I think it's an old issue and we just didn't notice it before. Might as well fix it here, though.

Change 886928 had a related patch set uploaded (by Bartosz Dziewoński; author: Bartosz Dziewoński):

[mediawiki/extensions/DiscussionTools@master] Special case opening new topic tool when VE or 2017WTE is open

https://gerrit.wikimedia.org/r/886928

matmarex renamed this task from [Regression wmf.27] Multiple new topic tools are opening for DT after making an edit in NWE to Multiple new topic tools are opening for DT after making an edit in NWE.Feb 6 2023, 6:18 PM

Change 886928 merged by jenkins-bot:

[mediawiki/extensions/DiscussionTools@master] Special case opening new topic tool when VE or 2017WTE is open

https://gerrit.wikimedia.org/r/886928

Only one new topic tool opens as expected. See

Screenshot 2023-02-06 at 18.22.56.png (1×2 px, 210 KB)

However, I get stuck while trying to switch between edit and add topic when I have a draft that is pending save. See 00:10 in https://photos.app.goo.gl/YzJ7VoL9P31tyPFt5
Screenshot 2023-02-06 at 18.21.28.png (1×3 px, 1 MB)

This works as expected now.