r69426 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r69425‎ | r69426 | r69427 >
Date:14:04, 16 July 2010
Author:hartman
Status:ok
Tags:
Comment:
Follow up to r66383. When init of skin fails, make sure to init Vector instead of Monobook now.
Modified paths:
  • /trunk/phase3/includes/Skin.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/Skin.php
@@ -152,8 +152,8 @@
153153 # except by SQL manipulation if a previously valid skin name
154154 # is no longer valid.
155155 wfDebug( "Skin class does not exist: $className\n" );
156 - $className = 'SkinMonobook';
157 - require_once( "{$wgStyleDirectory}/MonoBook.php" );
 156+ $className = 'SkinVector';
 157+ require_once( "{$wgStyleDirectory}/Vector.php" );
158158 }
159159 }
160160 $skin = new $className;

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r66383Being bold and changing the default skin. Monobook est mort, vive le Vector!demon19:50, 13 May 2010

Status & tagging log