Bug: T100999
Change-Id: I0e18dc7fdbf133f3e4002f48f3040604687571dc
// jQuery etc. can work correctly.
$response->header( 'X-UA-Compatible: IE=Edge' );
// jQuery etc. can work correctly.
$response->header( 'X-UA-Compatible: IE=Edge' );
- $this->addLogoPreloadLinkHeaders();
+ if ( !$this->mArticleBodyOnly ) {
+ $sk = $this->getSkin();
+
+ if ( $sk->shouldPreloadLogo() ) {
+ $this->addLogoPreloadLinkHeaders();
+ }
+ }
+
$linkHeader = $this->getLinkHeader();
if ( $linkHeader ) {
$response->header( $linkHeader );
$linkHeader = $this->getLinkHeader();
if ( $linkHeader ) {
$response->header( $linkHeader );
+ /**
+ * 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
*/
/**
* @return string HTML
*/