Add 'position' => 'bottom' to $wgResourceModules
jamesmontalvo3 opened this issue · comments
James Montalvo commented
In Wiretap.php
need to update $wgResourceModules
to include a position
parameter. Currently the setup is something like:
'resource.name' => $someResourceTemplate + array(
'styles' => 'styles.css',
'scripts' => array(
'script1.js',
'script2.js',
'script3.js',
),
),
It needs to be like:
'resource.name' => $someResourceTemplate + array(
'position' => 'bottom', // added this since "bottom" was default pre-1.26
'styles' => 'styles.css',
'scripts' => array(
'script1.js',
'script2.js',
'script3.js',
),
),