See parent ticket for details. This is a subtask to ensure the fix is incorporated and tested on iOS as well.
Description
Details
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
Add visualhide class from Common.css | mediawiki/extensions/MobileApp | master | +11 -0 |
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | Dbrant | T146974 [BUG] Problem with displaying pages containing sfrac template | |||
Resolved | Mhurd | T147239 Add visualhide css from common.css |
Event Timeline
@RHo We have a process for pulling upstream css and iirc we don't pull wholesale as you tried. I can give it a go after I finish the welcome ticket...
No worries @Mhurd – I just had a quick go at just adding the visualhide class on this PR:
https://github.com/wikimedia/wikipedia-ios/pull/962
@RHo Unfortunately that PR won't work because of the way we build our css files. That's actually the output file built when we run Grunt to process our less/css. For the visual hide bits we'll most likely want to have that added upstream so we can run it through the existing process that brings in all our other upstream css.
@Mhurd – derp yes I completely blanked on the processing, did it once before so can go through the process again tomorrow (unless you get to it first :p)
I assume this can be added it in such a way that both apps can inherit the change :)
@RHo per Dbrant's comment we'll probably want to check about adding it upstream before we do anything...
hi @Mhurd – per our chat offline just PR updated with addition to the correct file (misc.less instead of styleoverrides.css) ready for grunting :)
Change 317293 had a related patch set uploaded (by Dbrant):
Add visualhide class from Common.css
Hey @Mhurd, I think this'll roll out to enwiki (where it looks like you're pulling down from) during today's MediaWiki train deployment. Mind giving it another try after 2pm PDT?
== Testing criteria ==
- On either iPhone or iPad, load the "Top quark" article and ensure the "spin 1/2" fraction in the first paragraph looks correct:
Correct "spin 1/2" fraction:
Incorrect "spin 1/2" fraction:
@Nicholas.tsg Could you add a test case for this? Thanks!