Topic on Talk:Talk pages project/Replying/Flow

Does not work well with {{outdent}} and other templates

6
ExcarnateSojourner (talkcontribs)

On Wiktionary I tried to reply to the first comment in a deep thread. Another editor had used the outdent template part way through the thread to push future replies to the left side. My reply was placed immediately before the template (diff), rather than at the end where I had intended. (Correction diff for clarity.) I have found a similar problem with Wiktionary's look template.

I don't know how possible this would be to fix, but it was a problem I noticed.

Whatamidoing (WMF) (talkcontribs)

Thank you for the note, and especially for the "correction diff". It made clear what should have happened.

Do you remember which of the many [reply] buttons you clicked in that section? (If you remember, then giving me the time/date closest to it is probably the most efficient way to identify it.)

ExcarnateSojourner (talkcontribs)

Yes, I clicked the very first one in the section (2021-10-05T11:39).

Whatamidoing (WMF) (talkcontribs)

I think that was caused by the blank line, rather than the template.

ExcarnateSojourner (talkcontribs)

Do you mean the blank line immediately after the comment I replied to (the very first one in the section)? If so I've managed to reproduce the issue (diff, correction diff) without such a blank line. Or do you mean a blank line that I introduced in my reply?

Whatamidoing (WMF) (talkcontribs)

(See wikt:en:User talk:Whatamidoing (WMF)#Test for where I was testing this.)

If you have

Comment

:Reply

::Reply 2

(<-- a blank line)

:Another reply (or anything else)


then the Reply tool assumes that the end of the discussion is at the end of the "list", i.e., just before the blank line.

In this case, if you remove the blank line, but keep the (local/enwiktionary) {{Outdent}} template, then I think that template functions as its own line break. I don't know how (or even whether) it's possible to change the template to not create this effect.

Reply to "Does not work well with {{outdent}} and other templates"