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 /skins/Vector/SkinVector.php | |
parent | c27b2e832fe25651ef2410fae85b41072aae7519 (diff) |
Update to MediaWiki 1.25.1
Diffstat (limited to 'skins/Vector/SkinVector.php')
-rw-r--r-- | skins/Vector/SkinVector.php | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/skins/Vector/SkinVector.php b/skins/Vector/SkinVector.php index 565c64bb..f5e3634c 100644 --- a/skins/Vector/SkinVector.php +++ b/skins/Vector/SkinVector.php @@ -39,8 +39,6 @@ class SkinVector extends SkinTemplate { $this->vectorConfig = ConfigFactory::getDefaultInstance()->makeConfig( 'vector' ); } - protected static $bodyClasses = array( 'vector-animateLayout' ); - /** * Initializes output page and sets up skin-specific parameters * @param OutputPage $out Object to initialize @@ -79,18 +77,4 @@ class SkinVector extends SkinTemplate { public function setupTemplate( $classname, $repository = false, $cache_dir = false ) { return new $classname( $this->vectorConfig ); } - - /** - * Adds classes to the body element. - * - * @param OutputPage $out - * @param array &$bodyAttrs Array of attributes that will be set on the body element - */ - function addToBodyAttributes( $out, &$bodyAttrs ) { - if ( isset( $bodyAttrs['class'] ) && strlen( $bodyAttrs['class'] ) > 0 ) { - $bodyAttrs['class'] .= ' ' . implode( ' ', static::$bodyClasses ); - } else { - $bodyAttrs['class'] = implode( ' ', static::$bodyClasses ); - } - } } |