X-Git-Url: https://git.cyclocoop.org/admin/?a=blobdiff_plain;f=includes%2Fskins%2FSkin.php;h=7f00767e07d84b403ce68c3445d21bd2a8b90987;hb=13ffd04c5f4c7dde668bfb1312bf829934a912dd;hp=52678d4ea35d717aaa5094231ac353f6afb1022f;hpb=f37977fa151a851824fe52bdf58de187572a8f59;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/skins/Skin.php b/includes/skins/Skin.php index 52678d4ea3..7f00767e07 100644 --- a/includes/skins/Skin.php +++ b/includes/skins/Skin.php @@ -164,8 +164,6 @@ abstract class Skin extends ContextSource { 'content' => [ 'mediawiki.page.ready', ], - // modules that exist for legacy reasons - 'legacy' => ResourceLoaderStartUpModule::getLegacyModules(), // modules relating to search functionality 'search' => [], // modules relating to functionality relating to watching an article @@ -446,6 +444,15 @@ abstract class Skin extends ContextSource { return $wgLogo; } + /** + * Whether the logo should be preloaded with an HTTP link header or not + * @since 1.29 + * @return bool + */ + public function shouldPreloadLogo() { + return false; + } + /** * @return string HTML */