From 837ee9245632a7ec82861d9be29720905f5a4dd9 Mon Sep 17 00:00:00 2001 From: Derk-Jan Hartman Date: Fri, 16 Jul 2010 14:04:54 +0000 Subject: [PATCH] Follow up to r66383. When init of skin fails, make sure to init Vector instead of Monobook now. --- includes/Skin.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/Skin.php b/includes/Skin.php index b007050f2b..4dabb9b82f 100644 --- a/includes/Skin.php +++ b/includes/Skin.php @@ -152,8 +152,8 @@ class Skin extends Linker { # except by SQL manipulation if a previously valid skin name # is no longer valid. wfDebug( "Skin class does not exist: $className\n" ); - $className = 'SkinMonobook'; - require_once( "{$wgStyleDirectory}/MonoBook.php" ); + $className = 'SkinVector'; + require_once( "{$wgStyleDirectory}/Vector.php" ); } } $skin = new $className; -- 2.20.1