Page MenuHomePhabricator

Potd (commons) caption is truncated, no way to read the end
Closed, ResolvedPublicBUG REPORT

Description

https://commons.wikimedia.org/wiki/Template:Potd/2020-11-30_(en)

Android 2.7.50336-beta-2020-11-24

Steps to Reproduce:

go to home screen, tap on the picture of the day or tap on the caption

Actual Results:

caption is truncated on home page and not present at all on file description page.

Screenshot_20201129-191446.png (2×1 px, 711 KB)

Expected Results:

there should be some way to get feature parity with desktop, show the whole caption.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Hi @schoenbaechler

The description in the Picture of the day (https://commons.wikimedia.org/wiki/File:Wroclaw_-_Biblioteka_Uniwersytecka_i_Kosciol_NMP_na_Piasku_01.jpg) is actually a special message in the page, and it is different from the image description in the image page.

Since there's no other way to see the special message (for the POTD), I created a PR to remove the android:maxLines="4" setting from the view to show the entire message.

What exactly is a “special message in the page”? It’s not the unstructured description, right? I was unable to find it on the Commons file page. Other than that, your proposed solution sounds good @cooltey.

In T268956#6657609, @schoenbaechler wrote:

What exactly is a “special message in the page”? It’s not the unstructured description, right? I was unable to find it on the Commons file page. Other than that, your proposed solution sounds good @cooltey.

Please see the screenshot below, it is a "Picture of the day" template that contains the special message.

1606777574378.jpg (1×2 px, 1 MB)

Looks good to me, moving it to QA signoff. What do you think @jeremyb-phone 👇

Screenshot_20201202-164530.png (2×1 px, 744 KB)

In T268956#6663277, @schoenbaechler wrote:

Looks good to me, moving it to QA signoff.

your screenshot LGTM