Pass the key for the skin being created to the constructor of a skin. This is just...
authorDaniel Friesen <dantman@users.mediawiki.org>
Mon, 5 Sep 2011 15:30:01 +0000 (15:30 +0000)
committerDaniel Friesen <dantman@users.mediawiki.org>
Mon, 5 Sep 2011 15:30:01 +0000 (15:30 +0000)
includes/Skin.php

index da19a6b..10eba64 100644 (file)
@@ -156,7 +156,7 @@ abstract class Skin extends ContextSource {
                                }
                        }
                }
-               $skin = new $className;
+               $skin = new $className( $key );
                return $skin;
        }