We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In Wiretap.php need to update $wgResourceModules to include a position parameter. Currently the setup is something like:
Wiretap.php
$wgResourceModules
position
'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', ), ),
The text was updated successfully, but these errors were encountered:
Make ResourceLoader compliant with MW1.26 (#11)
303297f
No branches or pull requests
In
Wiretap.php
need to update$wgResourceModules
to include aposition
parameter. Currently the setup is something like:It needs to be like:
The text was updated successfully, but these errors were encountered: