Explicitly define filepage module position
authorGilles Dubuc <gdubuc@wikimedia.org>
Tue, 26 May 2015 10:11:35 +0000 (12:11 +0200)
committerGilles Dubuc <gdubuc@wikimedia.org>
Tue, 26 May 2015 10:11:35 +0000 (12:11 +0200)
commite88ae33388ea835d85dfbca87a525aeedc30e248
treee9915366656dfc05c7c39079dcad0bf47fcb6946
parent549bfc0ee5c83224c80ddad4970548092b4ffdbf
Explicitly define filepage 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: Id98b9eb46ef56a43bae99830f7db554c90073407
resources/Resources.php