Transclude.php at line 88 has the section that sets up the array of
parameters for the display of the transcluded page:
$params = array('title' => _("Transcluded page"),
'src' => $src,
'width' => "100%",
'height' => $height,
'marginwidth' => 0,
'marginheight' => 0,
'class' => 'transclude',
"onload" => "adjust_iframe_height(this);");
But if the width parameter is changed (say to 50%) the transcluded page
still shows at 100%. Where is the override? In fact "width="100%"" is what
comes through on the page, yet grepping for "100" in lib and template
doesn't reveal any hard wiring on this. It must be there, but obscure.
In theory shouldn't plugins be able to set their own values for this sort of
thing? Or is there something in the wiki way that mandates the simplicity of
100% page width for all elements?
Presuming I can find where to overcome the width not being currently
settable via the plugin, am I right is surmising that the array should be
open for adding standard parameters, such as "'align' => "right""? It looks
like there's a generic mechanism in place that should allow this, but I
can't test it until I can get past that 100% bottleneck.