From: Derk-Jan Hartman Date: Fri, 16 Jul 2010 14:04:54 +0000 (+0000) Subject: Follow up to r66383. When init of skin fails, make sure to init Vector instead of... X-Git-Tag: 1.31.0-rc.0~36128 X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dmes_infos.php?a=commitdiff_plain;h=837ee9245632a7ec82861d9be29720905f5a4dd9;p=lhc%2Fweb%2Fwiklou.git Follow up to r66383. When init of skin fails, make sure to init Vector instead of Monobook now. --- 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;