Follow up r69516. Hardcode $wgVectorExtraStyles to the vector folder.
authorPlatonides <platonides@users.mediawiki.org>
Wed, 21 Jul 2010 21:54:46 +0000 (21:54 +0000)
committerPlatonides <platonides@users.mediawiki.org>
Wed, 21 Jul 2010 21:54:46 +0000 (21:54 +0000)
skins/Vector.php

index f59f71d..496f872 100644 (file)
@@ -59,7 +59,7 @@ class SkinVector extends SkinTemplate {
                // THIS IS ONLY USEFUL FOR EXPERIMENTING WITH DIFFERNT STYLE OPTIONS! THIS WILL BE REMOVED IN THE NEAR FUTURE.
                if ( is_array( $wgVectorExtraStyles ) ) {
                        foreach ( $wgVectorExtraStyles as $style ) {
-                               $out->addStyle( "{$this->stylename}/$style", 'screen' );
+                               $out->addStyle( "vector/$style", 'screen' );
                        }
                }
        }