Page MenuHomePhabricator

[REGRESSION] Reply button is not bringing up text entry box in some cases
Closed, DuplicatePublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

  • Go to several pages where DiscussionTools is active.
  • Click on the "Reply" button to try to add a comment to the discussion.

What happens?:
Nothing.

What should have happened instead?:
The text entry box should have come up.

Other information (browser name/version, screenshots, etc.):
Reported on Discord with discussion by Daniel Quinlan, @Sdkb, and @asilvering.

Event Timeline

Also, when it happens, are there any errors in the browser console?

@DLynch , I found this happening just now when I tried to click reply to Newyorkbrad's original comment at https://en.wikipedia.org/w/index.php?title=Wikipedia%3AVillage_pump_%28proposals%29&dtnewcommentssince=c-Constant314-20250709164100-Welcome_message_for_new_editors_who%27s_initial_efforts_have_been_reverted.&dtsincethread=1#Proposal_for_discussion:_No-AI_Certification_in_Unblock_Requests I arrived at that URL I think by clicking a notification that there was a new topic on the Village Pump (Proposals) page (to which I subscribe).

Interestingly, simplifying the URL to just https://en.wikipedia.org/wiki/Wikipedia:Village_pump_(proposals)#Proposal_for_discussion:_No-AI_Certification_in_Unblock_Requests caused the reply button to start working, so the issue may be from some sort of interaction happening at the first link.

Going to the browser console, the only error was the one attached.

"Unchecked runtime.lastError: Could not establish connection. Receiving end does not exist."

I'm not sure where to insert &safemode=1 in the first URL to get it to activate properly without otherwise changing the URL. From https://en.wikipedia.org/wiki/Wikipedia:Village_pump_(proposals)#c-Newyorkbrad-20250714015300-Proposal_for_discussion:_No-AI_Certification_in_Unblock_Requests (where it didn't work) I tried changing it to https://en.wikipedia.org/wiki/Wikipedia:Village_pump_(proposals)?safemode=1#c-Newyorkbrad-20250714015300-Proposal_for_discussion:_No-AI_Certification_in_Unblock_Requests where it then did.

This happens to me all the time. I can sometimes fix it by refreshing the page, sometimes not. Sometimes it takes several refreshes. I thought it was the markblocked gadget that was screwing with things, but turning that off only solved the problem for a little while. How it solved the problem at all for any period of time is a total mystery to me. Nothing illuminating in the console. I experience the same problem across multiple browsers. I feel like it happens more often on longer pages and when linked via notifications, but that might be just in my head. I've tried safe mode to fix it a handful of times and it's worked, but since refreshing the page can also fix the problem and the problem can't be reliably reproduced, I'm not sure whether I can conclude anything from that.

Update: it failed for me on every single one of the individual discussion pages here: https://en.wikipedia.org/wiki/Wikipedia:Administrator_elections/July_2025/Discussion_phase . Refreshing (up to three times) never succeeded. Safemode worked every time. So that's a total of six failures that appear reproduceable. Will mess around with my common.js and see if I can find what's causing it.

I was able to reproduce this on an empty common.js file. Also, it seems like whenever this scenario occurs the OOUI buttons are left in their uninfused state

I think we've maybe fixed this on T400613 instead.

Specifically with https://gerrit.wikimedia.org/r/1173586 which was the more general fix to DT, rather than the change to the gadget that got the task closed.