mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-28 09:30:17 +00:00
Toggle logo preloading via the skin
Bug: T100999 Change-Id: Ibef1efcce807b1da4f1723cc8a51038ecb4ce577 Depends-On: I0e18dc7fdbf133f3e4002f48f3040604687571dc
This commit is contained in:
parent
e0c5e55136
commit
1dc22027b7
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue