Toggle logo preloading via the skin

Bug: T100999
Change-Id: Ibef1efcce807b1da4f1723cc8a51038ecb4ce577
Depends-On: I0e18dc7fdbf133f3e4002f48f3040604687571dc
This commit is contained in:
Gilles Dubuc 2017-05-02 14:59:59 +02:00 committed by Gilles Dubuc
parent e0c5e55136
commit 1dc22027b7

View file

@ -72,4 +72,13 @@ class SkinVector extends SkinTemplate {
public function setupTemplate( $classname, $repository = false, $cache_dir = false ) {
return new $classname( $this->vectorConfig );
}
/**
* Whether the logo should be preloaded with an HTTP link header or not
* @since 1.29
* @return bool
*/
public function shouldPreloadLogo() {
return true;
}
}