瀏覽代碼

Merge branch 'master' of https://github.com/WikiWonders/Foreground

Garrick van Buren 12 年之前
父節點
當前提交
54575a8271
共有 2 個文件被更改,包括 14 次插入10 次删除
  1. 8 4
      README.md
  2. 6 6
      foreground.php

+ 8 - 4
README.md

@@ -6,14 +6,18 @@ It uses the Zurb Foundation (http://foundation.zurb.com) CSS framework.
 
 ## Installation
 
-Clone this repository to your `skins` directory and add the following line to your `LocalSettings.php` file.
+Clone this repository to your `skins` directory and create a symlink to the main skin file.
 
-    require_once($IP.'/skins/wikiwonders-foreground/foreground.php');
+    ln -s Foreground/foreground.php Foreground.php
 
-Now find the `$wgDefaultSkin` variable and set it to `foreground`.
+Then add the following line to your `LocalSettings.php` file.
+
+    require_once($IP.'/skins/Foreground/foreground.php');
+
+Now find the `$wgDefaultSkin` variable and set it to `Foreground`.
 
 ## License
 
 Copyright 2013 WikiWonders
 
-Released under the GPL
+Released under the GPL

+ 6 - 6
foreground.php

@@ -16,13 +16,13 @@ if( ! defined( 'MEDIAWIKI' ))
 
 $wgExtensionCredits['skin'][] = array(
     'path'			 => __FILE__,
-    'name'			 => 'foreground',
-    'url'			 => '[http://wikiwonders.net]',
-    'author'		 => '[http://wikiwonders.net WikiWonders]',
-    'descriptionmsg' => 'The base WikiWonders skin with Zurbs Foundation atop it',
+    'name'			 => 'Foreground',
+    'url'			 => 'http://wikiwonders.net/wiki/Foreground',
+    'author'		 => 'Garrick van Buren',
+    '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';
 $wgExtensionMessagesFiles['foreground'] = __DIR__.'/foreground.i18n.php';
 
@@ -43,4 +43,4 @@ $wgResourceModules['skins.foreground'] = array(
     ),
     'remoteBasePath' => &$GLOBALS['wgStylePath'],
     'localBasePath' => &$GLOBALS['wgStyleDirectory']
-);
+);