Jack Phoenix has uploaded a new change for review. https://gerrit.wikimedia.org/r/218277
Change subject: Version 3.2 for MW 1.25: skin.json file added ...................................................................... Version 3.2 for MW 1.25: skin.json file added Also added the NimbusTemplate class to the autoloader, copied author info etc. from the current main PHP entry point to the main skin file and whatnot. Change-Id: Ibd69dc33a85e6f1c31658151faab83cf453f8fcb --- M Nimbus.php M Nimbus.skin.php A skin.json 3 files changed, 51 insertions(+), 10 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/skins/Nimbus refs/changes/77/218277/1 diff --git a/Nimbus.php b/Nimbus.php index 37f0f6e..98439e1 100644 --- a/Nimbus.php +++ b/Nimbus.php @@ -8,18 +8,10 @@ * @author David Pean <david.p...@gmail.com> * @author Inez Korczyński <korczyn...@gmail.com> * @author Jack Phoenix <j...@countervandalism.net> - * @copyright Copyright © 2008-2014 Aaron Wright, David Pean, Inez Korczyński, Jack Phoenix + * @copyright Copyright © 2008-2015 Aaron Wright, David Pean, Inez Korczyński, Jack Phoenix * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License 2.0 or later - * @date 30 November 2014 - * - * To install place the Nimbus folder (the folder containing this file!) into - * skins/ and add this line to your wiki's LocalSettings.php: - * require_once("$IP/skins/Nimbus/Nimbus.php"); + * @date 15 June 2015 */ - -if( !defined( 'MEDIAWIKI' ) ) { - die( 'Not a valid entry point.' ); -} // Skin credits that will show up on Special:Version $wgExtensionCredits['skin'][] = array( @@ -39,6 +31,8 @@ // Autoload the skin class, set up i18n, set up CSS & JS (via ResourceLoader) $wgAutoloadClasses['SkinNimbus'] = __DIR__ . '/Nimbus.skin.php'; +$wgAutoloadClasses['NimbusTemplate'] = __DIR__ . '/Nimbus.skin.php'; + $wgMessagesDirs['SkinNimbus'] = __DIR__ . '/i18n'; $wgResourceModules['skins.nimbus'] = array( diff --git a/Nimbus.skin.php b/Nimbus.skin.php index e7fb098..861d64f 100644 --- a/Nimbus.skin.php +++ b/Nimbus.skin.php @@ -9,6 +9,12 @@ * it's in a really crappy state currently, but better than nothing. * * @file + * @author Aaron Wright <aaron.wri...@gmail.com> + * @author David Pean <david.p...@gmail.com> + * @author Inez Korczyński <korczyn...@gmail.com> + * @author Jack Phoenix <j...@countervandalism.net> + * @copyright Copyright © 2008-2015 Aaron Wright, David Pean, Inez Korczyński, Jack Phoenix + * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License 2.0 or later */ if ( !defined( 'MEDIAWIKI' ) ) { die( -1 ); diff --git a/skin.json b/skin.json new file mode 100644 index 0000000..764b0a6 --- /dev/null +++ b/skin.json @@ -0,0 +1,41 @@ +{ + "name": "Nimbus", + "version": "3.2", + "author": [ + "Aaron Wright", + "David Pean", + "Inez Korczyński", + "Jack Phoenix" + ], + "url": "https://www.mediawiki.org/wiki/Skin:Nimbus", + "license-name": "GPL-2.0+", + "descriptionmsg": "nimbus-desc", + "type": "skin", + "ValidSkinNames": { + "nimbus": "Nimbus" + }, + "MessagesDirs": { + "SkinNimbus": [ + "i18n" + ] + }, + "AutoloadClasses": { + "NimbusTemplate": "Nimbus.skin.php", + "SkinNimbus": "Nimbus.skin.php" + }, + "ResourceModules": { + "skins.nimbus": { + "styles": { + "skins/Nimbus/nimbus/Nimbus.css": { + "media": "screen" + } + }, + "scripts": [ + "skins/Nimbus/nimbus/Menu.js" + ], + "position": "top" + } + }, + "manifest_version": 1 +} + -- To view, visit https://gerrit.wikimedia.org/r/218277 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ibd69dc33a85e6f1c31658151faab83cf453f8fcb Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/skins/Nimbus Gerrit-Branch: master Gerrit-Owner: Jack Phoenix <j...@countervandalism.net> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits