mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-24 06:03:49 +00:00
Explicitly define module position
Style modules currently added through addModuleStyles default to being in the head ("top" position). This is an unhealthy default, since only critical styles that are needed at pageload should be in the head. In order to be able to switch the default to "bottom", existing module positions have to be defined explicitly. Bug: T97410 Change-Id: If3348022bca5eed73dee956d676ace26c4bacafb
This commit is contained in:
parent
b46afcc424
commit
2dfa95be83
|
@ -133,6 +133,7 @@ $commonModuleInfo = array(
|
|||
);
|
||||
|
||||
$wgResourceModules['ext.abuseFilter'] = array(
|
||||
'position' => 'top',
|
||||
'styles' => 'ext.abuseFilter.css',
|
||||
) + $commonModuleInfo;
|
||||
|
||||
|
|
Loading…
Reference in a new issue