Page MenuHomePhabricator

Strikethrough formatting not shown on talk pages in Android app
Closed, ResolvedPublicBUG REPORT

Description

Steps to reproduce

  1. Visit a talk page e.g. https://en.m.wikipedia.org/wiki/User_talk:The_wub/bugzoo/strikethrough using the Android app
  2. Open a section where <s> or <del> has been used to strikethrough text

Expected results

Text appears with strikethrough, as it does on the mobile and desktop website

Screenshot_20211230-173329.png (2×1 px, 119 KB)

Actual results

Text appears unformatted

Screenshot_20211230-173641.png (2×1 px, 95 KB)

This is a problem, as people will often retract their !votes or comments in a discussion by striking them. Not showing this could present a false impression of the discussion, and cause misunderstandings.

Environments observed

App version: 2.7.50388-r-2021-12-02
Android OS versions: 12
Device model: Pixel 4a
Device language: English (UK)

Event Timeline

Dbrant subscribed.

It looks like the problem is at the service level:

https://en.wikipedia.org/api/rest_v1/page/talk/User_talk:The_wub%2Fbugzoo%2Fstrikethrough

The REST service seems to be stripping away the strikethrough formatting, as well as the underline formatting. If that's fixed, then we'll automatically display it correctly in the app.
I'm adding iOS for visibility, since this no doubt affects them too.

Change 751457 had a related patch set uploaded (by Dbrant; author: Dbrant):

[mediawiki/services/mobileapps@master] Don't strip away strikethrough and underline tags.

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

Change 751457 merged by jenkins-bot:

[mediawiki/services/mobileapps@master] Don't strip away strikethrough and underline tags.

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

Change 754549 had a related patch set uploaded (by Mazevedo; author: Mazevedo):

[mediawiki/services/mobileapps@master] Allow del tag on Talk pages

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

Change 754549 merged by jenkins-bot:

[mediawiki/services/mobileapps@master] Allow del tag on Talk pages

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