Page MenuHomePhabricator

Wrong indentation of reply, possibly due to image
Open, Needs TriagePublicBUG REPORT

Description

List of steps to reproduce (step by step, including full links if applicable):

What happens?:
It makes a reply on level 1, which is also shown when inspecting the code

<a class="ext-discussiontools-init-replylink-reply" role="button" tabindex="0" data-mw-comment="{"type":"comment","level":1,"id":"c-Nirmos-2021-06-05T02:32:00.000Z-Testa_Wikispeech","replies":["c-Ainali-2021-06-05T06:07:00.000Z-Nirmos-2021-06-05T02:32:00.000Z"],"timestamp":"2021-06-05T02:32:00.000Z","author":"Nirmos"}" href="">svara</a>

What should have happened instead?:
It should have been a reply on level 4.

Event Timeline

Yes, it's caused by the image. The image is treated as a part of that comment, and it's not in a list (not indented), so the entire comment is treated as unindented. (I agree that it's a bit weird, just trying to explain why it happens.)

For what it's worth, you can indent the image in wikitext, which would resolve the problem – either of the versions below would work (and would also avoid creating a list gap):

:::[[Fil:Wikispeech errors and warnings.png|mini|Fel och varningar från Wikispeech]] Det är just nu på tok för många fel och varningar för att jag ska vilja lägga till det här som finess. [[Användare:Nirmos|Nirmos]] ([[Användardiskussion:Nirmos|diskussion]]) 5 juni 2021 kl. 04.32 (CEST)
:::[[Fil:Wikispeech errors and warnings.png|mini|Fel och varningar från Wikispeech]]
:::Det är just nu på tok för många fel och varningar för att jag ska vilja lägga till det här som finess. [[Användare:Nirmos|Nirmos]] ([[Användardiskussion:Nirmos|diskussion]]) 5 juni 2021 kl. 04.32 (CEST)
ppelberg added a project: Editing-team.
ppelberg moved this task from Untriaged to Freezer on the Editing-team board.