Page MenuHomePhabricator

Make Multi Instance Template's minimizeAll configurable
Closed, ResolvedPublic

Description

There's a JS feature in PF that automatically minimizes all Multi Instance Template (MIT)'s instances if overall height exceeds 800 pixel. This fixed value height should be configurable or allow deactivation. In our use case, we have MITs with textareas where we always want to see all textareas independent of overall height.

Event Timeline

Sorry about the delay - you mentioned this problem before too, but I forgot about it. I just checked in a fix for this, by adding a new global variable, $wgPageFormsHeightForMinimizingInstances. It defaults to 800 (pixels, that is), but you can make the minimizing kick in for a larger size by adding something like this to LocalSettings.php:

$wgPageFormsHeightForMinimizingInstances = 2000;

Or, you can disable minimizing altogether by setting it to a negative value, like:

$wgPageFormsHeightForMinimizingInstances = -1;