Page MenuHomePhabricator

Reply links not working in particular sections
Closed, ResolvedPublic

Description

Actual behavior

  1. Navigate to https://ar.wikipedia.org/wiki/%D9%88%D9%8A%D9%83%D9%8A%D8%A8%D9%8A%D8%AF%D9%8A%D8%A7:%D8%A7%D9%84%D9%85%D9%8A%D8%AF%D8%A7%D9%86/%D8%AA%D9%82%D9%86%D9%8A%D8%A9
  2. Click any "Reply" link on the page that appears after this edit was made (read: below this signature تحياتي --علاء راسلني 14:26، 5 أبريل 2020 (ت ع م)).
  3. Receive the following error message: This comment can't be replied to using this tool. Please try using the full page editor instead.

Open questions

  • Is the behavior described above expected?
    • Yes.
  • What is causing the behavior above?

Done

  • "Open questions" are answered
  • Next steps, if any, are defined

Event Timeline

It is unfortunate but it's the correct behavior. This happens because all of the comments are "template-affected" by these templates that generate the collapsed lists:

image.png (1×3 px, 680 KB)

The easiest way to check this is to open the page using VisualEditor (which you can do even on pages we don't support, by adding ?veaction=edit to the URL): https://ar.wikipedia.org/wiki/ويكيبيديا:الميدان/تقنية?veaction=edit

And that in turn happens because the "start" template contains a <div> tag that is not closed on the "end" template. The two templates are:

I think this can be fixed by just adding a closing </div> tag to the "end" template, that is, changing https://ar.wikipedia.org/w/index.php?title=قالب:أظهر_آخر&action=edit to:

|}
</div><noinclude>

[[تصنيف:قوالب أرشفة]]

{{توثيق}}
</noinclude>

I don't think this can break anything, but I didn't edit the template yet since I'd prefer somebody familiar with ar.wp's templates to have a look at this and confirm :)

I think this can be fixed by just adding a closing </div> tag to the "end" template, that is, changing https://ar.wikipedia.org/w/index.php?title=قالب:أظهر_آخر&action=edit to:

|}
</div><noinclude>

[[تصنيف:قوالب أرشفة]]

{{توثيق}}
</noinclude>

I don't think this can break anything, but I didn't edit the template yet since I'd prefer somebody familiar with ar.wp's templates to have a look at this and confirm :)

@Dyolf77_WMF, are you able to follow the steps described in the comment above and let us know if the issue reported in the task description is resolved by doing so?

@Dyolf77_WMF, are you able to follow the steps described in the comment above and let us know if the issue reported in the task description is resolved by doing so?

I did the edit, now, the tool is working again.
Thanks for your help @matmarex!

ppelberg claimed this task.
ppelberg updated the task description. (Show Details)