Page MenuHomePhabricator

Dark theme makes some blank spaces over formulas, making them unreadable
Closed, ResolvedPublic

Description

There's a white rectangle that hides some formulas, which is very annoying and makes this theme unusable for mathematics and physics.

Example:

Screenshot_20170826-180244.png (1×1 px, 260 KB)

I'm using the F-droid latest version: r/2.5.195-r-2017-04-21 (194) - Added on Apr 27, 2017

Event Timeline

@moshpirit which page is that in the screenshot? Does this happen on just that page, or all pages which contain a formula?

Navigate to Usuario:There'sNoTime/Taller using the app - I believe the issue is caused by a local template (Template:Ecuación)

{{ecuación|
<math>\oint_{S} \vec{E} \cdot d\vec{S} = \frac {q}{\varepsilon_0}</math>
}}

renders a white block, whereas just

<math>\oint_{S} \vec{E} \cdot d\vec{S} = \frac {q}{\varepsilon_0}</math>

renders correctly

It's from here.

So, if I find this again I just need to edit the formula and delete the {{ecuación| part, right?

SamanthaNguyen subscribed.

Changed tags; Theme is a MediaWiki extension ( https://www.mediawiki.org/wiki/Extension:Theme ). Sorry for the confusion!

I'm editing it and doesn't seem to fix the problem to me.

@moshpirit if you navigate to Usuario:There'sNoTime/Taller using the app, which ones work?

@Samtar I'm sorry, what do you mean? I only have one account in the Wikipedia app.

  1. Open the Wikipedia App
  2. Click the search button
  3. Enter "Usuario:There'sNoTime/Taller" into the search bar ("There'sNoTime" is my Wikipedia username, I have set up some tests in my sandbox on the Spanish Wikipedia)
  4. A page should open with four sections - some will display correctly, and some will not

Could you tell me which ones display correctly, so I can narrow down exactly what's going on?

Oh, I see!! well, the only readable equation is "without template". Quotes are readable but it would be nice to have a better use of space and the size of the font, though:

Thank you so much for your help!!

Screenshot_20170828-123551.png (1×1 px, 88 KB)
Screenshot_20170828-123602.png (1×1 px, 113 KB)

RHo subscribed.

This seems to be fixed in the latest Alpha save for the "blockquote styled as in the template":

image.png (1×1 px, 161 KB)

Tested on Nexus 5 (6.0.1)
Wikipedia v2.6.203-alpha-2017-09-29

Niedzielski claimed this task.
Niedzielski subscribed.

Thanks all for triaging and debugging this issue! Per @RHo's comment, I'm marking this task as resolved. Please reopen if I'm mistaken.