Page MenuHomePhabricator

Comments do not show up without <comment-streams-toc />
Closed, ResolvedPublicBUG REPORT

Description

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

What happens?:
Comments don't display:

Screenshot 2025-01-10 at 22-27-55 my_wiki.png (1×3 px, 268 KB)

What should have happened instead?:
Comments should've displayed:

Screenshot 2025-01-10 at 22-28-10 my_wiki.png (1×3 px, 351 KB)

Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia):

  • MediaWiki: 1.42.3 (e14367f) 06:02, 5 December 2024
  • PHP: 8.1.20 (fpm-fcgi)
  • MariaDB: 11.4.2-MariaDB
  • CommentStreams: 8.0.2 (a74591a) 06:06, 9 January 2025

Other information (browser name/version, screenshots, etc.):
This was initially reported downstream to Miraheze: https://issue-tracker.miraheze.org/T13070

For pages with the <comment-streams-toc /> tag, comments render fine:

Screenshot 2025-01-10 at 22-28-32 CommentStreams_WithCommentList - my_wiki.png (1×3 px, 666 KB)

This was caused by https://gerrit.wikimedia.org/r/c/mediawiki/extensions/CommentStreams/+/1098671

Event Timeline

Change #1109689 had a related patch set uploaded (by BlankEclair; author: BlankEclair):

[mediawiki/extensions/CommentStreams@REL1_42] Fix displaying comments on pages without <comment-streams-toc />

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

Change #1110044 had a related patch set uploaded (by MarkAHershberger; author: BlankEclair):

[mediawiki/extensions/CommentStreams@master] Fix displaying comments on pages without <comment-streams-toc />

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

Change #1109689 merged by jenkins-bot:

[mediawiki/extensions/CommentStreams@REL1_42] Fix displaying comments on pages without <comment-streams-toc />

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

Change #1110044 abandoned by MarkAHershberger:

[mediawiki/extensions/CommentStreams@master] Fix displaying comments on pages without <comment-streams-toc />

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

cicalese subscribed.

Reopening since the patch was only applied to the Release 1.42 branch. Was it fixed in another patch on master and the Release 1.43 branch?

Change #1110044 restored by MarkAHershberger:

[mediawiki/extensions/CommentStreams@master] Fix displaying comments on pages without <comment-streams-toc />

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

Change #1110044 merged by jenkins-bot:

[mediawiki/extensions/CommentStreams@master] Fix displaying comments on pages without <comment-streams-toc />

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

Change #1112396 had a related patch set uploaded (by MarkAHershberger; author: BlankEclair):

[mediawiki/extensions/CommentStreams@REL1_43] Fix displaying comments on pages without <comment-streams-toc />

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

Reopening since the patch was only applied to the Release 1.42 branch. Was it fixed in another patch on master and the Release 1.43 branch?

At the time, it was caused by https://gerrit.wikimedia.org/r/1098671, which was for REL1_42. On master, the changeset for it (https://gerrit.wikimedia.org/r/1020437) was in a merge conflict (and so did not affect that branch), therefore I made a comment asking to essentially add my fix from REL1_42 into the same patch, and he complied. The patch for adding the feature didn't exist for REL1_43 at the time.

Change #1112396 merged by Robert Vogel:

[mediawiki/extensions/CommentStreams@REL1_43] Fix displaying comments on pages without <comment-streams-toc />

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