瀏覽代碼

changed and ['skin']['name'] to lowercase. MW seems to completely ignore the skin if there's mixed casing

Garrick van Buren 12 年之前
父節點
當前提交
0d9a9d9939
共有 1 個文件被更改,包括 4 次插入4 次删除
  1. 4 4
      foreground.php

+ 4 - 4
foreground.php

@@ -1,7 +1,7 @@
 <?php
 <?php
 
 
 /**
 /**
- * foreground.com foundation wiki skin.
+ * WikiWonders Foreground Skin
  *
  *
  * @file
  * @file
  * @ingroup Skins
  * @ingroup Skins
@@ -16,13 +16,13 @@ if( ! defined( 'MEDIAWIKI' ))
 
 
 $wgExtensionCredits['skin'][] = array(
 $wgExtensionCredits['skin'][] = array(
     'path'			 => __FILE__,
     'path'			 => __FILE__,
-    'name'			 => 'Foreground',
+    'name'			 => 'foreground',
     'url'			 => 'http://wikiwonders.net/wiki/Foreground',
     'url'			 => 'http://wikiwonders.net/wiki/Foreground',
-    'author'		 => 'Garrick van Buren',
+    'author'		 => 'WikiWonders',
     'descriptionmsg' => 'A MediaWiki skin that focuses on putting your content in the foreground.',
     'descriptionmsg' => 'A MediaWiki skin that focuses on putting your content in the foreground.',
 );
 );
 
 
-$wgValidSkinNames['foreground'] = 'Foreground';
+$wgValidSkinNames['foreground'] = 'foreground';
 $wgAutoloadClasses['Skinforeground'] = __DIR__.'/foreground.skin.php';
 $wgAutoloadClasses['Skinforeground'] = __DIR__.'/foreground.skin.php';
 $wgExtensionMessagesFiles['foreground'] = __DIR__.'/foreground.i18n.php';
 $wgExtensionMessagesFiles['foreground'] = __DIR__.'/foreground.i18n.php';