diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-05-01 15:32:59 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-05-01 15:32:59 -0400 |
commit | 6dc1997577fab2c366781fd7048144935afa0012 (patch) | |
tree | 8918d28c7ab4342f0738985e37af1dfc42d0e93a /includes/resourceloader/ResourceLoaderSkinModule.php | |
parent | 150f94f051128f367bc89f6b7e5f57eb2a69fc62 (diff) | |
parent | fa89acd685cb09cdbe1c64cbb721ec64975bbbc1 (diff) |
Merge commit 'fa89acd'
# Conflicts:
# .gitignore
# extensions/ArchInterWiki.sql
Diffstat (limited to 'includes/resourceloader/ResourceLoaderSkinModule.php')
-rw-r--r-- | includes/resourceloader/ResourceLoaderSkinModule.php | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/includes/resourceloader/ResourceLoaderSkinModule.php b/includes/resourceloader/ResourceLoaderSkinModule.php index 3ba63e68..911d9534 100644 --- a/includes/resourceloader/ResourceLoaderSkinModule.php +++ b/includes/resourceloader/ResourceLoaderSkinModule.php @@ -44,13 +44,13 @@ class ResourceLoaderSkinModule extends ResourceLoaderFileModule { '(min-resolution: 1.5dppx), ' . '(min-resolution: 144dpi)' ][] = '.mw-wiki-logo { background-image: ' . - CSSMin::buildUrlValue( $logoHD['1.5x'] ) .';' . + CSSMin::buildUrlValue( $logoHD['1.5x'] ) . ';' . 'background-size: 135px auto; }'; } if ( isset( $logoHD['2x'] ) ) { $styles[ '(-webkit-min-device-pixel-ratio: 2), ' . - '(min--moz-device-pixel-ratio: 2),'. + '(min--moz-device-pixel-ratio: 2),' . '(min-resolution: 2dppx), ' . '(min-resolution: 192dpi)' ][] = '.mw-wiki-logo { background-image: ' . @@ -73,15 +73,6 @@ class ResourceLoaderSkinModule extends ResourceLoaderFileModule { /** * @param $context ResourceLoaderContext - * @return int|mixed - */ - public function getModifiedTime( ResourceLoaderContext $context ) { - $parentMTime = parent::getModifiedTime( $context ); - return max( $parentMTime, $this->getHashMtime( $context ) ); - } - - /** - * @param $context ResourceLoaderContext * @return string: Hash */ public function getModifiedHash( ResourceLoaderContext $context ) { |