diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2015-06-04 07:31:04 +0200 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2015-06-04 07:58:39 +0200 |
commit | f6d65e533c62f6deb21342d4901ece24497b433e (patch) | |
tree | f28adf0362d14bcd448f7b65a7aaf38650f923aa /includes/resourceloader/ResourceLoaderSiteModule.php | |
parent | c27b2e832fe25651ef2410fae85b41072aae7519 (diff) |
Update to MediaWiki 1.25.1
Diffstat (limited to 'includes/resourceloader/ResourceLoaderSiteModule.php')
-rw-r--r-- | includes/resourceloader/ResourceLoaderSiteModule.php | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/includes/resourceloader/ResourceLoaderSiteModule.php b/includes/resourceloader/ResourceLoaderSiteModule.php index 1d9721aa..19e0baeb 100644 --- a/includes/resourceloader/ResourceLoaderSiteModule.php +++ b/includes/resourceloader/ResourceLoaderSiteModule.php @@ -27,13 +27,10 @@ */ class ResourceLoaderSiteModule extends ResourceLoaderWikiModule { - /* Protected Methods */ - /** - * Gets list of pages used by this module + * Get list of pages used by this module * * @param ResourceLoaderContext $context - * * @return array List of pages */ protected function getPages( ResourceLoaderContext $context ) { @@ -45,18 +42,16 @@ class ResourceLoaderSiteModule extends ResourceLoaderWikiModule { if ( $this->getConfig()->get( 'UseSiteCss' ) ) { $pages['MediaWiki:Common.css'] = array( 'type' => 'style' ); $pages['MediaWiki:' . ucfirst( $context->getSkin() ) . '.css'] = array( 'type' => 'style' ); + $pages['MediaWiki:Print.css'] = array( 'type' => 'style', 'media' => 'print' ); } - $pages['MediaWiki:Print.css'] = array( 'type' => 'style', 'media' => 'print' ); return $pages; } - /* Methods */ - /** - * Gets group name + * Get group name * - * @return string Name of group + * @return string */ public function getGroup() { return 'site'; |