Page MenuHomePhabricator

Extension:Math formulae can be too long for column or page
Open, Needs TriagePublic


For example, on enwiki's "Equation of state" article, under "Equations of state for solids" or "The BWR equation of state"

Or "Bicubic interpolation" on en.wp

Version: unspecified
Severity: normal



Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 3:56 AM
bzimport added a project: OCG-PDF-renderer.
bzimport set Reference to bz73392.
bzimport added a subscriber: Unknown Object (MLST).
Krenair created this task.Nov 13 2014, 9:59 PM

(04:53:11 PM) Krenair: cscott, is there an ocg bug for formulae going out of the column?
(04:55:03 PM) cscott: Krenair: no, i don't think so. that's a "hard problem" in general.
(04:55:20 PM) Krenair: yeah, I can imagine
(04:56:07 PM) cscott: i think basically i want to parse the latex output and look for the 'too wide' warnings that latex emits when things like that happen, then try to adjust things and run latex in a second pass.
(04:56:58 PM) cscott: Krenair: where "adjust things" might mean "switch to single column mode", at least at first.
(04:57:32 PM) Krenair: won't it just run off the page then?
(04:58:35 PM) cscott: Krenair: yeah, i can't *always* fix it. but there are pages like that are ok in single column mode

This has come up again and I'm wondering if we can make it easy for users to choose the same options for individual downloads as they can with full books (e.g. column count), which would make it easy for users to deal with this themselves in most cases (where the formula isn't too big for the page size).

Aklapper updated the task description. (Show Details)May 25 2015, 8:52 AM
Aklapper set Security to None.
TheDJ added a subscriber: TheDJ.May 25 2015, 10:06 AM

What if for those blocks, we specify

-webkit-column-span: all; /* Chrome, Safari, Opera */
column-span: all;

it might be a bit cluttery on pages with lot's of formulas, but could be enough of an improvement to make it workable ?

Restricted Application added a subscriber: StudiesWorld. · View Herald TranscriptNov 29 2015, 2:05 PM

As already announced in Tech News, OfflineContentGenerator (OCG) will not be used anymore after October 1st, 2017 on Wikimedia sites. OCG will be replaced by Electron. You can read more on