Page MenuHomePhabricator

Reply to a transcluded comment was posted on the "main" page rather than the transcluded one
Closed, ResolvedPublic

Event Timeline

It looks like discussion tools is not enabled on the corrupted page: https://ko.wikipedia.org/wiki/%EC%9C%84%ED%82%A4%EB%B0%B1%EA%B3%BC:%EC%A7%88%EB%AC%B8%EB%B0%A9 .

Using dtenable=1 I was able to reply, and it went to the month's sub-page: https://ko.wikipedia.org/w/index.php?diff=27607485

I don't think we'll ever know the cause of this for sure, and I don't think it's worth trying to reproduce given that it doesn't seem to have happened again (not on that page, and I haven't seen any other reports).

My best guess is that the RESTBase cache for that page was outdated and did not have the comment being replied to (added 7 minutes earlier), so an entry for it wasn't included in our "transcludedfrom" API response, so the reply tool assumed it was not transcluded, and posted the reply to the main page. I don't know if this was really the cause here, but it's a possible scenario, so let's fix that, I guess.

Other possible causes could have been something like T265737 or T266275.

Change 635889 had a related patch set uploaded (by Bartosz Dziewoński; owner: Bartosz Dziewoński):
[mediawiki/extensions/DiscussionTools@master] Include 'false' results in 'transcludedfrom' API response

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

Change 635889 merged by jenkins-bot:
[mediawiki/extensions/DiscussionTools@master] Include 'false' results in 'transcludedfrom' API response

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